ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpdbh6f40u executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_resize_scsi_generated.yml ************************************** 2 plays in /tmp/tmpmb3dyg70/tests/tests_resize_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_resize_scsi_generated.yml:3 Thursday 21 July 2022 17:17:05 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpmb3dyg70/tests/tests_resize_scsi_generated.yml:7 Thursday 21 July 2022 17:17:06 +0000 (0:00:01.353) 0:00:01.365 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:1 Thursday 21 July 2022 17:17:06 +0000 (0:00:00.050) 0:00:01.415 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:20 Thursday 21 July 2022 17:17:07 +0000 (0:00:01.022) 0:00:02.438 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:17:07 +0000 (0:00:00.035) 0:00:02.474 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:17:07 +0000 (0:00:00.032) 0:00:02.507 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:17:08 +0000 (0:00:00.575) 0:00:03.082 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:17:08 +0000 (0:00:00.053) 0:00:03.136 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:17:08 +0000 (0:00:00.031) 0:00:03.167 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:17:08 +0000 (0:00:00.031) 0:00:03.199 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:17:08 +0000 (0:00:00.048) 0:00:03.247 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:17:08 +0000 (0:00:00.018) 0:00:03.266 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:17:10 +0000 (0:00:02.430) 0:00:05.696 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:17:10 +0000 (0:00:00.059) 0:00:05.756 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:17:10 +0000 (0:00:00.060) 0:00:05.817 ********* ok: [/cache/fedora-36.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:17:11 +0000 (0:00:00.795) 0:00:06.612 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 17:17:11 +0000 (0:00:00.045) 0:00:06.658 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 17:17:11 +0000 (0:00:00.081) 0:00:06.740 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 17:17:11 +0000 (0:00:00.033) 0:00:06.773 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:17:11 +0000 (0:00:00.039) 0:00:06.812 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:17:13 +0000 (0:00:01.849) 0:00:08.662 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "bluetooth.service": { "name": "bluetooth.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-os-release.service": { "name": "console-login-helper-messages-gensnippet-os-release.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-ssh-keys.service": { "name": "console-login-helper-messages-gensnippet-ssh-keys.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.bluez.service": { "name": "dbus-org.bluez.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.oom1.service": { "name": "dbus-org.freedesktop.oom1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.resolve1.service": { "name": "dbus-org.freedesktop.resolve1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown-onfailure.service": { "name": "dracut-shutdown-onfailure.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "stopped", "status": "static" }, "fwupd-offline-update.service": { "name": "fwupd-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd-refresh.service": { "name": "fwupd-refresh.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd.service": { "name": "fwupd.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "pcscd.service": { "name": "pcscd.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "stopped", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpmdb-migrate.service": { "name": "rpmdb-migrate.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "selinux-check-proper-disable.service": { "name": "selinux-check-proper-disable.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bless-boot.service": { "name": "systemd-bless-boot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-boot-system-token.service": { "name": "systemd-boot-system-token.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-boot-update.service": { "name": "systemd-boot-update.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-disk-by\\x2duuid-FAAC\\x2dBFC8.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-FAAC\\x2dBFC8.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-disk-by\\x2duuid-cb4982f0\\x2dd861\\x2d4106\\x2dada7\\x2daaeba17ae2bb.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-cb4982f0\\x2dd861\\x2d4106\\x2dada7\\x2daaeba17ae2bb.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-homed-activate.service": { "name": "systemd-homed-activate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-homed.service": { "name": "systemd-homed.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-networkd.service": { "name": "systemd-networkd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-oomd.service": { "name": "systemd-oomd.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-time-wait-sync.service": { "name": "systemd-time-wait-sync.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-userdbd.service": { "name": "systemd-userdbd.service", "source": "systemd", "state": "running", "status": "indirect" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-zram-setup@.service": { "name": "systemd-zram-setup@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-zram-setup@zram0.service": { "name": "systemd-zram-setup@zram0.service", "source": "systemd", "state": "stopped", "status": "active" }, "udisks2.service": { "name": "udisks2.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:17:16 +0000 (0:00:02.263) 0:00:10.925 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:17:16 +0000 (0:00:00.057) 0:00:10.983 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:17:16 +0000 (0:00:00.021) 0:00:11.005 ********* ok: [/cache/fedora-36.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:17:16 +0000 (0:00:00.577) 0:00:11.583 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:17:16 +0000 (0:00:00.036) 0:00:11.620 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:17:16 +0000 (0:00:00.022) 0:00:11.642 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:17:16 +0000 (0:00:00.036) 0:00:11.679 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:17:16 +0000 (0:00:00.036) 0:00:11.715 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:17:16 +0000 (0:00:00.035) 0:00:11.751 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:17:16 +0000 (0:00:00.035) 0:00:11.787 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:17:16 +0000 (0:00:00.025) 0:00:11.812 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:17:17 +0000 (0:00:00.037) 0:00:11.850 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:17:17 +0000 (0:00:00.025) 0:00:11.875 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:17:17 +0000 (0:00:00.548) 0:00:12.424 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:17:17 +0000 (0:00:00.023) 0:00:12.448 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:23 Thursday 21 July 2022 17:17:18 +0000 (0:00:00.957) 0:00:13.406 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:30 Thursday 21 July 2022 17:17:18 +0000 (0:00:00.030) 0:00:13.436 ********* included: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml for /cache/fedora-36.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml:2 Thursday 21 July 2022 17:17:18 +0000 (0:00:00.034) 0:00:13.471 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml:9 Thursday 21 July 2022 17:17:20 +0000 (0:00:01.559) 0:00:15.030 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml:14 Thursday 21 July 2022 17:17:20 +0000 (0:00:00.037) 0:00:15.068 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml:19 Thursday 21 July 2022 17:17:20 +0000 (0:00:00.040) 0:00:15.108 ********* ok: [/cache/fedora-36.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create one LVM logical volume with "5g" under one volume group] ********** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:37 Thursday 21 July 2022 17:17:20 +0000 (0:00:00.037) 0:00:15.145 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:17:20 +0000 (0:00:00.047) 0:00:15.193 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:17:20 +0000 (0:00:00.036) 0:00:15.229 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:17:20 +0000 (0:00:00.552) 0:00:15.781 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:17:21 +0000 (0:00:00.065) 0:00:15.847 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:17:21 +0000 (0:00:00.033) 0:00:15.881 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:17:21 +0000 (0:00:00.034) 0:00:15.916 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:17:21 +0000 (0:00:00.050) 0:00:15.966 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:17:21 +0000 (0:00:00.022) 0:00:15.989 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:17:21 +0000 (0:00:00.037) 0:00:16.026 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:17:21 +0000 (0:00:00.038) 0:00:16.065 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:17:21 +0000 (0:00:00.035) 0:00:16.101 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:17:21 +0000 (0:00:00.028) 0:00:16.129 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:17:21 +0000 (0:00:00.028) 0:00:16.158 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:17:21 +0000 (0:00:00.030) 0:00:16.189 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:17:21 +0000 (0:00:00.029) 0:00:16.218 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:17:21 +0000 (0:00:00.089) 0:00:16.308 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:17:21 +0000 (0:00:00.023) 0:00:16.332 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "lvm2", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:17:24 +0000 (0:00:02.779) 0:00:19.111 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:17:24 +0000 (0:00:00.036) 0:00:19.147 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:17:24 +0000 (0:00:00.022) 0:00:19.170 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "lvm2", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:17:24 +0000 (0:00:00.038) 0:00:19.208 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:17:24 +0000 (0:00:00.038) 0:00:19.247 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:17:24 +0000 (0:00:00.034) 0:00:19.281 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:17:24 +0000 (0:00:00.035) 0:00:19.317 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:17:25 +0000 (0:00:01.002) 0:00:20.319 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:17:26 +0000 (0:00:00.592) 0:00:20.912 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:17:26 +0000 (0:00:00.772) 0:00:21.684 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:17:27 +0000 (0:00:00.437) 0:00:22.122 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:17:27 +0000 (0:00:00.024) 0:00:22.146 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:52 Thursday 21 July 2022 17:17:28 +0000 (0:00:00.966) 0:00:23.112 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:17:28 +0000 (0:00:00.042) 0:00:23.155 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:17:28 +0000 (0:00:00.054) 0:00:23.210 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:17:28 +0000 (0:00:00.035) 0:00:23.245 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "ea9beaf3-cf64-4fc1-8448-fd96ecb17a52" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "GVJJuy-w8sq-2qIu-tLa2-RsjJ-Akog-VzceZF" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-16-52-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:17:28 +0000 (0:00:00.561) 0:00:23.806 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003888", "end": "2022-07-21 17:17:29.310898", "rc": 0, "start": "2022-07-21 17:17:29.307010" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:17:29 +0000 (0:00:00.558) 0:00:24.365 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003670", "end": "2022-07-21 17:17:29.773816", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:17:29.770146" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:17:30 +0000 (0:00:00.494) 0:00:24.859 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:17:30 +0000 (0:00:00.059) 0:00:24.918 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:17:30 +0000 (0:00:00.033) 0:00:24.952 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:17:30 +0000 (0:00:00.046) 0:00:24.998 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:17:30 +0000 (0:00:00.053) 0:00:25.052 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:17:30 +0000 (0:00:00.521) 0:00:25.574 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:17:30 +0000 (0:00:00.054) 0:00:25.628 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:17:30 +0000 (0:00:00.050) 0:00:25.679 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:17:30 +0000 (0:00:00.050) 0:00:25.730 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:17:30 +0000 (0:00:00.042) 0:00:25.772 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.056) 0:00:25.829 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.025) 0:00:25.854 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.044) 0:00:25.899 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.045) 0:00:25.945 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.024) 0:00:25.969 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.024) 0:00:25.994 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.022) 0:00:26.017 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.024) 0:00:26.042 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.024) 0:00:26.067 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.026) 0:00:26.093 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.023) 0:00:26.116 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.036) 0:00:26.152 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.046) 0:00:26.199 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.043) 0:00:26.242 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.029) 0:00:26.272 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.029) 0:00:26.302 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.028) 0:00:26.330 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.046) 0:00:26.376 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.088) 0:00:26.465 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.024) 0:00:26.490 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.023) 0:00:26.513 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.024) 0:00:26.538 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.025) 0:00:26.563 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.047) 0:00:26.611 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.051) 0:00:26.663 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.027) 0:00:26.691 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.043) 0:00:26.734 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.048) 0:00:26.783 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.050) 0:00:26.834 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.036) 0:00:26.870 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.041) 0:00:26.912 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.038) 0:00:26.950 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.037) 0:00:26.987 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.037) 0:00:27.024 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.051) 0:00:27.076 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.046) 0:00:27.122 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.023) 0:00:27.146 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.029) 0:00:27.176 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.028) 0:00:27.204 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.026) 0:00:27.231 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.023) 0:00:27.255 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.025) 0:00:27.280 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.022) 0:00:27.302 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.035) 0:00:27.338 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.034) 0:00:27.373 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.044) 0:00:27.418 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.050) 0:00:27.469 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.084) 0:00:27.553 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.093) 0:00:27.646 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1199010, "block_size": 4096, "block_total": 1268648, "block_used": 69638, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911144960, "size_total": 5196382208, "uuid": "ea9beaf3-cf64-4fc1-8448-fd96ecb17a52" } ], "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": "ea9beaf3-cf64-4fc1-8448-fd96ecb17a52" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.108) 0:00:27.755 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.057) 0:00:27.812 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:17:33 +0000 (0:00:00.051) 0:00:27.864 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:17:33 +0000 (0:00:00.049) 0:00:27.913 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:17:33 +0000 (0:00:00.025) 0:00:27.939 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:17:33 +0000 (0:00:00.025) 0:00:27.964 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:17:33 +0000 (0:00:00.024) 0:00:27.989 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:17:33 +0000 (0:00:00.034) 0:00:28.024 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:17:33 +0000 (0:00:00.063) 0:00:28.087 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:17:33 +0000 (0:00:00.050) 0:00:28.137 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:17:33 +0000 (0:00:00.050) 0:00:28.188 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:17:33 +0000 (0:00:00.035) 0:00:28.223 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:17:33 +0000 (0:00:00.033) 0:00:28.256 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:17:33 +0000 (0:00:00.041) 0:00:28.298 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:17:33 +0000 (0:00:00.040) 0:00:28.339 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423845.8863294, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423843.9633293, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 856, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423843.9633293, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:17:33 +0000 (0:00:00.426) 0:00:28.766 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:17:33 +0000 (0:00:00.041) 0:00:28.807 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:17:34 +0000 (0:00:00.039) 0:00:28.847 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:17:34 +0000 (0:00:00.039) 0:00:28.887 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:17:34 +0000 (0:00:00.025) 0:00:28.912 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:17:34 +0000 (0:00:00.042) 0:00:28.955 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:17:34 +0000 (0:00:00.024) 0:00:28.979 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:17:35 +0000 (0:00:01.840) 0:00:30.820 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.024) 0:00:30.845 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.024) 0:00:30.869 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.052) 0:00:30.922 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.023) 0:00:30.946 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.023) 0:00:30.969 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.023) 0:00:30.993 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.054) 0:00:31.048 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.025) 0:00:31.073 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.052) 0:00:31.126 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.049) 0:00:31.175 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.042) 0:00:31.218 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.044) 0:00:31.262 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.037) 0:00:31.300 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.036) 0:00:31.336 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.035) 0:00:31.371 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.034) 0:00:31.406 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.036) 0:00:31.442 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.037) 0:00:31.480 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.033) 0:00:31.514 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.038) 0:00:31.553 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:17:36 +0000 (0:00:00.037) 0:00:31.590 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:17:37 +0000 (0:00:00.547) 0:00:32.138 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:17:37 +0000 (0:00:00.424) 0:00:32.562 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:17:37 +0000 (0:00:00.050) 0:00:32.613 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:17:37 +0000 (0:00:00.034) 0:00:32.647 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:17:37 +0000 (0:00:00.037) 0:00:32.685 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:17:37 +0000 (0:00:00.034) 0:00:32.720 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:17:37 +0000 (0:00:00.035) 0:00:32.755 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:17:37 +0000 (0:00:00.038) 0:00:32.793 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:17:38 +0000 (0:00:00.038) 0:00:32.832 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:17:38 +0000 (0:00:00.035) 0:00:32.867 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:17:38 +0000 (0:00:00.035) 0:00:32.902 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:17:38 +0000 (0:00:00.049) 0:00:32.951 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.041081", "end": "2022-07-21 17:17:38.347065", "rc": 0, "start": "2022-07-21 17:17:38.305984" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:17:38 +0000 (0:00:00.450) 0:00:33.402 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:17:38 +0000 (0:00:00.089) 0:00:33.492 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:17:38 +0000 (0:00:00.053) 0:00:33.545 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:17:38 +0000 (0:00:00.038) 0:00:33.584 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:17:38 +0000 (0:00:00.038) 0:00:33.623 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:17:38 +0000 (0:00:00.037) 0:00:33.661 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:17:38 +0000 (0:00:00.070) 0:00:33.732 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:17:38 +0000 (0:00:00.034) 0:00:33.766 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:17:38 +0000 (0:00:00.024) 0:00:33.790 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume_size to "9g"] ********************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:54 Thursday 21 July 2022 17:17:39 +0000 (0:00:00.040) 0:00:33.830 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:17:39 +0000 (0:00:00.047) 0:00:33.878 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:17:39 +0000 (0:00:00.036) 0:00:33.915 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:17:39 +0000 (0:00:00.564) 0:00:34.479 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:17:39 +0000 (0:00:00.064) 0:00:34.544 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:17:39 +0000 (0:00:00.034) 0:00:34.578 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:17:39 +0000 (0:00:00.033) 0:00:34.611 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:17:39 +0000 (0:00:00.043) 0:00:34.655 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:17:39 +0000 (0:00:00.019) 0:00:34.675 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:17:39 +0000 (0:00:00.025) 0:00:34.700 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:17:39 +0000 (0:00:00.035) 0:00:34.736 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:17:39 +0000 (0:00:00.040) 0:00:34.777 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:17:39 +0000 (0:00:00.029) 0:00:34.806 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:17:40 +0000 (0:00:00.026) 0:00:34.832 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:17:40 +0000 (0:00:00.030) 0:00:34.863 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:17:40 +0000 (0:00:00.026) 0:00:34.889 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:17:40 +0000 (0:00:00.056) 0:00:34.945 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:17:40 +0000 (0:00:00.027) 0:00:34.973 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:17:42 +0000 (0:00:02.676) 0:00:37.650 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:17:42 +0000 (0:00:00.038) 0:00:37.688 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:17:42 +0000 (0:00:00.022) 0:00:37.711 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:17:42 +0000 (0:00:00.042) 0:00:37.754 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:17:42 +0000 (0:00:00.038) 0:00:37.793 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:17:43 +0000 (0:00:00.039) 0:00:37.832 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:17:43 +0000 (0:00:00.037) 0:00:37.869 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:17:43 +0000 (0:00:00.771) 0:00:38.641 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:17:44 +0000 (0:00:00.460) 0:00:39.101 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:17:45 +0000 (0:00:00.748) 0:00:39.849 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:17:45 +0000 (0:00:00.409) 0:00:40.259 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:17:45 +0000 (0:00:00.024) 0:00:40.283 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:68 Thursday 21 July 2022 17:17:46 +0000 (0:00:00.979) 0:00:41.263 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:17:46 +0000 (0:00:00.043) 0:00:41.306 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:17:46 +0000 (0:00:00.055) 0:00:41.362 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:17:46 +0000 (0:00:00.036) 0:00:41.399 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "ea9beaf3-cf64-4fc1-8448-fd96ecb17a52" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "GVJJuy-w8sq-2qIu-tLa2-RsjJ-Akog-VzceZF" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-16-52-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:17:47 +0000 (0:00:00.473) 0:00:41.872 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003213", "end": "2022-07-21 17:17:47.234224", "rc": 0, "start": "2022-07-21 17:17:47.231011" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:17:47 +0000 (0:00:00.414) 0:00:42.286 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003671", "end": "2022-07-21 17:17:47.664268", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:17:47.660597" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:17:47 +0000 (0:00:00.433) 0:00:42.720 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:17:47 +0000 (0:00:00.062) 0:00:42.783 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:17:47 +0000 (0:00:00.034) 0:00:42.818 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.049) 0:00:42.867 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.055) 0:00:42.923 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.424) 0:00:43.347 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.050) 0:00:43.397 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.052) 0:00:43.450 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.047) 0:00:43.497 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.036) 0:00:43.534 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.049) 0:00:43.583 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.026) 0:00:43.610 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.044) 0:00:43.654 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.043) 0:00:43.698 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.024) 0:00:43.722 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.025) 0:00:43.748 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.024) 0:00:43.773 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.053) 0:00:43.827 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.028) 0:00:43.855 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.029) 0:00:43.884 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.026) 0:00:43.911 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.037) 0:00:43.948 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.046) 0:00:43.995 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.046) 0:00:44.041 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.031) 0:00:44.072 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.027) 0:00:44.100 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.026) 0:00:44.127 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.047) 0:00:44.174 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.045) 0:00:44.220 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.026) 0:00:44.246 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.024) 0:00:44.271 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.025) 0:00:44.296 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.026) 0:00:44.323 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.049) 0:00:44.372 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.051) 0:00:44.423 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.029) 0:00:44.453 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.047) 0:00:44.500 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.056) 0:00:44.557 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.052) 0:00:44.609 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.037) 0:00:44.647 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.038) 0:00:44.685 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.039) 0:00:44.725 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.035) 0:00:44.761 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.037) 0:00:44.798 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.049) 0:00:44.848 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.045) 0:00:44.894 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.025) 0:00:44.920 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.026) 0:00:44.946 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.025) 0:00:44.972 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.026) 0:00:44.998 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.024) 0:00:45.023 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.072) 0:00:45.095 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.026) 0:00:45.121 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.037) 0:00:45.159 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.037) 0:00:45.196 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.045) 0:00:45.241 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.049) 0:00:45.290 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.084) 0:00:45.375 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.041) 0:00:45.416 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2178069, "block_size": 4096, "block_total": 2300135, "block_used": 122066, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8921370624, "size_total": 9421352960, "uuid": "ea9beaf3-cf64-4fc1-8448-fd96ecb17a52" } ], "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": "ea9beaf3-cf64-4fc1-8448-fd96ecb17a52" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.054) 0:00:45.471 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.052) 0:00:45.524 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.052) 0:00:45.576 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.051) 0:00:45.628 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.024) 0:00:45.652 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.025) 0:00:45.678 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.027) 0:00:45.705 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.034) 0:00:45.739 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.060) 0:00:45.800 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.053) 0:00:45.853 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.052) 0:00:45.906 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.045) 0:00:45.951 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.034) 0:00:45.986 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.044) 0:00:46.030 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.041) 0:00:46.072 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423864.0423293, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423862.5143292, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 856, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423862.5143292, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.428) 0:00:46.501 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.039) 0:00:46.541 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.038) 0:00:46.579 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.035) 0:00:46.615 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.023) 0:00:46.638 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.044) 0:00:46.683 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.024) 0:00:46.707 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:17:53 +0000 (0:00:01.858) 0:00:48.566 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.024) 0:00:48.590 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.025) 0:00:48.616 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.053) 0:00:48.669 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.025) 0:00:48.695 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.023) 0:00:48.719 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.024) 0:00:48.743 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.025) 0:00:48.768 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.023) 0:00:48.791 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.049) 0:00:48.841 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.051) 0:00:48.893 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.035) 0:00:48.928 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.037) 0:00:48.966 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.038) 0:00:49.004 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.039) 0:00:49.044 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.039) 0:00:49.083 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.037) 0:00:49.121 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.036) 0:00:49.158 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.040) 0:00:49.198 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.036) 0:00:49.235 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.038) 0:00:49.273 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.039) 0:00:49.312 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.412) 0:00:49.725 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.427) 0:00:50.153 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.061) 0:00:50.214 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.036) 0:00:50.251 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.040) 0:00:50.291 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.036) 0:00:50.328 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.039) 0:00:50.367 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.039) 0:00:50.406 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.037) 0:00:50.444 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.071) 0:00:50.515 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.035) 0:00:50.550 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.084) 0:00:50.635 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.041344", "end": "2022-07-21 17:17:56.081234", "rc": 0, "start": "2022-07-21 17:17:56.039890" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.499) 0:00:51.134 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.090) 0:00:51.225 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.126) 0:00:51.352 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.039) 0:00:51.392 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.038) 0:00:51.430 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.038) 0:00:51.468 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.036) 0:00:51.505 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.036) 0:00:51.542 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.021) 0:00:51.563 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:70 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.039) 0:00:51.603 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.055) 0:00:51.658 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.037) 0:00:51.696 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.566) 0:00:52.263 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.062) 0:00:52.325 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.035) 0:00:52.360 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.033) 0:00:52.394 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.045) 0:00:52.440 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.020) 0:00:52.460 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.027) 0:00:52.488 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.037) 0:00:52.525 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.038) 0:00:52.564 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.030) 0:00:52.595 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.027) 0:00:52.623 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.026) 0:00:52.649 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.026) 0:00:52.676 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.058) 0:00:52.734 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.024) 0:00:52.759 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "lvm2", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:18:00 +0000 (0:00:02.600) 0:00:55.360 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.039) 0:00:55.399 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.021) 0:00:55.421 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "lvm2", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.040) 0:00:55.462 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.038) 0:00:55.501 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.034) 0:00:55.535 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.039) 0:00:55.575 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:18:01 +0000 (0:00:00.760) 0:00:56.335 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:18:01 +0000 (0:00:00.478) 0:00:56.814 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.805) 0:00:57.620 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:18:03 +0000 (0:00:00.425) 0:00:58.045 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:18:03 +0000 (0:00:00.024) 0:00:58.070 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:84 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.973) 0:00:59.043 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.046) 0:00:59.090 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.080) 0:00:59.171 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.094) 0:00:59.265 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "ea9beaf3-cf64-4fc1-8448-fd96ecb17a52" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "GVJJuy-w8sq-2qIu-tLa2-RsjJ-Akog-VzceZF" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-16-52-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.424) 0:00:59.690 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003259", "end": "2022-07-21 17:18:05.047272", "rc": 0, "start": "2022-07-21 17:18:05.044013" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:18:05 +0000 (0:00:00.415) 0:01:00.106 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004590", "end": "2022-07-21 17:18:06.474910", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:18:05.470320" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:18:06 +0000 (0:00:01.427) 0:01:01.534 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:18:06 +0000 (0:00:00.065) 0:01:01.599 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:18:06 +0000 (0:00:00.039) 0:01:01.638 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:18:06 +0000 (0:00:00.050) 0:01:01.689 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:18:06 +0000 (0:00:00.058) 0:01:01.748 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:18:07 +0000 (0:00:00.417) 0:01:02.165 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:18:07 +0000 (0:00:00.052) 0:01:02.218 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:18:07 +0000 (0:00:00.053) 0:01:02.271 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:18:07 +0000 (0:00:00.052) 0:01:02.324 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:18:07 +0000 (0:00:00.086) 0:01:02.411 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:18:07 +0000 (0:00:00.052) 0:01:02.463 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:18:07 +0000 (0:00:00.025) 0:01:02.489 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:18:07 +0000 (0:00:00.081) 0:01:02.571 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:18:07 +0000 (0:00:00.045) 0:01:02.617 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:18:07 +0000 (0:00:00.026) 0:01:02.643 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:18:07 +0000 (0:00:00.027) 0:01:02.671 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:18:07 +0000 (0:00:00.066) 0:01:02.737 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:18:07 +0000 (0:00:00.026) 0:01:02.764 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:18:07 +0000 (0:00:00.024) 0:01:02.789 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:18:07 +0000 (0:00:00.025) 0:01:02.814 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.027) 0:01:02.842 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.037) 0:01:02.879 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.048) 0:01:02.927 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.043) 0:01:02.971 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.030) 0:01:03.001 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.031) 0:01:03.033 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.028) 0:01:03.061 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.045) 0:01:03.106 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.049) 0:01:03.155 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.026) 0:01:03.182 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.025) 0:01:03.207 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.024) 0:01:03.231 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.023) 0:01:03.255 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.045) 0:01:03.300 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.051) 0:01:03.352 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.029) 0:01:03.382 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.045) 0:01:03.427 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.048) 0:01:03.476 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.052) 0:01:03.528 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.038) 0:01:03.566 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.041) 0:01:03.608 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.038) 0:01:03.647 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.036) 0:01:03.684 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.041) 0:01:03.726 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.056) 0:01:03.782 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.048) 0:01:03.830 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.025) 0:01:03.856 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.024) 0:01:03.880 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.024) 0:01:03.904 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.027) 0:01:03.932 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.070) 0:01:04.002 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.027) 0:01:04.030 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.025) 0:01:04.056 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.034) 0:01:04.090 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.041) 0:01:04.132 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.046) 0:01:04.179 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.054) 0:01:04.234 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.082) 0:01:04.316 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.043) 0:01:04.360 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1199011, "block_size": 4096, "block_total": 1268648, "block_used": 69637, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911149056, "size_total": 5196382208, "uuid": "ea9beaf3-cf64-4fc1-8448-fd96ecb17a52" } ], "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": "ea9beaf3-cf64-4fc1-8448-fd96ecb17a52" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.069) 0:01:04.429 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.055) 0:01:04.485 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.050) 0:01:04.536 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.053) 0:01:04.589 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.027) 0:01:04.616 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.025) 0:01:04.642 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.026) 0:01:04.668 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.037) 0:01:04.706 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.065) 0:01:04.771 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.048) 0:01:04.820 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:18:10 +0000 (0:00:00.048) 0:01:04.869 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:18:10 +0000 (0:00:00.036) 0:01:04.905 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:18:10 +0000 (0:00:00.032) 0:01:04.938 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:18:10 +0000 (0:00:00.038) 0:01:04.977 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:18:10 +0000 (0:00:00.043) 0:01:05.020 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423881.7533293, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423880.2243292, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 856, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423880.2243292, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:18:10 +0000 (0:00:00.444) 0:01:05.465 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:18:10 +0000 (0:00:00.040) 0:01:05.505 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:18:10 +0000 (0:00:00.041) 0:01:05.547 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:18:10 +0000 (0:00:00.040) 0:01:05.588 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:18:10 +0000 (0:00:00.026) 0:01:05.614 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:18:10 +0000 (0:00:00.079) 0:01:05.694 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:18:10 +0000 (0:00:00.027) 0:01:05.721 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:18:12 +0000 (0:00:01.843) 0:01:07.564 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:18:12 +0000 (0:00:00.024) 0:01:07.588 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:18:12 +0000 (0:00:00.023) 0:01:07.612 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:18:12 +0000 (0:00:00.052) 0:01:07.665 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:18:12 +0000 (0:00:00.036) 0:01:07.702 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:18:12 +0000 (0:00:00.024) 0:01:07.727 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:18:12 +0000 (0:00:00.026) 0:01:07.753 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:18:12 +0000 (0:00:00.025) 0:01:07.779 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:18:12 +0000 (0:00:00.027) 0:01:07.806 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.055) 0:01:07.862 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.053) 0:01:07.915 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.038) 0:01:07.954 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.038) 0:01:07.992 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.035) 0:01:08.028 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.037) 0:01:08.065 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.040) 0:01:08.106 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.040) 0:01:08.147 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.039) 0:01:08.187 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.039) 0:01:08.226 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.049) 0:01:08.276 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.037) 0:01:08.314 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.039) 0:01:08.354 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.418) 0:01:08.772 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.481) 0:01:09.254 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.051) 0:01:09.305 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.038) 0:01:09.344 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.038) 0:01:09.382 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.038) 0:01:09.421 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.100) 0:01:09.521 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.040) 0:01:09.562 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.040) 0:01:09.602 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.040) 0:01:09.643 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.036) 0:01:09.680 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.054) 0:01:09.734 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.041429", "end": "2022-07-21 17:18:15.142368", "rc": 0, "start": "2022-07-21 17:18:15.100939" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.464) 0:01:10.199 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.051) 0:01:10.251 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.053) 0:01:10.305 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.039) 0:01:10.345 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.037) 0:01:10.382 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.039) 0:01:10.422 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.038) 0:01:10.460 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.037) 0:01:10.497 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.022) 0:01:10.520 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create LVM with a too-large volume size, resize to "12884901888.0"] *** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:88 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.056) 0:01:10.576 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.040) 0:01:10.617 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.034) 0:01:10.652 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.560) 0:01:11.212 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.064) 0:01:11.277 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.035) 0:01:11.312 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.041) 0:01:11.354 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.056) 0:01:11.410 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.021) 0:01:11.432 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.028) 0:01:11.460 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "12884901888.0" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.041) 0:01:11.502 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.035) 0:01:11.538 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.030) 0:01:11.569 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.030) 0:01:11.599 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.079) 0:01:11.679 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.028) 0:01:11.708 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.047) 0:01:11.755 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.021) 0:01:11.777 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' cannot be resized to '12 GiB' TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 17:18:19 +0000 (0:00:02.097) 0:01:13.874 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' cannot be resized to '12 GiB'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '12884901888.0', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.040) 0:01:13.914 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:106 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.023) 0:01:13.938 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:112 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.039) 0:01:13.978 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Try to create LVM with volume size equal disk's size, resize to "10737418240"] *** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:121 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.046) 0:01:14.025 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.043) 0:01:14.068 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.036) 0:01:14.105 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.574) 0:01:14.679 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.067) 0:01:14.746 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.037) 0:01:14.784 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.036) 0:01:14.821 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.050) 0:01:14.871 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.022) 0:01:14.893 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.030) 0:01:14.924 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "10737418240" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.043) 0:01:14.967 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.072) 0:01:15.039 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.028) 0:01:15.068 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.026) 0:01:15.095 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.029) 0:01:15.125 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.028) 0:01:15.154 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.082) 0:01:15.236 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.023) 0:01:15.259 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:18:23 +0000 (0:00:02.715) 0:01:17.975 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.026) 0:01:18.001 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.023) 0:01:18.024 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.051) 0:01:18.076 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.047) 0:01:18.124 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.037) 0:01:18.162 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.032) 0:01:18.194 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:18:24 +0000 (0:00:00.773) 0:01:18.968 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:18:24 +0000 (0:00:00.460) 0:01:19.429 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.773) 0:01:20.203 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.415) 0:01:20.619 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.023) 0:01:20.642 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:134 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.976) 0:01:21.618 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.038) 0:01:21.657 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.043) 0:01:21.700 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.027) 0:01:21.727 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "10G", "type": "lvm", "uuid": "ea9beaf3-cf64-4fc1-8448-fd96ecb17a52" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "GVJJuy-w8sq-2qIu-tLa2-RsjJ-Akog-VzceZF" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-16-52-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:18:27 +0000 (0:00:00.478) 0:01:22.205 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003685", "end": "2022-07-21 17:18:27.573607", "rc": 0, "start": "2022-07-21 17:18:27.569922" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:18:27 +0000 (0:00:00.423) 0:01:22.628 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003248", "end": "2022-07-21 17:18:28.038700", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:18:28.035452" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.464) 0:01:23.093 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.053) 0:01:23.147 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.095) 0:01:23.242 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.055) 0:01:23.298 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.045) 0:01:23.343 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.419) 0:01:23.762 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.040) 0:01:23.803 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.040) 0:01:23.843 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.043) 0:01:23.887 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.042) 0:01:23.929 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.044) 0:01:23.974 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.026) 0:01:24.000 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.046) 0:01:24.047 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.044) 0:01:24.092 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.025) 0:01:24.117 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.024) 0:01:24.142 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.024) 0:01:24.167 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.024) 0:01:24.191 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.023) 0:01:24.214 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.023) 0:01:24.237 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.024) 0:01:24.262 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.036) 0:01:24.299 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.048) 0:01:24.347 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.047) 0:01:24.394 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.030) 0:01:24.424 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.027) 0:01:24.452 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.028) 0:01:24.480 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.044) 0:01:24.524 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.044) 0:01:24.568 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.023) 0:01:24.592 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.023) 0:01:24.615 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.025) 0:01:24.641 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.072) 0:01:24.714 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.048) 0:01:24.762 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.042) 0:01:24.805 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.031) 0:01:24.836 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.044) 0:01:24.881 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.042) 0:01:24.923 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.044) 0:01:24.968 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.027) 0:01:24.996 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.025) 0:01:25.022 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.028) 0:01:25.050 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.039) 0:01:25.089 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.033) 0:01:25.123 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.046) 0:01:25.169 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.047) 0:01:25.216 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.026) 0:01:25.243 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.025) 0:01:25.269 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.025) 0:01:25.294 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.023) 0:01:25.318 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.023) 0:01:25.341 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.024) 0:01:25.366 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.027) 0:01:25.393 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.033) 0:01:25.427 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.034) 0:01:25.461 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.046) 0:01:25.508 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.040) 0:01:25.548 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.080) 0:01:25.629 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.040) 0:01:25.670 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2422023, "block_size": 4096, "block_total": 2557143, "block_used": 135120, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9920606208, "size_total": 10474057728, "uuid": "ea9beaf3-cf64-4fc1-8448-fd96ecb17a52" } ], "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": "ea9beaf3-cf64-4fc1-8448-fd96ecb17a52" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.048) 0:01:25.718 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.039) 0:01:25.758 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.038) 0:01:25.797 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.038) 0:01:25.836 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.024) 0:01:25.861 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.024) 0:01:25.885 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.023) 0:01:25.908 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.083) 0:01:25.991 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.105) 0:01:26.097 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.043) 0:01:26.141 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.044) 0:01:26.185 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.034) 0:01:26.219 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.034) 0:01:26.254 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.041) 0:01:26.295 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.044) 0:01:26.340 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423904.3693292, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423902.8693292, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 856, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423902.8693292, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.453) 0:01:26.794 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:18:32 +0000 (0:00:00.042) 0:01:26.836 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:18:32 +0000 (0:00:00.042) 0:01:26.879 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:18:32 +0000 (0:00:00.038) 0:01:26.918 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:18:32 +0000 (0:00:00.023) 0:01:26.941 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:18:32 +0000 (0:00:00.038) 0:01:26.979 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:18:32 +0000 (0:00:00.023) 0:01:27.003 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:18:33 +0000 (0:00:01.812) 0:01:28.815 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.024) 0:01:28.840 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.026) 0:01:28.866 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.043) 0:01:28.910 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.023) 0:01:28.934 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.024) 0:01:28.958 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.026) 0:01:28.985 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.026) 0:01:29.011 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.027) 0:01:29.039 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.046) 0:01:29.085 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.041) 0:01:29.126 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.026) 0:01:29.153 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.024) 0:01:29.178 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.032) 0:01:29.210 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.036) 0:01:29.247 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.027) 0:01:29.274 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.027) 0:01:29.302 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.030) 0:01:29.332 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.026) 0:01:29.359 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.028) 0:01:29.387 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.028) 0:01:29.416 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:18:34 +0000 (0:00:00.030) 0:01:29.447 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 10737418240, "changed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:18:35 +0000 (0:00:00.409) 0:01:29.856 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 10737418240, "changed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:18:35 +0000 (0:00:00.470) 0:01:30.327 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "10737418240" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:18:35 +0000 (0:00:00.087) 0:01:30.415 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:18:35 +0000 (0:00:00.106) 0:01:30.521 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:18:35 +0000 (0:00:00.029) 0:01:30.551 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:18:35 +0000 (0:00:00.028) 0:01:30.580 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:18:35 +0000 (0:00:00.027) 0:01:30.607 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:18:35 +0000 (0:00:00.030) 0:01:30.637 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:18:35 +0000 (0:00:00.027) 0:01:30.665 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 10737418240, "changed": false, "failed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:18:35 +0000 (0:00:00.049) 0:01:30.715 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:18:35 +0000 (0:00:00.046) 0:01:30.761 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:18:35 +0000 (0:00:00.046) 0:01:30.808 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.042068", "end": "2022-07-21 17:18:36.219483", "rc": 0, "start": "2022-07-21 17:18:36.177415" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:18:36 +0000 (0:00:00.469) 0:01:31.277 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:18:36 +0000 (0:00:00.042) 0:01:31.320 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:18:36 +0000 (0:00:00.039) 0:01:31.359 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:18:36 +0000 (0:00:00.026) 0:01:31.385 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:18:36 +0000 (0:00:00.025) 0:01:31.411 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:18:36 +0000 (0:00:00.027) 0:01:31.438 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:18:36 +0000 (0:00:00.026) 0:01:31.464 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:18:36 +0000 (0:00:00.034) 0:01:31.499 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:18:36 +0000 (0:00:00.022) 0:01:31.521 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create LVM with an invalid size specification, resize to "xyz GiB"] *** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:138 Thursday 21 July 2022 17:18:36 +0000 (0:00:00.038) 0:01:31.560 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:18:36 +0000 (0:00:00.040) 0:01:31.600 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:18:36 +0000 (0:00:00.038) 0:01:31.638 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.563) 0:01:32.202 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.063) 0:01:32.265 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.034) 0:01:32.300 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.034) 0:01:32.334 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.050) 0:01:32.385 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.021) 0:01:32.406 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.064) 0:01:32.471 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "xyz GiB" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.037) 0:01:32.509 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.039) 0:01:32.548 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.028) 0:01:32.576 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.032) 0:01:32.609 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.028) 0:01:32.638 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.026) 0:01:32.665 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.048) 0:01:32.713 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.023) 0:01:32.737 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: invalid size specification for volume in pool 'foo' TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 17:18:39 +0000 (0:00:01.977) 0:01:34.714 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "invalid size specification for volume in pool 'foo'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': 'ext4', 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 'xyz GiB', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:18:39 +0000 (0:00:00.040) 0:01:34.754 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:156 Thursday 21 July 2022 17:18:39 +0000 (0:00:00.023) 0:01:34.778 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:162 Thursday 21 July 2022 17:18:39 +0000 (0:00:00.039) 0:01:34.818 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Try to create LVM with an invalid size specification, resize to "none"] *** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:171 Thursday 21 July 2022 17:18:40 +0000 (0:00:00.042) 0:01:34.860 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:18:40 +0000 (0:00:00.041) 0:01:34.901 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:18:40 +0000 (0:00:00.036) 0:01:34.938 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:18:40 +0000 (0:00:00.566) 0:01:35.504 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:18:40 +0000 (0:00:00.066) 0:01:35.570 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:18:40 +0000 (0:00:00.035) 0:01:35.606 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:18:40 +0000 (0:00:00.036) 0:01:35.643 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:18:40 +0000 (0:00:00.048) 0:01:35.692 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:18:40 +0000 (0:00:00.021) 0:01:35.714 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:18:40 +0000 (0:00:00.027) 0:01:35.742 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "none" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:18:40 +0000 (0:00:00.070) 0:01:35.812 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.034) 0:01:35.847 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.030) 0:01:35.878 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.029) 0:01:35.908 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.034) 0:01:35.942 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.028) 0:01:35.971 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.080) 0:01:36.051 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.060) 0:01:36.112 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: invalid size specification for volume in pool 'foo' TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 17:18:43 +0000 (0:00:02.000) 0:01:38.112 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "invalid size specification for volume in pool 'foo'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': 'ext4', 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 'none', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.040) 0:01:38.153 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:189 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.023) 0:01:38.176 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:195 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.039) 0:01:38.216 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:202 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.040) 0:01:38.257 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.044) 0:01:38.301 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.035) 0:01:38.337 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.571) 0:01:38.909 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.060) 0:01:38.969 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.036) 0:01:39.006 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.036) 0:01:39.043 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.056) 0:01:39.099 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.024) 0:01:39.124 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.031) 0:01:39.156 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.042) 0:01:39.199 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.038) 0:01:39.238 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.031) 0:01:39.269 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.030) 0:01:39.300 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.034) 0:01:39.335 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.030) 0:01:39.366 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.095) 0:01:39.462 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.022) 0:01:39.484 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:18:47 +0000 (0:00:02.903) 0:01:42.388 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.066) 0:01:42.454 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.022) 0:01:42.477 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.041) 0:01:42.518 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.041) 0:01:42.560 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.042) 0:01:42.602 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.432) 0:01:43.035 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.762) 0:01:43.798 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.029) 0:01:43.827 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.752) 0:01:44.580 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.422) 0:01:45.002 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.022) 0:01:45.025 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:215 Thursday 21 July 2022 17:18:51 +0000 (0:00:01.026) 0:01:46.052 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.042) 0:01:46.094 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.043) 0:01:46.137 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.026) 0:01:46.164 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-16-52-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.421) 0:01:46.586 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003275", "end": "2022-07-21 17:18:51.951634", "rc": 0, "start": "2022-07-21 17:18:51.948359" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.419) 0:01:47.005 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003237", "end": "2022-07-21 17:18:52.359933", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:18:52.356696" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.410) 0:01:47.415 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.052) 0:01:47.467 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.041) 0:01:47.509 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.048) 0:01:47.558 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.145) 0:01:47.704 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.024) 0:01:47.729 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.042) 0:01:47.771 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.042) 0:01:47.814 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.046) 0:01:47.860 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.041) 0:01:47.902 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.043) 0:01:47.945 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.026) 0:01:47.972 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.025) 0:01:47.997 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.044) 0:01:48.042 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.026) 0:01:48.068 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.025) 0:01:48.094 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.025) 0:01:48.120 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.024) 0:01:48.144 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.024) 0:01:48.168 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.027) 0:01:48.196 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.024) 0:01:48.220 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.034) 0:01:48.255 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.045) 0:01:48.300 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.042) 0:01:48.343 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.029) 0:01:48.373 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.034) 0:01:48.408 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.030) 0:01:48.439 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.046) 0:01:48.485 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.044) 0:01:48.529 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.026) 0:01:48.555 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.027) 0:01:48.583 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.025) 0:01:48.608 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.025) 0:01:48.634 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.049) 0:01:48.683 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.040) 0:01:48.723 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.023) 0:01:48.747 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.022) 0:01:48.769 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.037) 0:01:48.806 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.050) 0:01:48.856 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.079) 0:01:48.936 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.025) 0:01:48.962 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.026) 0:01:48.989 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.024) 0:01:49.014 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.026) 0:01:49.040 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.024) 0:01:49.065 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.024) 0:01:49.089 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.023) 0:01:49.112 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.035) 0:01:49.148 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.032) 0:01:49.181 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.041) 0:01:49.222 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.039) 0:01:49.261 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.080) 0:01:49.342 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.044) 0:01:49.386 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.048) 0:01:49.434 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.027) 0:01:49.462 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.040) 0:01:49.502 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.028) 0:01:49.531 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.026) 0:01:49.558 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.027) 0:01:49.585 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.023) 0:01:49.609 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.036) 0:01:49.645 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.050) 0:01:49.696 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.023) 0:01:49.720 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.037) 0:01:49.758 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.024) 0:01:49.782 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.037) 0:01:49.820 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:18:55 +0000 (0:00:00.026) 0:01:49.846 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:18:55 +0000 (0:00:00.025) 0:01:49.871 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:18:55 +0000 (0:00:00.437) 0:01:50.309 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:18:55 +0000 (0:00:00.039) 0:01:50.349 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:18:55 +0000 (0:00:00.025) 0:01:50.374 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:18:55 +0000 (0:00:00.079) 0:01:50.454 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:18:55 +0000 (0:00:00.026) 0:01:50.480 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:18:55 +0000 (0:00:00.024) 0:01:50.505 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:18:55 +0000 (0:00:00.025) 0:01:50.531 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:18:57 +0000 (0:00:01.903) 0:01:52.434 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.027) 0:01:52.462 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.026) 0:01:52.488 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.024) 0:01:52.513 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.025) 0:01:52.539 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.025) 0:01:52.565 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.026) 0:01:52.591 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.023) 0:01:52.615 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.023) 0:01:52.638 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.046) 0:01:52.685 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.040) 0:01:52.725 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.026) 0:01:52.752 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.028) 0:01:52.780 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.029) 0:01:52.810 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.033) 0:01:52.844 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.026) 0:01:52.871 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.025) 0:01:52.897 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.029) 0:01:52.927 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.028) 0:01:52.955 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.028) 0:01:52.984 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.029) 0:01:53.013 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.030) 0:01:53.043 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.025) 0:01:53.069 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.027) 0:01:53.097 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.025) 0:01:53.122 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.042) 0:01:53.165 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.035) 0:01:53.201 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.029) 0:01:53.230 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.027) 0:01:53.257 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.026) 0:01:53.284 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.074) 0:01:53.358 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.038) 0:01:53.397 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.040) 0:01:53.438 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.027) 0:01:53.465 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.024) 0:01:53.490 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.023) 0:01:53.514 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.025) 0:01:53.539 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.027) 0:01:53.566 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.026) 0:01:53.593 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.027) 0:01:53.620 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.026) 0:01:53.646 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.038) 0:01:53.684 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.024) 0:01:53.709 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a LVM logical volume with "5g" for ext3 FS] *********************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:219 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.040) 0:01:53.749 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.048) 0:01:53.798 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:18:59 +0000 (0:00:00.034) 0:01:53.832 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:18:59 +0000 (0:00:00.561) 0:01:54.393 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:18:59 +0000 (0:00:00.067) 0:01:54.461 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:18:59 +0000 (0:00:00.034) 0:01:54.496 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:18:59 +0000 (0:00:00.034) 0:01:54.530 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:18:59 +0000 (0:00:00.051) 0:01:54.581 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:18:59 +0000 (0:00:00.033) 0:01:54.615 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:18:59 +0000 (0:00:00.035) 0:01:54.650 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:18:59 +0000 (0:00:00.039) 0:01:54.690 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:18:59 +0000 (0:00:00.034) 0:01:54.725 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:18:59 +0000 (0:00:00.028) 0:01:54.754 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:18:59 +0000 (0:00:00.030) 0:01:54.784 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:18:59 +0000 (0:00:00.032) 0:01:54.817 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:19:00 +0000 (0:00:00.030) 0:01:54.847 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:19:00 +0000 (0:00:00.108) 0:01:54.955 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:19:00 +0000 (0:00:00.023) 0:01:54.979 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "e2fsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:19:02 +0000 (0:00:02.672) 0:01:57.651 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.028) 0:01:57.679 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.023) 0:01:57.703 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "e2fsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.037) 0:01:57.740 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.039) 0:01:57.779 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.040) 0:01:57.820 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.031) 0:01:57.851 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.793) 0:01:58.644 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.460) 0:01:59.105 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:19:05 +0000 (0:00:00.779) 0:01:59.884 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:19:05 +0000 (0:00:00.435) 0:02:00.319 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:19:05 +0000 (0:00:00.025) 0:02:00.345 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:233 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.990) 0:02:01.336 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.047) 0:02:01.383 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.079) 0:02:01.463 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.027) 0:02:01.491 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "3ab52a42-af4f-49c4-beb1-9d33b2588ce1" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "8J2GJ7-9UOG-itJk-qwZX-czKv-l4Lw-lkoZO4" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-16-52-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:19:07 +0000 (0:00:00.445) 0:02:01.937 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003080", "end": "2022-07-21 17:19:07.360340", "rc": 0, "start": "2022-07-21 17:19:07.357260" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:19:07 +0000 (0:00:00.486) 0:02:02.423 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003931", "end": "2022-07-21 17:19:07.790661", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:19:07.786730" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.425) 0:02:02.848 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.051) 0:02:02.900 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.035) 0:02:02.935 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.045) 0:02:02.981 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.045) 0:02:03.027 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.419) 0:02:03.447 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.041) 0:02:03.488 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.042) 0:02:03.531 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.041) 0:02:03.573 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.041) 0:02:03.614 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.042) 0:02:03.657 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.025) 0:02:03.682 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.045) 0:02:03.728 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.045) 0:02:03.774 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.026) 0:02:03.800 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.024) 0:02:03.825 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.023) 0:02:03.849 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.028) 0:02:03.877 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.025) 0:02:03.902 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.026) 0:02:03.928 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.024) 0:02:03.953 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.040) 0:02:03.994 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.045) 0:02:04.039 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.045) 0:02:04.085 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.028) 0:02:04.114 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.029) 0:02:04.143 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.029) 0:02:04.173 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.047) 0:02:04.220 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.045) 0:02:04.265 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.060) 0:02:04.326 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.026) 0:02:04.353 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.026) 0:02:04.380 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.026) 0:02:04.406 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.048) 0:02:04.455 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.042) 0:02:04.497 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.029) 0:02:04.527 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.045) 0:02:04.572 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.048) 0:02:04.621 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.053) 0:02:04.674 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.027) 0:02:04.701 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.028) 0:02:04.730 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.026) 0:02:04.756 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.041) 0:02:04.797 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.036) 0:02:04.833 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.050) 0:02:04.884 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.046) 0:02:04.930 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.025) 0:02:04.955 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.024) 0:02:04.980 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.025) 0:02:05.006 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.025) 0:02:05.032 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.024) 0:02:05.056 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.024) 0:02:05.081 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.028) 0:02:05.109 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.035) 0:02:05.144 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.035) 0:02:05.179 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.042) 0:02:05.222 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.041) 0:02:05.263 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.082) 0:02:05.345 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.045) 0:02:05.391 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1205649, "block_size": 4096, "block_total": 1271208, "block_used": 65559, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938338304, "size_total": 5206867968, "uuid": "3ab52a42-af4f-49c4-beb1-9d33b2588ce1" } ], "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": "3ab52a42-af4f-49c4-beb1-9d33b2588ce1" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.050) 0:02:05.442 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.092) 0:02:05.534 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.082) 0:02:05.617 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.087) 0:02:05.704 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.024) 0:02:05.729 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.025) 0:02:05.755 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.026) 0:02:05.782 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.037) 0:02:05.819 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:19:11 +0000 (0:00:00.052) 0:02:05.871 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:19:11 +0000 (0:00:00.039) 0:02:05.910 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:19:11 +0000 (0:00:00.041) 0:02:05.952 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:19:11 +0000 (0:00:00.026) 0:02:05.979 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:19:11 +0000 (0:00:00.038) 0:02:06.017 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:19:11 +0000 (0:00:00.039) 0:02:06.057 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:19:11 +0000 (0:00:00.046) 0:02:06.103 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423944.0563293, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423942.5303292, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1549, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423942.5303292, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:19:11 +0000 (0:00:00.427) 0:02:06.531 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:19:11 +0000 (0:00:00.042) 0:02:06.573 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:19:11 +0000 (0:00:00.038) 0:02:06.612 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:19:11 +0000 (0:00:00.036) 0:02:06.648 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:19:11 +0000 (0:00:00.024) 0:02:06.673 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:19:11 +0000 (0:00:00.044) 0:02:06.718 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:19:11 +0000 (0:00:00.024) 0:02:06.742 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:19:13 +0000 (0:00:01.818) 0:02:08.560 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:19:13 +0000 (0:00:00.028) 0:02:08.589 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:19:13 +0000 (0:00:00.025) 0:02:08.615 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:19:13 +0000 (0:00:00.047) 0:02:08.662 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:19:13 +0000 (0:00:00.025) 0:02:08.688 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:19:13 +0000 (0:00:00.023) 0:02:08.712 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:19:13 +0000 (0:00:00.024) 0:02:08.736 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:19:13 +0000 (0:00:00.028) 0:02:08.765 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:19:13 +0000 (0:00:00.026) 0:02:08.791 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:19:14 +0000 (0:00:00.104) 0:02:08.896 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:19:14 +0000 (0:00:00.083) 0:02:08.979 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:19:14 +0000 (0:00:00.030) 0:02:09.010 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:19:14 +0000 (0:00:00.027) 0:02:09.037 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:19:14 +0000 (0:00:00.027) 0:02:09.065 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:19:14 +0000 (0:00:00.111) 0:02:09.177 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:19:14 +0000 (0:00:00.029) 0:02:09.206 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:19:14 +0000 (0:00:00.028) 0:02:09.235 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:19:14 +0000 (0:00:00.030) 0:02:09.266 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:19:14 +0000 (0:00:00.028) 0:02:09.294 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:19:14 +0000 (0:00:00.028) 0:02:09.323 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:19:14 +0000 (0:00:00.028) 0:02:09.351 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:19:14 +0000 (0:00:00.030) 0:02:09.382 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:19:14 +0000 (0:00:00.423) 0:02:09.805 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:19:15 +0000 (0:00:00.420) 0:02:10.226 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:19:15 +0000 (0:00:00.040) 0:02:10.267 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:19:15 +0000 (0:00:00.038) 0:02:10.305 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:19:15 +0000 (0:00:00.026) 0:02:10.332 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:19:15 +0000 (0:00:00.030) 0:02:10.362 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:19:15 +0000 (0:00:00.028) 0:02:10.390 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:19:15 +0000 (0:00:00.028) 0:02:10.419 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:19:15 +0000 (0:00:00.028) 0:02:10.447 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:19:15 +0000 (0:00:00.040) 0:02:10.487 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:19:15 +0000 (0:00:00.036) 0:02:10.524 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:19:15 +0000 (0:00:00.041) 0:02:10.565 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.042437", "end": "2022-07-21 17:19:15.974136", "rc": 0, "start": "2022-07-21 17:19:15.931699" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.469) 0:02:11.034 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.039) 0:02:11.074 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.040) 0:02:11.114 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.025) 0:02:11.140 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.030) 0:02:11.170 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.027) 0:02:11.197 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.027) 0:02:11.225 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.072) 0:02:11.297 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.021) 0:02:11.319 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "9g"] ********************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:235 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.071) 0:02:11.391 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.092) 0:02:11.483 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.041) 0:02:11.525 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.557) 0:02:12.083 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.065) 0:02:12.149 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.036) 0:02:12.186 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.036) 0:02:12.223 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.051) 0:02:12.274 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.022) 0:02:12.297 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.030) 0:02:12.328 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.042) 0:02:12.370 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.039) 0:02:12.410 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.031) 0:02:12.442 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.029) 0:02:12.471 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.032) 0:02:12.504 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.030) 0:02:12.535 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.053) 0:02:12.588 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.025) 0:02:12.614 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "dosfstools", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:19:20 +0000 (0:00:02.941) 0:02:15.555 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.029) 0:02:15.585 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.022) 0:02:15.607 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "dosfstools", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.099) 0:02:15.707 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.084) 0:02:15.792 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:19:21 +0000 (0:00:00.038) 0:02:15.830 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:19:21 +0000 (0:00:00.029) 0:02:15.860 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:19:21 +0000 (0:00:00.811) 0:02:16.671 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:19:22 +0000 (0:00:00.499) 0:02:17.170 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.769) 0:02:17.940 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.425) 0:02:18.366 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.025) 0:02:18.391 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:249 Thursday 21 July 2022 17:19:24 +0000 (0:00:00.970) 0:02:19.362 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:19:24 +0000 (0:00:00.045) 0:02:19.408 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:19:24 +0000 (0:00:00.045) 0:02:19.453 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:19:24 +0000 (0:00:00.027) 0:02:19.481 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "3ab52a42-af4f-49c4-beb1-9d33b2588ce1" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "8J2GJ7-9UOG-itJk-qwZX-czKv-l4Lw-lkoZO4" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-16-52-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:19:25 +0000 (0:00:00.430) 0:02:19.911 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003276", "end": "2022-07-21 17:19:25.279829", "rc": 0, "start": "2022-07-21 17:19:25.276553" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:19:25 +0000 (0:00:00.423) 0:02:20.334 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003315", "end": "2022-07-21 17:19:25.703287", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:19:25.699972" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:19:25 +0000 (0:00:00.422) 0:02:20.757 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:19:25 +0000 (0:00:00.051) 0:02:20.809 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:19:26 +0000 (0:00:00.071) 0:02:20.880 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:19:26 +0000 (0:00:00.081) 0:02:20.962 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:19:26 +0000 (0:00:00.044) 0:02:21.006 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:19:26 +0000 (0:00:00.405) 0:02:21.412 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:19:26 +0000 (0:00:00.039) 0:02:21.452 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:19:26 +0000 (0:00:00.040) 0:02:21.492 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:19:26 +0000 (0:00:00.042) 0:02:21.535 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:19:26 +0000 (0:00:00.037) 0:02:21.572 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:19:26 +0000 (0:00:00.040) 0:02:21.613 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:19:26 +0000 (0:00:00.029) 0:02:21.642 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:19:26 +0000 (0:00:00.050) 0:02:21.692 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:19:26 +0000 (0:00:00.043) 0:02:21.735 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:19:26 +0000 (0:00:00.024) 0:02:21.760 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:19:26 +0000 (0:00:00.024) 0:02:21.784 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:19:26 +0000 (0:00:00.023) 0:02:21.808 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.023) 0:02:21.832 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.023) 0:02:21.856 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.024) 0:02:21.880 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.022) 0:02:21.903 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.040) 0:02:21.943 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.045) 0:02:21.988 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.041) 0:02:22.030 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.032) 0:02:22.063 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.030) 0:02:22.093 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.028) 0:02:22.121 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.047) 0:02:22.168 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.046) 0:02:22.214 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.024) 0:02:22.239 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.025) 0:02:22.264 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.024) 0:02:22.289 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.023) 0:02:22.313 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.082) 0:02:22.396 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.042) 0:02:22.438 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.028) 0:02:22.467 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.044) 0:02:22.511 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.039) 0:02:22.550 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.041) 0:02:22.591 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.028) 0:02:22.620 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.032) 0:02:22.653 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.029) 0:02:22.682 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.040) 0:02:22.722 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.052) 0:02:22.775 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:19:27 +0000 (0:00:00.052) 0:02:22.827 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.049) 0:02:22.876 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.026) 0:02:22.903 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.034) 0:02:22.938 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.025) 0:02:22.964 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.029) 0:02:22.993 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.026) 0:02:23.019 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.024) 0:02:23.044 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.023) 0:02:23.068 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.041) 0:02:23.110 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.035) 0:02:23.145 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.044) 0:02:23.190 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.041) 0:02:23.232 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.079) 0:02:23.311 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.038) 0:02:23.350 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2185028, "block_size": 4096, "block_total": 2303015, "block_used": 117987, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8949874688, "size_total": 9433149440, "uuid": "3ab52a42-af4f-49c4-beb1-9d33b2588ce1" } ], "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": "3ab52a42-af4f-49c4-beb1-9d33b2588ce1" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.047) 0:02:23.397 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.044) 0:02:23.442 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.041) 0:02:23.483 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.041) 0:02:23.525 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.023) 0:02:23.548 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.023) 0:02:23.572 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.024) 0:02:23.596 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.033) 0:02:23.630 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.106) 0:02:23.737 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.108) 0:02:23.846 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.040) 0:02:23.886 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.026) 0:02:23.912 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.038) 0:02:23.950 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.041) 0:02:23.992 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.044) 0:02:24.037 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423962.1113293, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423960.4383292, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1549, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423960.4383292, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.436) 0:02:24.474 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.038) 0:02:24.512 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.040) 0:02:24.552 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.039) 0:02:24.591 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.025) 0:02:24.617 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.039) 0:02:24.656 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.025) 0:02:24.681 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:19:31 +0000 (0:00:01.811) 0:02:26.493 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:19:31 +0000 (0:00:00.026) 0:02:26.520 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:19:31 +0000 (0:00:00.026) 0:02:26.547 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:19:31 +0000 (0:00:00.043) 0:02:26.590 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:19:31 +0000 (0:00:00.026) 0:02:26.616 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:19:31 +0000 (0:00:00.025) 0:02:26.642 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:19:31 +0000 (0:00:00.027) 0:02:26.669 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:19:31 +0000 (0:00:00.024) 0:02:26.694 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:19:31 +0000 (0:00:00.025) 0:02:26.719 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:19:31 +0000 (0:00:00.041) 0:02:26.761 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:19:31 +0000 (0:00:00.040) 0:02:26.802 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:19:31 +0000 (0:00:00.024) 0:02:26.827 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.027) 0:02:26.854 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.026) 0:02:26.881 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.040) 0:02:26.921 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.028) 0:02:26.949 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.033) 0:02:26.983 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.031) 0:02:27.014 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.032) 0:02:27.047 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.026) 0:02:27.074 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.025) 0:02:27.100 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.027) 0:02:27.128 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.420) 0:02:27.549 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.470) 0:02:28.020 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.040) 0:02:28.060 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.085) 0:02:28.146 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.029) 0:02:28.175 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.094) 0:02:28.270 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.029) 0:02:28.299 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.028) 0:02:28.328 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.027) 0:02:28.356 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.037) 0:02:28.394 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.039) 0:02:28.434 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.043) 0:02:28.477 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.045035", "end": "2022-07-21 17:19:33.891712", "rc": 0, "start": "2022-07-21 17:19:33.846677" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.474) 0:02:28.952 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.043) 0:02:28.995 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.044) 0:02:29.040 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.033) 0:02:29.073 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.029) 0:02:29.103 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.028) 0:02:29.131 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.029) 0:02:29.161 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.039) 0:02:29.201 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.022) 0:02:29.223 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:251 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.036) 0:02:29.260 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.055) 0:02:29.315 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.038) 0:02:29.354 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.572) 0:02:29.926 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.061) 0:02:29.988 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.036) 0:02:30.025 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.037) 0:02:30.062 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.050) 0:02:30.112 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.021) 0:02:30.134 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.028) 0:02:30.162 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.040) 0:02:30.202 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.083) 0:02:30.286 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.032) 0:02:30.318 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.069) 0:02:30.387 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.031) 0:02:30.419 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.030) 0:02:30.449 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.052) 0:02:30.502 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.023) 0:02:30.526 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "lvm2", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:19:38 +0000 (0:00:03.068) 0:02:33.595 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:19:38 +0000 (0:00:00.028) 0:02:33.623 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:19:38 +0000 (0:00:00.023) 0:02:33.646 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "lvm2", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:19:38 +0000 (0:00:00.042) 0:02:33.689 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:19:38 +0000 (0:00:00.040) 0:02:33.730 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:19:38 +0000 (0:00:00.038) 0:02:33.768 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:19:38 +0000 (0:00:00.029) 0:02:33.797 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:19:39 +0000 (0:00:00.761) 0:02:34.559 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:19:40 +0000 (0:00:00.450) 0:02:35.010 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:19:40 +0000 (0:00:00.760) 0:02:35.770 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:19:41 +0000 (0:00:00.449) 0:02:36.220 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:19:41 +0000 (0:00:00.022) 0:02:36.242 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:265 Thursday 21 July 2022 17:19:42 +0000 (0:00:00.960) 0:02:37.203 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:19:42 +0000 (0:00:00.049) 0:02:37.252 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:19:42 +0000 (0:00:00.042) 0:02:37.295 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:19:42 +0000 (0:00:00.025) 0:02:37.321 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "3ab52a42-af4f-49c4-beb1-9d33b2588ce1" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "8J2GJ7-9UOG-itJk-qwZX-czKv-l4Lw-lkoZO4" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-16-52-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:19:42 +0000 (0:00:00.484) 0:02:37.806 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003277", "end": "2022-07-21 17:19:43.168734", "rc": 0, "start": "2022-07-21 17:19:43.165457" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:19:43 +0000 (0:00:00.418) 0:02:38.224 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003120", "end": "2022-07-21 17:19:43.592801", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:19:43.589681" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:19:43 +0000 (0:00:00.422) 0:02:38.647 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:19:43 +0000 (0:00:00.051) 0:02:38.698 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:19:43 +0000 (0:00:00.038) 0:02:38.737 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:19:43 +0000 (0:00:00.048) 0:02:38.786 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.049) 0:02:38.835 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.413) 0:02:39.249 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.040) 0:02:39.290 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.041) 0:02:39.331 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.040) 0:02:39.371 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.039) 0:02:39.411 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.041) 0:02:39.453 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.027) 0:02:39.480 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.043) 0:02:39.523 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.045) 0:02:39.569 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.027) 0:02:39.596 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.024) 0:02:39.621 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.024) 0:02:39.645 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.029) 0:02:39.675 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.023) 0:02:39.699 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.024) 0:02:39.723 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.024) 0:02:39.747 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.112) 0:02:39.860 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.046) 0:02:39.906 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.044) 0:02:39.951 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.027) 0:02:39.979 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.028) 0:02:40.008 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.029) 0:02:40.037 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.047) 0:02:40.084 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.047) 0:02:40.132 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.024) 0:02:40.157 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.023) 0:02:40.181 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.024) 0:02:40.205 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.025) 0:02:40.230 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.046) 0:02:40.277 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.040) 0:02:40.317 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.029) 0:02:40.346 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.044) 0:02:40.391 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.043) 0:02:40.434 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.044) 0:02:40.478 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.026) 0:02:40.505 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.028) 0:02:40.533 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.027) 0:02:40.561 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.039) 0:02:40.600 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.034) 0:02:40.635 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.047) 0:02:40.683 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.046) 0:02:40.730 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.026) 0:02:40.756 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.026) 0:02:40.783 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.029) 0:02:40.812 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.025) 0:02:40.838 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.024) 0:02:40.863 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.023) 0:02:40.886 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.024) 0:02:40.911 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.036) 0:02:40.947 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.090) 0:02:41.037 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.092) 0:02:41.130 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.040) 0:02:41.171 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.091) 0:02:41.262 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.053) 0:02:41.315 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1205650, "block_size": 4096, "block_total": 1271208, "block_used": 65558, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938342400, "size_total": 5206867968, "uuid": "3ab52a42-af4f-49c4-beb1-9d33b2588ce1" } ], "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": "3ab52a42-af4f-49c4-beb1-9d33b2588ce1" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.050) 0:02:41.365 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.044) 0:02:41.410 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.045) 0:02:41.455 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.045) 0:02:41.501 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.027) 0:02:41.528 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.025) 0:02:41.554 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.024) 0:02:41.579 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.040) 0:02:41.620 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.057) 0:02:41.677 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.048) 0:02:41.726 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.044) 0:02:41.770 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.032) 0:02:41.803 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.035) 0:02:41.838 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.043) 0:02:41.881 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.044) 0:02:41.926 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423979.9533293, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423978.4483292, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1549, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423978.4483292, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.433) 0:02:42.359 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.043) 0:02:42.402 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.043) 0:02:42.446 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.038) 0:02:42.484 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.025) 0:02:42.509 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.042) 0:02:42.551 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.027) 0:02:42.579 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:19:49 +0000 (0:00:01.802) 0:02:44.382 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.026) 0:02:44.409 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.026) 0:02:44.435 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.100) 0:02:44.536 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.069) 0:02:44.606 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.024) 0:02:44.631 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.025) 0:02:44.657 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.025) 0:02:44.683 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.027) 0:02:44.710 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.043) 0:02:44.753 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.042) 0:02:44.796 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.026) 0:02:44.822 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.033) 0:02:44.856 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.026) 0:02:44.882 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.037) 0:02:44.920 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.028) 0:02:44.949 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.034) 0:02:44.984 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.029) 0:02:45.013 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.027) 0:02:45.040 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.030) 0:02:45.070 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.030) 0:02:45.101 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.027) 0:02:45.129 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.418) 0:02:45.547 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.419) 0:02:45.967 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.044) 0:02:46.011 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.040) 0:02:46.052 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.032) 0:02:46.085 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.026) 0:02:46.111 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.038) 0:02:46.150 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.038) 0:02:46.189 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.031) 0:02:46.220 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.036) 0:02:46.256 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.037) 0:02:46.293 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.043) 0:02:46.337 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.041542", "end": "2022-07-21 17:19:51.740185", "rc": 0, "start": "2022-07-21 17:19:51.698643" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.462) 0:02:46.800 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.051) 0:02:46.851 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.056) 0:02:46.907 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.029) 0:02:46.937 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.029) 0:02:46.966 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.029) 0:02:46.996 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.034) 0:02:47.031 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.038) 0:02:47.069 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.022) 0:02:47.092 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:267 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.037) 0:02:47.129 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.062) 0:02:47.191 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.085) 0:02:47.277 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.571) 0:02:47.848 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.063) 0:02:47.911 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.038) 0:02:47.950 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.038) 0:02:47.988 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.048) 0:02:48.036 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.022) 0:02:48.058 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.029) 0:02:48.087 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.041) 0:02:48.129 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.039) 0:02:48.168 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.030) 0:02:48.199 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.027) 0:02:48.227 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.030) 0:02:48.258 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.032) 0:02:48.291 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.052) 0:02:48.343 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.022) 0:02:48.366 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "ext3", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:19:56 +0000 (0:00:02.864) 0:02:51.230 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:19:56 +0000 (0:00:00.026) 0:02:51.257 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:19:56 +0000 (0:00:00.021) 0:02:51.278 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "ext3", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:19:56 +0000 (0:00:00.039) 0:02:51.318 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:19:56 +0000 (0:00:00.039) 0:02:51.358 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:19:56 +0000 (0:00:00.035) 0:02:51.393 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext3'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "fstype": "ext3", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:19:57 +0000 (0:00:00.462) 0:02:51.855 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:19:57 +0000 (0:00:00.786) 0:02:52.642 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:19:57 +0000 (0:00:00.030) 0:02:52.672 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:19:58 +0000 (0:00:00.756) 0:02:53.428 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:19:59 +0000 (0:00:00.460) 0:02:53.889 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:19:59 +0000 (0:00:00.024) 0:02:53.913 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:280 Thursday 21 July 2022 17:20:00 +0000 (0:00:01.027) 0:02:54.940 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.050) 0:02:54.991 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.041) 0:02:55.033 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.029) 0:02:55.062 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-16-52-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.446) 0:02:55.508 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003726", "end": "2022-07-21 17:20:00.877863", "rc": 0, "start": "2022-07-21 17:20:00.874137" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.430) 0:02:55.939 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003351", "end": "2022-07-21 17:20:01.297378", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:20:01.294027" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.416) 0:02:56.355 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.050) 0:02:56.405 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.035) 0:02:56.441 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.048) 0:02:56.489 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.042) 0:02:56.532 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.022) 0:02:56.555 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.038) 0:02:56.593 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.045) 0:02:56.639 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.041) 0:02:56.681 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.037) 0:02:56.718 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.083) 0:02:56.802 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.026) 0:02:56.829 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.024) 0:02:56.853 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.084) 0:02:56.938 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.025) 0:02:56.963 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.023) 0:02:56.987 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.023) 0:02:57.010 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.023) 0:02:57.034 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.022) 0:02:57.057 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.025) 0:02:57.083 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.023) 0:02:57.106 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.036) 0:02:57.143 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.043) 0:02:57.186 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.045) 0:02:57.231 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.027) 0:02:57.259 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.026) 0:02:57.286 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.026) 0:02:57.312 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.045) 0:02:57.357 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.044) 0:02:57.402 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.026) 0:02:57.429 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.030) 0:02:57.459 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.029) 0:02:57.489 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.026) 0:02:57.516 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.052) 0:02:57.568 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.041) 0:02:57.609 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.025) 0:02:57.635 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.025) 0:02:57.660 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.040) 0:02:57.700 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.049) 0:02:57.749 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.043) 0:02:57.793 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.025) 0:02:57.818 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.024) 0:02:57.843 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.025) 0:02:57.868 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.023) 0:02:57.892 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.023) 0:02:57.916 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.024) 0:02:57.940 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.023) 0:02:57.964 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.092) 0:02:58.057 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.141) 0:02:58.198 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.044) 0:02:58.243 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.042) 0:02:58.285 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.084) 0:02:58.370 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.044) 0:02:58.414 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.049) 0:02:58.464 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.026) 0:02:58.490 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.043) 0:02:58.534 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.027) 0:02:58.562 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.025) 0:02:58.587 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.025) 0:02:58.613 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.027) 0:02:58.640 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.036) 0:02:58.676 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.054) 0:02:58.731 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.024) 0:02:58.755 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.040) 0:02:58.795 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.026) 0:02:58.822 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.037) 0:02:58.860 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.023) 0:02:58.884 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.023) 0:02:58.908 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.420) 0:02:59.329 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.040) 0:02:59.369 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.026) 0:02:59.396 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.038) 0:02:59.434 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.024) 0:02:59.459 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.024) 0:02:59.484 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.024) 0:02:59.508 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:20:06 +0000 (0:00:01.783) 0:03:01.292 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.026) 0:03:01.318 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.033) 0:03:01.352 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.027) 0:03:01.380 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.027) 0:03:01.407 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.026) 0:03:01.434 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.026) 0:03:01.460 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.025) 0:03:01.485 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.027) 0:03:01.513 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.101) 0:03:01.615 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.102) 0:03:01.717 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.028) 0:03:01.746 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.027) 0:03:01.774 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.026) 0:03:01.800 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.113) 0:03:01.913 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.027) 0:03:01.940 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.027) 0:03:01.968 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.030) 0:03:01.998 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.028) 0:03:02.027 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.027) 0:03:02.054 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.031) 0:03:02.085 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.029) 0:03:02.115 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.026) 0:03:02.142 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.027) 0:03:02.170 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.028) 0:03:02.198 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.043) 0:03:02.241 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.027) 0:03:02.268 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.026) 0:03:02.295 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.026) 0:03:02.322 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.028) 0:03:02.350 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.028) 0:03:02.379 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.039) 0:03:02.418 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.040) 0:03:02.459 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.028) 0:03:02.488 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.025) 0:03:02.513 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.025) 0:03:02.539 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.023) 0:03:02.562 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.027) 0:03:02.589 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.023) 0:03:02.613 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.025) 0:03:02.638 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.025) 0:03:02.663 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.040) 0:03:02.704 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.022) 0:03:02.727 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a LVM logical volume with "5g" for ext2 FS] *********************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:284 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.038) 0:03:02.765 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.070) 0:03:02.836 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.035) 0:03:02.871 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.631) 0:03:03.503 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.065) 0:03:03.568 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.038) 0:03:03.606 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.038) 0:03:03.645 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.049) 0:03:03.694 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.020) 0:03:03.714 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.027) 0:03:03.742 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.037) 0:03:03.780 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.039) 0:03:03.819 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:20:09 +0000 (0:00:00.029) 0:03:03.849 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:20:09 +0000 (0:00:00.033) 0:03:03.882 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:20:09 +0000 (0:00:00.030) 0:03:03.913 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:20:09 +0000 (0:00:00.030) 0:03:03.943 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:20:09 +0000 (0:00:00.050) 0:03:03.993 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:20:09 +0000 (0:00:00.024) 0:03:04.018 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:20:11 +0000 (0:00:02.473) 0:03:06.492 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:20:11 +0000 (0:00:00.028) 0:03:06.521 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:20:11 +0000 (0:00:00.023) 0:03:06.545 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:20:11 +0000 (0:00:00.041) 0:03:06.586 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:20:11 +0000 (0:00:00.039) 0:03:06.625 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:20:11 +0000 (0:00:00.039) 0:03:06.665 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:20:11 +0000 (0:00:00.029) 0:03:06.694 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:20:12 +0000 (0:00:00.756) 0:03:07.451 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:20:13 +0000 (0:00:00.459) 0:03:07.910 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:20:13 +0000 (0:00:00.780) 0:03:08.691 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:20:14 +0000 (0:00:00.429) 0:03:09.120 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:20:14 +0000 (0:00:00.024) 0:03:09.144 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:298 Thursday 21 July 2022 17:20:15 +0000 (0:00:01.020) 0:03:10.164 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.099) 0:03:10.264 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.042) 0:03:10.306 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.027) 0:03:10.333 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "9f41e42d-d856-4370-abf5-3adb11f6a070" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "WgCB6x-dU0e-lW9A-KZ4d-t74g-aLPl-fopA8E" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-16-52-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.437) 0:03:10.770 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003790", "end": "2022-07-21 17:20:16.148496", "rc": 0, "start": "2022-07-21 17:20:16.144706" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.446) 0:03:11.216 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003180", "end": "2022-07-21 17:20:16.587598", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:20:16.584418" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.431) 0:03:11.648 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.054) 0:03:11.702 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.036) 0:03:11.739 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.046) 0:03:11.786 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.047) 0:03:11.833 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.433) 0:03:12.267 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.042) 0:03:12.310 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.041) 0:03:12.351 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.044) 0:03:12.395 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.044) 0:03:12.439 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.045) 0:03:12.485 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.025) 0:03:12.511 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.042) 0:03:12.554 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.045) 0:03:12.599 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.026) 0:03:12.625 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.026) 0:03:12.651 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.023) 0:03:12.675 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.027) 0:03:12.702 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.027) 0:03:12.730 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.026) 0:03:12.756 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.025) 0:03:12.782 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.089) 0:03:12.871 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.047) 0:03:12.919 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.096) 0:03:13.016 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.031) 0:03:13.048 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.028) 0:03:13.076 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.029) 0:03:13.106 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.048) 0:03:13.155 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.047) 0:03:13.203 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.025) 0:03:13.228 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.025) 0:03:13.254 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.025) 0:03:13.279 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.026) 0:03:13.305 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.046) 0:03:13.352 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.038) 0:03:13.390 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.028) 0:03:13.419 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.045) 0:03:13.464 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.039) 0:03:13.504 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.040) 0:03:13.544 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.028) 0:03:13.573 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.032) 0:03:13.605 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.029) 0:03:13.635 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.038) 0:03:13.674 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.034) 0:03:13.708 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.049) 0:03:13.757 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.046) 0:03:13.804 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.023) 0:03:13.827 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.024) 0:03:13.852 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.023) 0:03:13.875 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.023) 0:03:13.899 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.023) 0:03:13.922 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.026) 0:03:13.949 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.024) 0:03:13.973 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.035) 0:03:14.009 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.035) 0:03:14.044 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.044) 0:03:14.089 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.095) 0:03:14.185 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.127) 0:03:14.312 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.042) 0:03:14.355 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1222050, "block_size": 4096, "block_total": 1287592, "block_used": 65542, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005516800, "size_total": 5273976832, "uuid": "9f41e42d-d856-4370-abf5-3adb11f6a070" } ], "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": "9f41e42d-d856-4370-abf5-3adb11f6a070" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.047) 0:03:14.402 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.040) 0:03:14.443 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.042) 0:03:14.486 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.043) 0:03:14.529 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.026) 0:03:14.556 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.024) 0:03:14.580 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.026) 0:03:14.607 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.036) 0:03:14.644 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.051) 0:03:14.695 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.042) 0:03:14.738 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.046) 0:03:14.784 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.026) 0:03:14.811 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:20:20 +0000 (0:00:00.035) 0:03:14.847 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:20:20 +0000 (0:00:00.039) 0:03:14.886 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:20:20 +0000 (0:00:00.047) 0:03:14.933 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658424012.8553293, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658424011.3723292, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1970, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658424011.3723292, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:20:20 +0000 (0:00:00.432) 0:03:15.366 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:20:20 +0000 (0:00:00.038) 0:03:15.405 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:20:20 +0000 (0:00:00.039) 0:03:15.444 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:20:20 +0000 (0:00:00.037) 0:03:15.481 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:20:20 +0000 (0:00:00.026) 0:03:15.508 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:20:20 +0000 (0:00:00.039) 0:03:15.547 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:20:20 +0000 (0:00:00.024) 0:03:15.572 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:20:22 +0000 (0:00:01.818) 0:03:17.390 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:20:22 +0000 (0:00:00.024) 0:03:17.415 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:20:22 +0000 (0:00:00.023) 0:03:17.439 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:20:22 +0000 (0:00:00.042) 0:03:17.481 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:20:22 +0000 (0:00:00.027) 0:03:17.509 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:20:22 +0000 (0:00:00.024) 0:03:17.533 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:20:22 +0000 (0:00:00.023) 0:03:17.556 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:20:22 +0000 (0:00:00.023) 0:03:17.580 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:20:22 +0000 (0:00:00.028) 0:03:17.608 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:20:22 +0000 (0:00:00.099) 0:03:17.708 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:20:23 +0000 (0:00:00.144) 0:03:17.853 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:20:23 +0000 (0:00:00.027) 0:03:17.880 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:20:23 +0000 (0:00:00.028) 0:03:17.909 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:20:23 +0000 (0:00:00.027) 0:03:17.936 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:20:23 +0000 (0:00:00.040) 0:03:17.977 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:20:23 +0000 (0:00:00.028) 0:03:18.005 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:20:23 +0000 (0:00:00.026) 0:03:18.032 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:20:23 +0000 (0:00:00.026) 0:03:18.058 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:20:23 +0000 (0:00:00.028) 0:03:18.086 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:20:23 +0000 (0:00:00.028) 0:03:18.114 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:20:23 +0000 (0:00:00.027) 0:03:18.142 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:20:23 +0000 (0:00:00.028) 0:03:18.171 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:20:23 +0000 (0:00:00.430) 0:03:18.601 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:20:24 +0000 (0:00:00.411) 0:03:19.012 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:20:24 +0000 (0:00:00.041) 0:03:19.054 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:20:24 +0000 (0:00:00.042) 0:03:19.097 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:20:24 +0000 (0:00:00.027) 0:03:19.124 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:20:24 +0000 (0:00:00.028) 0:03:19.153 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:20:24 +0000 (0:00:00.029) 0:03:19.182 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:20:24 +0000 (0:00:00.025) 0:03:19.207 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:20:24 +0000 (0:00:00.024) 0:03:19.232 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:20:24 +0000 (0:00:00.036) 0:03:19.268 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:20:24 +0000 (0:00:00.037) 0:03:19.306 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:20:24 +0000 (0:00:00.038) 0:03:19.344 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.040704", "end": "2022-07-21 17:20:24.752234", "rc": 0, "start": "2022-07-21 17:20:24.711530" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:20:24 +0000 (0:00:00.468) 0:03:19.813 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:20:25 +0000 (0:00:00.040) 0:03:19.853 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:20:25 +0000 (0:00:00.045) 0:03:19.898 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:20:25 +0000 (0:00:00.029) 0:03:19.927 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:20:25 +0000 (0:00:00.030) 0:03:19.958 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:20:25 +0000 (0:00:00.028) 0:03:19.987 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:20:25 +0000 (0:00:00.028) 0:03:20.015 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:20:25 +0000 (0:00:00.086) 0:03:20.102 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:20:25 +0000 (0:00:00.022) 0:03:20.125 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "9g"] ********************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:300 Thursday 21 July 2022 17:20:25 +0000 (0:00:00.077) 0:03:20.203 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:20:25 +0000 (0:00:00.122) 0:03:20.325 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:20:25 +0000 (0:00:00.038) 0:03:20.363 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:20:26 +0000 (0:00:00.546) 0:03:20.909 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:20:26 +0000 (0:00:00.065) 0:03:20.974 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:20:26 +0000 (0:00:00.034) 0:03:21.009 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:20:26 +0000 (0:00:00.037) 0:03:21.047 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:20:26 +0000 (0:00:00.058) 0:03:21.105 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:20:26 +0000 (0:00:00.025) 0:03:21.131 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:20:26 +0000 (0:00:00.030) 0:03:21.161 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:20:26 +0000 (0:00:00.039) 0:03:21.200 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:20:26 +0000 (0:00:00.037) 0:03:21.238 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:20:26 +0000 (0:00:00.030) 0:03:21.268 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:20:26 +0000 (0:00:00.031) 0:03:21.299 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:20:26 +0000 (0:00:00.028) 0:03:21.328 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:20:26 +0000 (0:00:00.029) 0:03:21.357 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:20:26 +0000 (0:00:00.054) 0:03:21.412 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:20:26 +0000 (0:00:00.024) 0:03:21.437 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:20:29 +0000 (0:00:02.921) 0:03:24.358 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:20:29 +0000 (0:00:00.030) 0:03:24.389 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:20:29 +0000 (0:00:00.024) 0:03:24.413 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:20:29 +0000 (0:00:00.105) 0:03:24.519 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:20:29 +0000 (0:00:00.106) 0:03:24.625 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:20:29 +0000 (0:00:00.039) 0:03:24.665 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:20:29 +0000 (0:00:00.029) 0:03:24.694 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:20:30 +0000 (0:00:00.753) 0:03:25.448 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:20:31 +0000 (0:00:00.444) 0:03:25.892 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:20:31 +0000 (0:00:00.760) 0:03:26.653 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:20:32 +0000 (0:00:00.415) 0:03:27.068 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:20:32 +0000 (0:00:00.022) 0:03:27.091 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:314 Thursday 21 July 2022 17:20:33 +0000 (0:00:00.957) 0:03:28.048 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:20:33 +0000 (0:00:00.056) 0:03:28.105 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:20:33 +0000 (0:00:00.044) 0:03:28.149 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:20:33 +0000 (0:00:00.029) 0:03:28.179 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "9f41e42d-d856-4370-abf5-3adb11f6a070" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "WgCB6x-dU0e-lW9A-KZ4d-t74g-aLPl-fopA8E" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-16-52-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:20:33 +0000 (0:00:00.441) 0:03:28.620 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003257", "end": "2022-07-21 17:20:34.027425", "rc": 0, "start": "2022-07-21 17:20:34.024168" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:20:34 +0000 (0:00:00.465) 0:03:29.085 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004317", "end": "2022-07-21 17:20:35.500591", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:20:34.496274" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:20:35 +0000 (0:00:01.472) 0:03:30.558 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:20:35 +0000 (0:00:00.059) 0:03:30.617 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:20:35 +0000 (0:00:00.039) 0:03:30.656 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:20:35 +0000 (0:00:00.047) 0:03:30.704 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:20:35 +0000 (0:00:00.047) 0:03:30.751 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.396) 0:03:31.148 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.042) 0:03:31.190 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.042) 0:03:31.233 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.039) 0:03:31.272 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.039) 0:03:31.312 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.040) 0:03:31.353 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.026) 0:03:31.379 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.045) 0:03:31.424 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.041) 0:03:31.466 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.026) 0:03:31.492 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.023) 0:03:31.515 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.022) 0:03:31.538 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.023) 0:03:31.561 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.028) 0:03:31.590 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.026) 0:03:31.616 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.025) 0:03:31.642 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.038) 0:03:31.681 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.048) 0:03:31.729 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.046) 0:03:31.775 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:20:36 +0000 (0:00:00.031) 0:03:31.807 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.039) 0:03:31.847 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.029) 0:03:31.876 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.091) 0:03:31.968 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.044) 0:03:32.012 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.023) 0:03:32.036 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.022) 0:03:32.058 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.022) 0:03:32.081 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.022) 0:03:32.104 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.048) 0:03:32.152 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.039) 0:03:32.192 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.026) 0:03:32.218 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.043) 0:03:32.261 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.039) 0:03:32.300 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.039) 0:03:32.339 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.028) 0:03:32.368 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.027) 0:03:32.395 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.027) 0:03:32.423 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.038) 0:03:32.461 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.039) 0:03:32.501 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.047) 0:03:32.549 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.046) 0:03:32.595 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.023) 0:03:32.619 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.023) 0:03:32.642 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.023) 0:03:32.666 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.024) 0:03:32.691 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.026) 0:03:32.717 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.025) 0:03:32.743 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.023) 0:03:32.766 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:20:37 +0000 (0:00:00.041) 0:03:32.808 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.038) 0:03:32.847 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.044) 0:03:32.892 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.042) 0:03:32.934 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.096) 0:03:33.030 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.092) 0:03:33.122 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2201429, "block_size": 4096, "block_total": 2319399, "block_used": 117970, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9017053184, "size_total": 9500258304, "uuid": "9f41e42d-d856-4370-abf5-3adb11f6a070" } ], "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": "9f41e42d-d856-4370-abf5-3adb11f6a070" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.140) 0:03:33.262 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.039) 0:03:33.302 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.042) 0:03:33.344 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.041) 0:03:33.386 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.028) 0:03:33.415 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.029) 0:03:33.444 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.026) 0:03:33.471 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.040) 0:03:33.511 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.059) 0:03:33.570 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.041) 0:03:33.612 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.041) 0:03:33.654 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.027) 0:03:33.681 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.038) 0:03:33.720 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.042) 0:03:33.762 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:20:38 +0000 (0:00:00.042) 0:03:33.804 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658424030.8323293, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658424029.2413292, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1970, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658424029.2413292, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:20:39 +0000 (0:00:00.438) 0:03:34.243 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:20:39 +0000 (0:00:00.038) 0:03:34.282 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:20:39 +0000 (0:00:00.050) 0:03:34.332 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:20:39 +0000 (0:00:00.040) 0:03:34.372 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:20:39 +0000 (0:00:00.026) 0:03:34.398 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:20:39 +0000 (0:00:00.039) 0:03:34.438 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:20:39 +0000 (0:00:00.026) 0:03:34.464 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:20:41 +0000 (0:00:01.819) 0:03:36.283 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.025) 0:03:36.309 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.035) 0:03:36.344 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.042) 0:03:36.386 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.023) 0:03:36.410 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.024) 0:03:36.435 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.023) 0:03:36.459 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.023) 0:03:36.482 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.023) 0:03:36.506 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.040) 0:03:36.546 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.038) 0:03:36.585 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.024) 0:03:36.609 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.025) 0:03:36.635 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.028) 0:03:36.664 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.033) 0:03:36.697 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.025) 0:03:36.723 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.025) 0:03:36.749 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.030) 0:03:36.779 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:20:41 +0000 (0:00:00.026) 0:03:36.805 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:20:42 +0000 (0:00:00.025) 0:03:36.831 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:20:42 +0000 (0:00:00.031) 0:03:36.863 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:20:42 +0000 (0:00:00.031) 0:03:36.894 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:20:42 +0000 (0:00:00.412) 0:03:37.307 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:20:42 +0000 (0:00:00.481) 0:03:37.789 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:20:43 +0000 (0:00:00.105) 0:03:37.894 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:20:43 +0000 (0:00:00.037) 0:03:37.932 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:20:43 +0000 (0:00:00.026) 0:03:37.958 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:20:43 +0000 (0:00:00.025) 0:03:37.984 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:20:43 +0000 (0:00:00.028) 0:03:38.013 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:20:43 +0000 (0:00:00.078) 0:03:38.091 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:20:43 +0000 (0:00:00.029) 0:03:38.121 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:20:43 +0000 (0:00:00.040) 0:03:38.161 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:20:43 +0000 (0:00:00.041) 0:03:38.202 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:20:43 +0000 (0:00:00.048) 0:03:38.251 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.041195", "end": "2022-07-21 17:20:43.663577", "rc": 0, "start": "2022-07-21 17:20:43.622382" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:20:43 +0000 (0:00:00.475) 0:03:38.726 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:20:43 +0000 (0:00:00.042) 0:03:38.769 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:20:43 +0000 (0:00:00.041) 0:03:38.810 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:20:44 +0000 (0:00:00.030) 0:03:38.841 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:20:44 +0000 (0:00:00.030) 0:03:38.871 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:20:44 +0000 (0:00:00.030) 0:03:38.901 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:20:44 +0000 (0:00:00.028) 0:03:38.930 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:20:44 +0000 (0:00:00.037) 0:03:38.967 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:20:44 +0000 (0:00:00.022) 0:03:38.990 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:316 Thursday 21 July 2022 17:20:44 +0000 (0:00:00.039) 0:03:39.030 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:20:44 +0000 (0:00:00.079) 0:03:39.109 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:20:44 +0000 (0:00:00.036) 0:03:39.145 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:20:44 +0000 (0:00:00.550) 0:03:39.696 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:20:44 +0000 (0:00:00.064) 0:03:39.760 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:20:44 +0000 (0:00:00.035) 0:03:39.796 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:20:45 +0000 (0:00:00.037) 0:03:39.834 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:20:45 +0000 (0:00:00.048) 0:03:39.882 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:20:45 +0000 (0:00:00.022) 0:03:39.904 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:20:45 +0000 (0:00:00.030) 0:03:39.935 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:20:45 +0000 (0:00:00.086) 0:03:40.022 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:20:45 +0000 (0:00:00.035) 0:03:40.057 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:20:45 +0000 (0:00:00.028) 0:03:40.086 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:20:45 +0000 (0:00:00.027) 0:03:40.113 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:20:45 +0000 (0:00:00.031) 0:03:40.145 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:20:45 +0000 (0:00:00.027) 0:03:40.173 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:20:45 +0000 (0:00:00.092) 0:03:40.266 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:20:45 +0000 (0:00:00.068) 0:03:40.334 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:20:48 +0000 (0:00:03.086) 0:03:43.421 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:20:48 +0000 (0:00:00.030) 0:03:43.451 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:20:48 +0000 (0:00:00.025) 0:03:43.476 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:20:48 +0000 (0:00:00.046) 0:03:43.523 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:20:48 +0000 (0:00:00.041) 0:03:43.564 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:20:48 +0000 (0:00:00.043) 0:03:43.608 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:20:48 +0000 (0:00:00.032) 0:03:43.640 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:20:49 +0000 (0:00:00.770) 0:03:44.410 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:20:50 +0000 (0:00:00.454) 0:03:44.865 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:20:50 +0000 (0:00:00.782) 0:03:45.647 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:20:51 +0000 (0:00:00.431) 0:03:46.079 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:20:51 +0000 (0:00:00.025) 0:03:46.104 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:330 Thursday 21 July 2022 17:20:52 +0000 (0:00:00.963) 0:03:47.068 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:20:52 +0000 (0:00:00.063) 0:03:47.131 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:20:52 +0000 (0:00:00.043) 0:03:47.175 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:20:52 +0000 (0:00:00.027) 0:03:47.202 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "9f41e42d-d856-4370-abf5-3adb11f6a070" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "WgCB6x-dU0e-lW9A-KZ4d-t74g-aLPl-fopA8E" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-16-52-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:20:52 +0000 (0:00:00.427) 0:03:47.629 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003064", "end": "2022-07-21 17:20:52.987562", "rc": 0, "start": "2022-07-21 17:20:52.984498" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:20:53 +0000 (0:00:00.418) 0:03:48.048 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003768", "end": "2022-07-21 17:20:53.432462", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:20:53.428694" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:20:53 +0000 (0:00:00.444) 0:03:48.493 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:20:53 +0000 (0:00:00.051) 0:03:48.544 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:20:53 +0000 (0:00:00.092) 0:03:48.636 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:20:53 +0000 (0:00:00.046) 0:03:48.683 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:20:53 +0000 (0:00:00.044) 0:03:48.727 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.415) 0:03:49.143 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.043) 0:03:49.186 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.041) 0:03:49.227 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.042) 0:03:49.270 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.041) 0:03:49.311 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.043) 0:03:49.355 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.025) 0:03:49.380 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.045) 0:03:49.425 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.044) 0:03:49.470 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.024) 0:03:49.495 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.024) 0:03:49.519 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.024) 0:03:49.543 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.029) 0:03:49.572 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.028) 0:03:49.601 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.025) 0:03:49.627 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.025) 0:03:49.653 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.042) 0:03:49.695 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.047) 0:03:49.743 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.046) 0:03:49.789 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:20:54 +0000 (0:00:00.028) 0:03:49.818 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.029) 0:03:49.847 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.030) 0:03:49.878 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.046) 0:03:49.924 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.046) 0:03:49.971 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.026) 0:03:49.998 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.025) 0:03:50.023 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.025) 0:03:50.049 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.077) 0:03:50.126 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.049) 0:03:50.175 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.041) 0:03:50.216 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.031) 0:03:50.247 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.044) 0:03:50.292 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.039) 0:03:50.332 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.045) 0:03:50.378 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.028) 0:03:50.407 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.027) 0:03:50.434 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.026) 0:03:50.461 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.039) 0:03:50.501 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.034) 0:03:50.535 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.046) 0:03:50.582 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.046) 0:03:50.628 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.027) 0:03:50.656 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.025) 0:03:50.682 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.026) 0:03:50.708 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.025) 0:03:50.733 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.025) 0:03:50.758 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.025) 0:03:50.784 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:20:55 +0000 (0:00:00.026) 0:03:50.811 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.036) 0:03:50.847 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.038) 0:03:50.886 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.045) 0:03:50.931 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.039) 0:03:50.971 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.084) 0:03:51.055 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.044) 0:03:51.100 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1222051, "block_size": 4096, "block_total": 1287592, "block_used": 65541, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005520896, "size_total": 5273976832, "uuid": "9f41e42d-d856-4370-abf5-3adb11f6a070" } ], "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": "9f41e42d-d856-4370-abf5-3adb11f6a070" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.049) 0:03:51.149 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.043) 0:03:51.193 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.042) 0:03:51.235 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.041) 0:03:51.277 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.027) 0:03:51.304 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.024) 0:03:51.328 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.024) 0:03:51.353 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.147) 0:03:51.501 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.054) 0:03:51.555 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.043) 0:03:51.598 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.043) 0:03:51.642 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.032) 0:03:51.675 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.036) 0:03:51.712 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.041) 0:03:51.753 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:20:56 +0000 (0:00:00.043) 0:03:51.796 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658424049.8023293, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658424048.2813294, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1970, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658424048.2813294, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:20:57 +0000 (0:00:00.421) 0:03:52.217 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:20:57 +0000 (0:00:00.042) 0:03:52.260 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:20:57 +0000 (0:00:00.042) 0:03:52.302 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:20:57 +0000 (0:00:00.040) 0:03:52.342 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:20:57 +0000 (0:00:00.026) 0:03:52.368 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:20:57 +0000 (0:00:00.042) 0:03:52.411 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:20:57 +0000 (0:00:00.025) 0:03:52.436 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:20:59 +0000 (0:00:01.813) 0:03:54.250 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.027) 0:03:54.277 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.023) 0:03:54.301 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.041) 0:03:54.343 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.025) 0:03:54.368 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.025) 0:03:54.394 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.025) 0:03:54.420 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.024) 0:03:54.445 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.027) 0:03:54.473 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.041) 0:03:54.514 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.042) 0:03:54.557 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.026) 0:03:54.584 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.030) 0:03:54.614 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.027) 0:03:54.642 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.039) 0:03:54.681 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.026) 0:03:54.707 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.030) 0:03:54.738 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.028) 0:03:54.766 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.028) 0:03:54.794 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:20:59 +0000 (0:00:00.029) 0:03:54.823 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:21:00 +0000 (0:00:00.029) 0:03:54.853 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:21:00 +0000 (0:00:00.025) 0:03:54.879 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:21:00 +0000 (0:00:00.446) 0:03:55.325 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:21:00 +0000 (0:00:00.466) 0:03:55.791 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:21:01 +0000 (0:00:00.043) 0:03:55.835 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:21:01 +0000 (0:00:00.043) 0:03:55.879 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:21:01 +0000 (0:00:00.034) 0:03:55.914 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:21:01 +0000 (0:00:00.028) 0:03:55.942 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:21:01 +0000 (0:00:00.026) 0:03:55.969 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:21:01 +0000 (0:00:00.028) 0:03:55.998 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:21:01 +0000 (0:00:00.027) 0:03:56.025 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:21:01 +0000 (0:00:00.039) 0:03:56.065 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:21:01 +0000 (0:00:00.043) 0:03:56.108 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:21:01 +0000 (0:00:00.046) 0:03:56.154 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.049540", "end": "2022-07-21 17:21:01.573498", "rc": 0, "start": "2022-07-21 17:21:01.523958" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:21:01 +0000 (0:00:00.483) 0:03:56.637 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:21:01 +0000 (0:00:00.042) 0:03:56.680 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:21:01 +0000 (0:00:00.055) 0:03:56.736 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:21:01 +0000 (0:00:00.029) 0:03:56.765 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:21:01 +0000 (0:00:00.029) 0:03:56.795 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:21:01 +0000 (0:00:00.029) 0:03:56.824 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:21:02 +0000 (0:00:00.028) 0:03:56.853 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:21:02 +0000 (0:00:00.037) 0:03:56.890 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:21:02 +0000 (0:00:00.022) 0:03:56.913 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:332 Thursday 21 July 2022 17:21:02 +0000 (0:00:00.040) 0:03:56.953 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:21:02 +0000 (0:00:00.083) 0:03:57.036 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:21:02 +0000 (0:00:00.035) 0:03:57.072 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:21:02 +0000 (0:00:00.573) 0:03:57.645 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:21:02 +0000 (0:00:00.123) 0:03:57.769 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:21:03 +0000 (0:00:00.096) 0:03:57.866 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:21:03 +0000 (0:00:00.124) 0:03:57.990 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:21:03 +0000 (0:00:00.050) 0:03:58.041 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:21:03 +0000 (0:00:00.022) 0:03:58.064 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:21:03 +0000 (0:00:00.028) 0:03:58.092 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:21:03 +0000 (0:00:00.037) 0:03:58.130 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:21:03 +0000 (0:00:00.037) 0:03:58.167 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:21:03 +0000 (0:00:00.029) 0:03:58.197 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:21:03 +0000 (0:00:00.030) 0:03:58.228 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:21:03 +0000 (0:00:00.029) 0:03:58.257 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:21:03 +0000 (0:00:00.030) 0:03:58.287 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:21:03 +0000 (0:00:00.050) 0:03:58.338 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:21:03 +0000 (0:00:00.024) 0:03:58.363 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:21:06 +0000 (0:00:02.900) 0:04:01.263 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:21:06 +0000 (0:00:00.029) 0:04:01.293 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:21:06 +0000 (0:00:00.023) 0:04:01.317 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:21:06 +0000 (0:00:00.042) 0:04:01.360 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:21:06 +0000 (0:00:00.051) 0:04:01.411 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:21:06 +0000 (0:00:00.039) 0:04:01.450 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext2'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "fstype": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:21:07 +0000 (0:00:00.446) 0:04:01.896 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:21:07 +0000 (0:00:00.784) 0:04:02.681 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:21:07 +0000 (0:00:00.034) 0:04:02.715 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:21:08 +0000 (0:00:00.760) 0:04:03.475 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:21:09 +0000 (0:00:00.491) 0:04:03.966 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:21:09 +0000 (0:00:00.024) 0:04:03.991 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:345 Thursday 21 July 2022 17:21:10 +0000 (0:00:01.061) 0:04:05.052 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:21:10 +0000 (0:00:00.106) 0:04:05.159 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:21:10 +0000 (0:00:00.041) 0:04:05.201 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:21:10 +0000 (0:00:00.025) 0:04:05.226 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-16-52-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:21:10 +0000 (0:00:00.438) 0:04:05.665 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003321", "end": "2022-07-21 17:21:11.033483", "rc": 0, "start": "2022-07-21 17:21:11.030162" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:21:11 +0000 (0:00:00.430) 0:04:06.095 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003154", "end": "2022-07-21 17:21:11.450886", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:21:11.447732" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:21:11 +0000 (0:00:00.414) 0:04:06.509 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:21:11 +0000 (0:00:00.052) 0:04:06.562 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:21:11 +0000 (0:00:00.034) 0:04:06.597 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:21:11 +0000 (0:00:00.051) 0:04:06.648 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:21:11 +0000 (0:00:00.045) 0:04:06.694 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:21:11 +0000 (0:00:00.023) 0:04:06.718 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:21:11 +0000 (0:00:00.040) 0:04:06.758 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:21:11 +0000 (0:00:00.042) 0:04:06.801 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.042) 0:04:06.843 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.039) 0:04:06.883 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.040) 0:04:06.924 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.025) 0:04:06.949 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.021) 0:04:06.971 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.047) 0:04:07.018 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.026) 0:04:07.045 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.024) 0:04:07.069 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.028) 0:04:07.097 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.031) 0:04:07.129 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.030) 0:04:07.160 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.027) 0:04:07.187 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.026) 0:04:07.214 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.085) 0:04:07.299 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.104) 0:04:07.404 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.045) 0:04:07.449 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.031) 0:04:07.481 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.030) 0:04:07.512 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.031) 0:04:07.543 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.046) 0:04:07.590 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.045) 0:04:07.635 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.026) 0:04:07.662 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.026) 0:04:07.688 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.025) 0:04:07.714 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.026) 0:04:07.740 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:21:12 +0000 (0:00:00.049) 0:04:07.790 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.040) 0:04:07.830 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.022) 0:04:07.853 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.023) 0:04:07.877 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.034) 0:04:07.912 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.052) 0:04:07.964 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.047) 0:04:08.012 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.024) 0:04:08.036 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.024) 0:04:08.061 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.022) 0:04:08.084 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.023) 0:04:08.107 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.023) 0:04:08.130 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.027) 0:04:08.157 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.026) 0:04:08.184 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.037) 0:04:08.221 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.039) 0:04:08.261 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.048) 0:04:08.309 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.039) 0:04:08.348 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.079) 0:04:08.428 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.082) 0:04:08.511 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.085) 0:04:08.596 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.025) 0:04:08.621 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.039) 0:04:08.661 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.029) 0:04:08.691 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.027) 0:04:08.718 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.025) 0:04:08.744 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.023) 0:04:08.768 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:21:13 +0000 (0:00:00.036) 0:04:08.805 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:21:14 +0000 (0:00:00.053) 0:04:08.858 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:21:14 +0000 (0:00:00.031) 0:04:08.889 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:21:14 +0000 (0:00:00.050) 0:04:08.940 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:21:14 +0000 (0:00:00.033) 0:04:08.973 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:21:14 +0000 (0:00:00.036) 0:04:09.010 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:21:14 +0000 (0:00:00.024) 0:04:09.034 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:21:14 +0000 (0:00:00.024) 0:04:09.059 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:21:14 +0000 (0:00:00.430) 0:04:09.490 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:21:14 +0000 (0:00:00.047) 0:04:09.537 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:21:14 +0000 (0:00:00.026) 0:04:09.564 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:21:14 +0000 (0:00:00.037) 0:04:09.602 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:21:14 +0000 (0:00:00.025) 0:04:09.628 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:21:14 +0000 (0:00:00.025) 0:04:09.654 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:21:14 +0000 (0:00:00.027) 0:04:09.681 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:21:16 +0000 (0:00:01.834) 0:04:11.516 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:21:16 +0000 (0:00:00.027) 0:04:11.543 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:21:16 +0000 (0:00:00.025) 0:04:11.569 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:21:16 +0000 (0:00:00.025) 0:04:11.594 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:21:16 +0000 (0:00:00.026) 0:04:11.621 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:21:16 +0000 (0:00:00.026) 0:04:11.647 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:21:16 +0000 (0:00:00.025) 0:04:11.672 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:21:16 +0000 (0:00:00.026) 0:04:11.698 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:21:16 +0000 (0:00:00.027) 0:04:11.726 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:21:16 +0000 (0:00:00.043) 0:04:11.769 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.096) 0:04:11.866 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.029) 0:04:11.896 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.025) 0:04:11.921 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.024) 0:04:11.946 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.088) 0:04:12.034 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.026) 0:04:12.061 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.028) 0:04:12.089 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.029) 0:04:12.119 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.030) 0:04:12.149 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.028) 0:04:12.178 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.026) 0:04:12.204 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.026) 0:04:12.231 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.072) 0:04:12.303 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.027) 0:04:12.330 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.026) 0:04:12.357 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.038) 0:04:12.395 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.027) 0:04:12.423 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.025) 0:04:12.449 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.025) 0:04:12.475 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.025) 0:04:12.501 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.030) 0:04:12.531 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.038) 0:04:12.569 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.039) 0:04:12.609 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.027) 0:04:12.637 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.028) 0:04:12.665 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.033) 0:04:12.698 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.032) 0:04:12.731 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.027) 0:04:12.759 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.029) 0:04:12.789 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:21:17 +0000 (0:00:00.026) 0:04:12.815 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:21:18 +0000 (0:00:00.025) 0:04:12.841 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:21:18 +0000 (0:00:00.040) 0:04:12.881 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:21:18 +0000 (0:00:00.022) 0:04:12.904 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=1246 changed=26 unreachable=0 failed=3 skipped=1005 rescued=3 ignored=0 Thursday 21 July 2022 17:21:18 +0000 (0:00:00.046) 0:04:12.950 ********* =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 3.09s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 3.07s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.94s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.92s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.90s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.90s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.86s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.78s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.72s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.68s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.67s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.60s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.47s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : make sure blivet is available -------------- 2.43s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : get service facts -------------------------- 2.26s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.10s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.00s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.98s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Ensure cryptsetup is present -------------------------------------------- 1.90s /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.86s /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 ------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpdbh6f40u executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_resize_scsi_generated.yml ************************************** 2 plays in /tmp/tmppde4z2jm/tests/storage/tests_resize_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_resize_scsi_generated.yml:3 Thursday 21 July 2022 21:14:26 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_resize_scsi_generated.yml:7 Thursday 21 July 2022 21:14:27 +0000 (0:00:01.328) 0:00:01.340 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:1 Thursday 21 July 2022 21:14:28 +0000 (0:00:00.049) 0:00:01.390 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:18 Thursday 21 July 2022 21:14:28 +0000 (0:00:00.936) 0:00:02.326 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:14:29 +0000 (0:00:00.035) 0:00:02.362 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:14:29 +0000 (0:00:00.029) 0:00:02.391 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:14:29 +0000 (0:00:00.537) 0:00:02.929 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:14:29 +0000 (0:00:00.055) 0:00:02.985 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:14:29 +0000 (0:00:00.031) 0:00:03.017 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:14:29 +0000 (0:00:00.031) 0:00:03.048 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:14:29 +0000 (0:00:00.054) 0:00:03.103 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:14:29 +0000 (0:00:00.017) 0:00:03.121 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:14:32 +0000 (0:00:02.554) 0:00:05.675 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:14:32 +0000 (0:00:00.057) 0:00:05.732 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:14:32 +0000 (0:00:00.053) 0:00:05.786 ********* ok: [/cache/fedora-36.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:14:33 +0000 (0:00:00.804) 0:00:06.590 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 21:14:33 +0000 (0:00:00.045) 0:00:06.636 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 21:14:33 +0000 (0:00:00.079) 0:00:06.715 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 21:14:33 +0000 (0:00:00.034) 0:00:06.749 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:14:33 +0000 (0:00:00.039) 0:00:06.788 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:14:35 +0000 (0:00:02.151) 0:00:08.939 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "bluetooth.service": { "name": "bluetooth.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-os-release.service": { "name": "console-login-helper-messages-gensnippet-os-release.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-ssh-keys.service": { "name": "console-login-helper-messages-gensnippet-ssh-keys.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.bluez.service": { "name": "dbus-org.bluez.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.oom1.service": { "name": "dbus-org.freedesktop.oom1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.resolve1.service": { "name": "dbus-org.freedesktop.resolve1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown-onfailure.service": { "name": "dracut-shutdown-onfailure.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "stopped", "status": "static" }, "fwupd-offline-update.service": { "name": "fwupd-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd-refresh.service": { "name": "fwupd-refresh.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd.service": { "name": "fwupd.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "pcscd.service": { "name": "pcscd.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "stopped", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpmdb-migrate.service": { "name": "rpmdb-migrate.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "selinux-check-proper-disable.service": { "name": "selinux-check-proper-disable.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bless-boot.service": { "name": "systemd-bless-boot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-boot-system-token.service": { "name": "systemd-boot-system-token.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-boot-update.service": { "name": "systemd-boot-update.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-disk-by\\x2duuid-FAAC\\x2dBFC8.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-FAAC\\x2dBFC8.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-disk-by\\x2duuid-cb4982f0\\x2dd861\\x2d4106\\x2dada7\\x2daaeba17ae2bb.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-cb4982f0\\x2dd861\\x2d4106\\x2dada7\\x2daaeba17ae2bb.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-homed-activate.service": { "name": "systemd-homed-activate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-homed.service": { "name": "systemd-homed.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-networkd.service": { "name": "systemd-networkd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-oomd.service": { "name": "systemd-oomd.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-time-wait-sync.service": { "name": "systemd-time-wait-sync.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-userdbd.service": { "name": "systemd-userdbd.service", "source": "systemd", "state": "running", "status": "indirect" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-zram-setup@.service": { "name": "systemd-zram-setup@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-zram-setup@zram0.service": { "name": "systemd-zram-setup@zram0.service", "source": "systemd", "state": "stopped", "status": "active" }, "udisks2.service": { "name": "udisks2.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:14:37 +0000 (0:00:02.182) 0:00:11.122 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:14:37 +0000 (0:00:00.054) 0:00:11.177 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:14:37 +0000 (0:00:00.020) 0:00:11.198 ********* ok: [/cache/fedora-36.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:14:38 +0000 (0:00:00.566) 0:00:11.764 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:14:38 +0000 (0:00:00.034) 0:00:11.798 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:14:38 +0000 (0:00:00.019) 0:00:11.818 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:14:38 +0000 (0:00:00.037) 0:00:11.856 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:14:38 +0000 (0:00:00.037) 0:00:11.893 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:14:38 +0000 (0:00:00.036) 0:00:11.930 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:14:38 +0000 (0:00:00.031) 0:00:11.961 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:14:38 +0000 (0:00:00.021) 0:00:11.983 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:14:38 +0000 (0:00:00.031) 0:00:12.014 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:14:38 +0000 (0:00:00.022) 0:00:12.036 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:14:39 +0000 (0:00:00.543) 0:00:12.580 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:14:39 +0000 (0:00:00.023) 0:00:12.603 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:21 Thursday 21 July 2022 21:14:40 +0000 (0:00:01.014) 0:00:13.618 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:28 Thursday 21 July 2022 21:14:40 +0000 (0:00:00.035) 0:00:13.653 ********* included: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml for /cache/fedora-36.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 21:14:40 +0000 (0:00:00.037) 0:00:13.691 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 21:14:40 +0000 (0:00:00.555) 0:00:14.246 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 21:14:40 +0000 (0:00:00.038) 0:00:14.285 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 21:14:40 +0000 (0:00:00.040) 0:00:14.325 ********* ok: [/cache/fedora-36.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create one LVM logical volume with "5g" under one volume group] ********** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:35 Thursday 21 July 2022 21:14:41 +0000 (0:00:00.034) 0:00:14.360 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:14:41 +0000 (0:00:00.043) 0:00:14.403 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:14:41 +0000 (0:00:00.034) 0:00:14.437 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:14:41 +0000 (0:00:00.541) 0:00:14.979 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:14:41 +0000 (0:00:00.061) 0:00:15.040 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:14:41 +0000 (0:00:00.032) 0:00:15.073 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:14:41 +0000 (0:00:00.030) 0:00:15.104 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:14:41 +0000 (0:00:00.055) 0:00:15.159 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:14:41 +0000 (0:00:00.049) 0:00:15.208 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:14:41 +0000 (0:00:00.028) 0:00:15.237 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:14:41 +0000 (0:00:00.038) 0:00:15.275 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:14:41 +0000 (0:00:00.035) 0:00:15.311 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:14:41 +0000 (0:00:00.027) 0:00:15.338 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:14:42 +0000 (0:00:00.029) 0:00:15.367 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:14:42 +0000 (0:00:00.026) 0:00:15.393 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:14:42 +0000 (0:00:00.026) 0:00:15.419 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:14:42 +0000 (0:00:00.054) 0:00:15.474 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:14:42 +0000 (0:00:00.019) 0:00:15.493 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "btrfs-progs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:14:44 +0000 (0:00:02.691) 0:00:18.185 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:14:44 +0000 (0:00:00.034) 0:00:18.220 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:14:44 +0000 (0:00:00.020) 0:00:18.241 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "btrfs-progs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:14:44 +0000 (0:00:00.037) 0:00:18.278 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:14:44 +0000 (0:00:00.035) 0:00:18.314 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:14:44 +0000 (0:00:00.034) 0:00:18.348 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:14:45 +0000 (0:00:00.037) 0:00:18.385 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:14:46 +0000 (0:00:01.050) 0:00:19.435 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:14:46 +0000 (0:00:00.561) 0:00:19.997 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:14:47 +0000 (0:00:00.775) 0:00:20.773 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:14:47 +0000 (0:00:00.421) 0:00:21.194 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:14:47 +0000 (0:00:00.023) 0:00:21.218 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:50 Thursday 21 July 2022 21:14:48 +0000 (0:00:00.998) 0:00:22.216 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:14:48 +0000 (0:00:00.064) 0:00:22.280 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:14:48 +0000 (0:00:00.047) 0:00:22.327 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:14:49 +0000 (0:00:00.033) 0:00:22.360 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "7b94e6ef-92ff-4562-85f4-ad0bfccb1cf8" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "Kktm0M-ASPl-2O18-VgOk-CMTG-WdZp-30r5tN" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-14-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:14:49 +0000 (0:00:00.512) 0:00:22.873 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003466", "end": "2022-07-21 21:14:49.422338", "rc": 0, "start": "2022-07-21 21:14:49.418872" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:14:50 +0000 (0:00:00.507) 0:00:23.381 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003379", "end": "2022-07-21 21:14:49.817733", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:14:49.814354" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:14:50 +0000 (0:00:00.394) 0:00:23.775 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:14:50 +0000 (0:00:00.059) 0:00:23.835 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:14:50 +0000 (0:00:00.031) 0:00:23.867 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:14:50 +0000 (0:00:00.046) 0:00:23.914 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:14:50 +0000 (0:00:00.055) 0:00:23.969 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.527) 0:00:24.497 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.047) 0:00:24.544 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.047) 0:00:24.591 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.079) 0:00:24.671 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.038) 0:00:24.709 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.048) 0:00:24.758 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.022) 0:00:24.781 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.080) 0:00:24.861 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.042) 0:00:24.904 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.024) 0:00:24.928 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.025) 0:00:24.954 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.058) 0:00:25.012 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.024) 0:00:25.037 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.024) 0:00:25.061 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.024) 0:00:25.085 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.026) 0:00:25.111 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.032) 0:00:25.143 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.045) 0:00:25.189 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.041) 0:00:25.230 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.025) 0:00:25.255 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.025) 0:00:25.281 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.024) 0:00:25.306 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:14:51 +0000 (0:00:00.042) 0:00:25.348 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.041) 0:00:25.389 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.021) 0:00:25.411 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.021) 0:00:25.432 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.022) 0:00:25.455 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.021) 0:00:25.476 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.044) 0:00:25.521 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.045) 0:00:25.566 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.025) 0:00:25.591 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.040) 0:00:25.632 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.059) 0:00:25.691 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.048) 0:00:25.739 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.033) 0:00:25.773 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.035) 0:00:25.809 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.033) 0:00:25.843 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.043) 0:00:25.886 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.036) 0:00:25.922 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.046) 0:00:25.969 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.043) 0:00:26.012 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.021) 0:00:26.034 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.021) 0:00:26.055 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.021) 0:00:26.077 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.051) 0:00:26.128 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.023) 0:00:26.152 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.022) 0:00:26.175 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.023) 0:00:26.198 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.034) 0:00:26.232 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.037) 0:00:26.270 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:14:52 +0000 (0:00:00.043) 0:00:26.313 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.047) 0:00:26.360 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.085) 0:00:26.445 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.038) 0:00:26.483 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1199010, "block_size": 4096, "block_total": 1268648, "block_used": 69638, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911144960, "size_total": 5196382208, "uuid": "7b94e6ef-92ff-4562-85f4-ad0bfccb1cf8" } ], "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": "7b94e6ef-92ff-4562-85f4-ad0bfccb1cf8" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.059) 0:00:26.542 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.049) 0:00:26.592 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.051) 0:00:26.643 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.057) 0:00:26.701 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.025) 0:00:26.726 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.025) 0:00:26.752 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.023) 0:00:26.775 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.041) 0:00:26.817 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.060) 0:00:26.877 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.055) 0:00:26.933 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.059) 0:00:26.993 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.033) 0:00:27.027 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.032) 0:00:27.059 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.035) 0:00:27.095 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:14:53 +0000 (0:00:00.039) 0:00:27.134 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658438086.0477486, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658438084.1607485, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 868, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658438084.1607485, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:14:54 +0000 (0:00:00.419) 0:00:27.553 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:14:54 +0000 (0:00:00.037) 0:00:27.591 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:14:54 +0000 (0:00:00.040) 0:00:27.631 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:14:54 +0000 (0:00:00.036) 0:00:27.667 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:14:54 +0000 (0:00:00.024) 0:00:27.691 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:14:54 +0000 (0:00:00.114) 0:00:27.806 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:14:54 +0000 (0:00:00.024) 0:00:27.831 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:14:56 +0000 (0:00:02.014) 0:00:29.845 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:14:56 +0000 (0:00:00.026) 0:00:29.871 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:14:56 +0000 (0:00:00.024) 0:00:29.896 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:14:56 +0000 (0:00:00.053) 0:00:29.949 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:14:56 +0000 (0:00:00.024) 0:00:29.973 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:14:56 +0000 (0:00:00.024) 0:00:29.998 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:14:56 +0000 (0:00:00.024) 0:00:30.022 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:14:56 +0000 (0:00:00.024) 0:00:30.047 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:14:56 +0000 (0:00:00.026) 0:00:30.073 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:14:56 +0000 (0:00:00.051) 0:00:30.124 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:14:56 +0000 (0:00:00.049) 0:00:30.174 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:14:56 +0000 (0:00:00.037) 0:00:30.212 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:14:56 +0000 (0:00:00.037) 0:00:30.249 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:14:56 +0000 (0:00:00.037) 0:00:30.286 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:14:56 +0000 (0:00:00.036) 0:00:30.323 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:14:57 +0000 (0:00:00.036) 0:00:30.360 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:14:57 +0000 (0:00:00.033) 0:00:30.394 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:14:57 +0000 (0:00:00.036) 0:00:30.431 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:14:57 +0000 (0:00:00.036) 0:00:30.468 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:14:57 +0000 (0:00:00.035) 0:00:30.503 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:14:57 +0000 (0:00:00.037) 0:00:30.541 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:14:57 +0000 (0:00:00.037) 0:00:30.578 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:14:57 +0000 (0:00:00.536) 0:00:31.114 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:14:58 +0000 (0:00:00.485) 0:00:31.600 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:14:58 +0000 (0:00:00.048) 0:00:31.648 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:14:58 +0000 (0:00:00.034) 0:00:31.682 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:14:58 +0000 (0:00:00.038) 0:00:31.721 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:14:58 +0000 (0:00:00.040) 0:00:31.761 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:14:58 +0000 (0:00:00.034) 0:00:31.795 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:14:58 +0000 (0:00:00.034) 0:00:31.830 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:14:58 +0000 (0:00:00.033) 0:00:31.863 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:14:58 +0000 (0:00:00.035) 0:00:31.899 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:14:58 +0000 (0:00:00.031) 0:00:31.931 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:14:58 +0000 (0:00:00.047) 0:00:31.979 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.040160", "end": "2022-07-21 21:14:58.464647", "rc": 0, "start": "2022-07-21 21:14:58.424487" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:14:59 +0000 (0:00:00.443) 0:00:32.422 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:14:59 +0000 (0:00:00.059) 0:00:32.482 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:14:59 +0000 (0:00:00.049) 0:00:32.532 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:14:59 +0000 (0:00:00.036) 0:00:32.568 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:14:59 +0000 (0:00:00.034) 0:00:32.603 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:14:59 +0000 (0:00:00.034) 0:00:32.638 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:14:59 +0000 (0:00:00.033) 0:00:32.671 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:14:59 +0000 (0:00:00.033) 0:00:32.705 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:14:59 +0000 (0:00:00.019) 0:00:32.724 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume_size to "9g"] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:52 Thursday 21 July 2022 21:14:59 +0000 (0:00:00.032) 0:00:32.757 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:14:59 +0000 (0:00:00.047) 0:00:32.804 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:14:59 +0000 (0:00:00.034) 0:00:32.838 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:15:00 +0000 (0:00:00.561) 0:00:33.400 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:15:00 +0000 (0:00:00.064) 0:00:33.464 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:15:00 +0000 (0:00:00.035) 0:00:33.500 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:15:00 +0000 (0:00:00.081) 0:00:33.581 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:15:00 +0000 (0:00:00.056) 0:00:33.637 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:15:00 +0000 (0:00:00.021) 0:00:33.659 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:15:00 +0000 (0:00:00.060) 0:00:33.719 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:15:00 +0000 (0:00:00.036) 0:00:33.756 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:15:00 +0000 (0:00:00.038) 0:00:33.795 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:15:00 +0000 (0:00:00.027) 0:00:33.822 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:15:00 +0000 (0:00:00.026) 0:00:33.849 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:15:00 +0000 (0:00:00.025) 0:00:33.874 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:15:00 +0000 (0:00:00.025) 0:00:33.900 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:15:00 +0000 (0:00:00.053) 0:00:33.953 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:15:00 +0000 (0:00:00.021) 0:00:33.974 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "btrfs-progs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:15:03 +0000 (0:00:02.610) 0:00:36.585 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:15:03 +0000 (0:00:00.039) 0:00:36.624 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:15:03 +0000 (0:00:00.029) 0:00:36.653 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "btrfs-progs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:15:03 +0000 (0:00:00.047) 0:00:36.700 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:15:03 +0000 (0:00:00.042) 0:00:36.743 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:15:03 +0000 (0:00:00.040) 0:00:36.784 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:15:03 +0000 (0:00:00.039) 0:00:36.823 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:15:04 +0000 (0:00:00.776) 0:00:37.600 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:15:04 +0000 (0:00:00.450) 0:00:38.051 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:15:05 +0000 (0:00:00.782) 0:00:38.833 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:15:05 +0000 (0:00:00.461) 0:00:39.294 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:15:05 +0000 (0:00:00.025) 0:00:39.320 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:66 Thursday 21 July 2022 21:15:07 +0000 (0:00:01.045) 0:00:40.365 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:15:07 +0000 (0:00:00.042) 0:00:40.408 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:15:07 +0000 (0:00:00.055) 0:00:40.463 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:15:07 +0000 (0:00:00.040) 0:00:40.504 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "7b94e6ef-92ff-4562-85f4-ad0bfccb1cf8" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "Kktm0M-ASPl-2O18-VgOk-CMTG-WdZp-30r5tN" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-14-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:15:07 +0000 (0:00:00.442) 0:00:40.947 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003283", "end": "2022-07-21 21:15:07.402150", "rc": 0, "start": "2022-07-21 21:15:07.398867" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:15:08 +0000 (0:00:00.414) 0:00:41.361 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003236", "end": "2022-07-21 21:15:07.809263", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:15:07.806027" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:15:08 +0000 (0:00:00.406) 0:00:41.768 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:15:08 +0000 (0:00:00.059) 0:00:41.827 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:15:08 +0000 (0:00:00.033) 0:00:41.861 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:15:08 +0000 (0:00:00.047) 0:00:41.908 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:15:08 +0000 (0:00:00.057) 0:00:41.966 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.409) 0:00:42.375 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.050) 0:00:42.426 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.050) 0:00:42.477 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.050) 0:00:42.528 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.038) 0:00:42.567 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.077) 0:00:42.645 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.026) 0:00:42.671 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.042) 0:00:42.714 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.043) 0:00:42.757 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.025) 0:00:42.783 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.024) 0:00:42.807 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.025) 0:00:42.833 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.023) 0:00:42.856 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.048) 0:00:42.905 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.023) 0:00:42.928 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.022) 0:00:42.950 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.033) 0:00:42.983 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.052) 0:00:43.035 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.043) 0:00:43.079 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.028) 0:00:43.107 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.026) 0:00:43.134 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.025) 0:00:43.159 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.046) 0:00:43.205 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.046) 0:00:43.252 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.026) 0:00:43.279 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.025) 0:00:43.304 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:15:09 +0000 (0:00:00.024) 0:00:43.329 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.025) 0:00:43.355 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.048) 0:00:43.403 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.051) 0:00:43.455 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.028) 0:00:43.483 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.043) 0:00:43.527 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.047) 0:00:43.574 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.048) 0:00:43.622 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.034) 0:00:43.657 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.034) 0:00:43.691 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.034) 0:00:43.726 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.035) 0:00:43.761 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.035) 0:00:43.797 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.049) 0:00:43.847 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.046) 0:00:43.893 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.024) 0:00:43.917 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.025) 0:00:43.943 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.025) 0:00:43.968 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.025) 0:00:43.994 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.024) 0:00:44.018 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.023) 0:00:44.041 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.057) 0:00:44.098 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.044) 0:00:44.143 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.044) 0:00:44.188 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.046) 0:00:44.234 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:15:10 +0000 (0:00:00.050) 0:00:44.285 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:15:11 +0000 (0:00:00.096) 0:00:44.381 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:15:11 +0000 (0:00:00.041) 0:00:44.423 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2178069, "block_size": 4096, "block_total": 2300135, "block_used": 122066, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8921370624, "size_total": 9421352960, "uuid": "7b94e6ef-92ff-4562-85f4-ad0bfccb1cf8" } ], "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": "7b94e6ef-92ff-4562-85f4-ad0bfccb1cf8" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:15:11 +0000 (0:00:00.058) 0:00:44.481 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:15:11 +0000 (0:00:00.052) 0:00:44.534 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:15:11 +0000 (0:00:00.052) 0:00:44.586 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:15:11 +0000 (0:00:00.055) 0:00:44.642 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:15:11 +0000 (0:00:00.024) 0:00:44.666 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:15:11 +0000 (0:00:00.023) 0:00:44.690 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:15:11 +0000 (0:00:00.022) 0:00:44.712 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:15:11 +0000 (0:00:00.035) 0:00:44.747 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:15:11 +0000 (0:00:00.058) 0:00:44.805 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:15:11 +0000 (0:00:00.046) 0:00:44.852 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:15:11 +0000 (0:00:00.047) 0:00:44.899 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:15:11 +0000 (0:00:00.033) 0:00:44.933 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:15:11 +0000 (0:00:00.032) 0:00:44.965 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:15:11 +0000 (0:00:00.036) 0:00:45.002 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:15:11 +0000 (0:00:00.038) 0:00:45.041 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658438104.0907485, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658438102.5687485, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 868, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658438102.5687485, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:15:12 +0000 (0:00:00.693) 0:00:45.734 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:15:12 +0000 (0:00:00.036) 0:00:45.771 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:15:12 +0000 (0:00:00.041) 0:00:45.813 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:15:12 +0000 (0:00:00.034) 0:00:45.847 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:15:12 +0000 (0:00:00.023) 0:00:45.870 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:15:12 +0000 (0:00:00.072) 0:00:45.943 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:15:12 +0000 (0:00:00.060) 0:00:46.003 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:15:14 +0000 (0:00:02.141) 0:00:48.144 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:15:14 +0000 (0:00:00.023) 0:00:48.168 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:15:14 +0000 (0:00:00.022) 0:00:48.190 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:15:14 +0000 (0:00:00.050) 0:00:48.241 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:15:14 +0000 (0:00:00.023) 0:00:48.264 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:15:14 +0000 (0:00:00.021) 0:00:48.286 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:15:14 +0000 (0:00:00.022) 0:00:48.308 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:15:14 +0000 (0:00:00.023) 0:00:48.332 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:15:15 +0000 (0:00:00.021) 0:00:48.354 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:15:15 +0000 (0:00:00.053) 0:00:48.407 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:15:15 +0000 (0:00:00.050) 0:00:48.457 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:15:15 +0000 (0:00:00.034) 0:00:48.492 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:15:15 +0000 (0:00:00.033) 0:00:48.526 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:15:15 +0000 (0:00:00.033) 0:00:48.559 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:15:15 +0000 (0:00:00.034) 0:00:48.593 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:15:15 +0000 (0:00:00.033) 0:00:48.627 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:15:15 +0000 (0:00:00.033) 0:00:48.660 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:15:15 +0000 (0:00:00.033) 0:00:48.694 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:15:15 +0000 (0:00:00.034) 0:00:48.729 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:15:15 +0000 (0:00:00.035) 0:00:48.765 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:15:15 +0000 (0:00:00.037) 0:00:48.802 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:15:15 +0000 (0:00:00.037) 0:00:48.839 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:15:15 +0000 (0:00:00.432) 0:00:49.272 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:15:16 +0000 (0:00:00.456) 0:00:49.729 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:15:16 +0000 (0:00:00.048) 0:00:49.777 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:15:16 +0000 (0:00:00.063) 0:00:49.840 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:15:16 +0000 (0:00:00.035) 0:00:49.875 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:15:16 +0000 (0:00:00.037) 0:00:49.913 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:15:16 +0000 (0:00:00.034) 0:00:49.947 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:15:16 +0000 (0:00:00.033) 0:00:49.981 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:15:16 +0000 (0:00:00.036) 0:00:50.018 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:15:16 +0000 (0:00:00.094) 0:00:50.113 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:15:16 +0000 (0:00:00.035) 0:00:50.148 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:15:16 +0000 (0:00:00.049) 0:00:50.198 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.041849", "end": "2022-07-21 21:15:16.685665", "rc": 0, "start": "2022-07-21 21:15:16.643816" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:15:17 +0000 (0:00:00.448) 0:00:50.646 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:15:17 +0000 (0:00:00.054) 0:00:50.700 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:15:17 +0000 (0:00:00.054) 0:00:50.754 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:15:17 +0000 (0:00:00.042) 0:00:50.797 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:15:17 +0000 (0:00:00.038) 0:00:50.836 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:15:17 +0000 (0:00:00.038) 0:00:50.875 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:15:17 +0000 (0:00:00.040) 0:00:50.915 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:15:17 +0000 (0:00:00.039) 0:00:50.955 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:15:17 +0000 (0:00:00.021) 0:00:50.977 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:68 Thursday 21 July 2022 21:15:17 +0000 (0:00:00.038) 0:00:51.015 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:15:17 +0000 (0:00:00.059) 0:00:51.075 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:15:17 +0000 (0:00:00.037) 0:00:51.112 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:15:18 +0000 (0:00:00.549) 0:00:51.662 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:15:18 +0000 (0:00:00.068) 0:00:51.730 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:15:18 +0000 (0:00:00.037) 0:00:51.768 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:15:18 +0000 (0:00:00.038) 0:00:51.807 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:15:18 +0000 (0:00:00.060) 0:00:51.867 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:15:18 +0000 (0:00:00.022) 0:00:51.890 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:15:18 +0000 (0:00:00.031) 0:00:51.922 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:15:18 +0000 (0:00:00.039) 0:00:51.961 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:15:18 +0000 (0:00:00.094) 0:00:52.056 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:15:18 +0000 (0:00:00.028) 0:00:52.084 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:15:18 +0000 (0:00:00.035) 0:00:52.120 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:15:18 +0000 (0:00:00.033) 0:00:52.154 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:15:18 +0000 (0:00:00.030) 0:00:52.184 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:15:18 +0000 (0:00:00.151) 0:00:52.336 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:15:19 +0000 (0:00:00.022) 0:00:52.358 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "lvm2", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:15:21 +0000 (0:00:02.862) 0:00:55.220 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:15:21 +0000 (0:00:00.036) 0:00:55.257 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:15:21 +0000 (0:00:00.021) 0:00:55.278 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "lvm2", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:15:21 +0000 (0:00:00.038) 0:00:55.316 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:15:22 +0000 (0:00:00.036) 0:00:55.353 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:15:22 +0000 (0:00:00.036) 0:00:55.390 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:15:22 +0000 (0:00:00.036) 0:00:55.426 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:15:22 +0000 (0:00:00.776) 0:00:56.202 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:15:23 +0000 (0:00:00.461) 0:00:56.663 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:15:24 +0000 (0:00:00.791) 0:00:57.454 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:15:24 +0000 (0:00:00.415) 0:00:57.870 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:15:24 +0000 (0:00:00.022) 0:00:57.893 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:82 Thursday 21 July 2022 21:15:25 +0000 (0:00:00.950) 0:00:58.844 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:15:25 +0000 (0:00:00.072) 0:00:58.916 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:15:25 +0000 (0:00:00.048) 0:00:58.965 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:15:25 +0000 (0:00:00.034) 0:00:58.999 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "7b94e6ef-92ff-4562-85f4-ad0bfccb1cf8" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "Kktm0M-ASPl-2O18-VgOk-CMTG-WdZp-30r5tN" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-14-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:15:26 +0000 (0:00:00.417) 0:00:59.417 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003161", "end": "2022-07-21 21:15:25.849761", "rc": 0, "start": "2022-07-21 21:15:25.846600" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:15:26 +0000 (0:00:00.390) 0:00:59.808 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004594", "end": "2022-07-21 21:15:27.245409", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:15:26.240815" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:15:27 +0000 (0:00:01.404) 0:01:01.212 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:15:27 +0000 (0:00:00.058) 0:01:01.271 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:15:27 +0000 (0:00:00.034) 0:01:01.305 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:15:28 +0000 (0:00:00.050) 0:01:01.355 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:15:28 +0000 (0:00:00.085) 0:01:01.441 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:15:28 +0000 (0:00:00.443) 0:01:01.884 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:15:28 +0000 (0:00:00.078) 0:01:01.963 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:15:28 +0000 (0:00:00.091) 0:01:02.054 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:15:28 +0000 (0:00:00.079) 0:01:02.133 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:15:28 +0000 (0:00:00.038) 0:01:02.172 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:15:28 +0000 (0:00:00.049) 0:01:02.221 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:15:28 +0000 (0:00:00.025) 0:01:02.246 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:15:28 +0000 (0:00:00.042) 0:01:02.289 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:15:28 +0000 (0:00:00.042) 0:01:02.332 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.040) 0:01:02.372 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.032) 0:01:02.405 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.023) 0:01:02.428 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.022) 0:01:02.451 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.022) 0:01:02.474 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.024) 0:01:02.498 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.022) 0:01:02.521 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.031) 0:01:02.552 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.050) 0:01:02.602 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.045) 0:01:02.648 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.029) 0:01:02.678 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.029) 0:01:02.707 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.028) 0:01:02.736 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.045) 0:01:02.782 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.041) 0:01:02.823 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.023) 0:01:02.847 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.021) 0:01:02.868 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.021) 0:01:02.890 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.021) 0:01:02.912 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.045) 0:01:02.957 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.047) 0:01:03.005 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.028) 0:01:03.033 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.042) 0:01:03.076 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.050) 0:01:03.126 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.054) 0:01:03.181 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.036) 0:01:03.217 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.037) 0:01:03.255 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:15:29 +0000 (0:00:00.038) 0:01:03.293 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.104) 0:01:03.397 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.036) 0:01:03.434 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.049) 0:01:03.483 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.045) 0:01:03.529 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.024) 0:01:03.554 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.024) 0:01:03.578 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.022) 0:01:03.601 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.021) 0:01:03.622 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.021) 0:01:03.644 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.022) 0:01:03.666 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.023) 0:01:03.689 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.038) 0:01:03.728 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.038) 0:01:03.766 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.044) 0:01:03.810 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.049) 0:01:03.860 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.083) 0:01:03.943 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.043) 0:01:03.987 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1199011, "block_size": 4096, "block_total": 1268648, "block_used": 69637, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911149056, "size_total": 5196382208, "uuid": "7b94e6ef-92ff-4562-85f4-ad0bfccb1cf8" } ], "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": "7b94e6ef-92ff-4562-85f4-ad0bfccb1cf8" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.054) 0:01:04.041 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.048) 0:01:04.090 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.051) 0:01:04.141 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.048) 0:01:04.189 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.023) 0:01:04.213 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.023) 0:01:04.237 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.026) 0:01:04.263 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:15:30 +0000 (0:00:00.039) 0:01:04.303 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:15:31 +0000 (0:00:00.062) 0:01:04.365 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:15:31 +0000 (0:00:00.053) 0:01:04.419 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:15:31 +0000 (0:00:00.051) 0:01:04.470 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:15:31 +0000 (0:00:00.036) 0:01:04.507 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:15:31 +0000 (0:00:00.036) 0:01:04.543 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:15:31 +0000 (0:00:00.040) 0:01:04.584 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:15:31 +0000 (0:00:00.040) 0:01:04.624 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658438122.6957486, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658438121.1617486, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 868, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658438121.1617486, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:15:31 +0000 (0:00:00.460) 0:01:05.085 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:15:31 +0000 (0:00:00.040) 0:01:05.125 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:15:31 +0000 (0:00:00.042) 0:01:05.167 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:15:31 +0000 (0:00:00.036) 0:01:05.204 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:15:31 +0000 (0:00:00.025) 0:01:05.230 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:15:31 +0000 (0:00:00.043) 0:01:05.274 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:15:31 +0000 (0:00:00.024) 0:01:05.299 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:15:33 +0000 (0:00:01.978) 0:01:07.277 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:15:33 +0000 (0:00:00.024) 0:01:07.301 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:15:33 +0000 (0:00:00.023) 0:01:07.325 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.056) 0:01:07.382 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.026) 0:01:07.408 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.023) 0:01:07.431 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.025) 0:01:07.457 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.025) 0:01:07.482 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.025) 0:01:07.507 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.047) 0:01:07.555 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.048) 0:01:07.603 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.039) 0:01:07.642 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.036) 0:01:07.679 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.035) 0:01:07.714 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.034) 0:01:07.748 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.040) 0:01:07.789 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.038) 0:01:07.827 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.034) 0:01:07.862 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.035) 0:01:07.897 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.039) 0:01:07.937 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.038) 0:01:07.975 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:15:34 +0000 (0:00:00.034) 0:01:08.010 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:15:35 +0000 (0:00:00.457) 0:01:08.468 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:15:35 +0000 (0:00:00.425) 0:01:08.894 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:15:35 +0000 (0:00:00.050) 0:01:08.945 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:15:35 +0000 (0:00:00.038) 0:01:08.983 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:15:35 +0000 (0:00:00.037) 0:01:09.021 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:15:35 +0000 (0:00:00.036) 0:01:09.057 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:15:35 +0000 (0:00:00.037) 0:01:09.094 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:15:35 +0000 (0:00:00.042) 0:01:09.137 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:15:35 +0000 (0:00:00.038) 0:01:09.176 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:15:35 +0000 (0:00:00.037) 0:01:09.213 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:15:35 +0000 (0:00:00.038) 0:01:09.251 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:15:35 +0000 (0:00:00.054) 0:01:09.306 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.042491", "end": "2022-07-21 21:15:35.812767", "rc": 0, "start": "2022-07-21 21:15:35.770276" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:15:36 +0000 (0:00:00.466) 0:01:09.773 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:15:36 +0000 (0:00:00.050) 0:01:09.823 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:15:36 +0000 (0:00:00.048) 0:01:09.871 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:15:36 +0000 (0:00:00.035) 0:01:09.906 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:15:36 +0000 (0:00:00.035) 0:01:09.942 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:15:36 +0000 (0:00:00.034) 0:01:09.977 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:15:36 +0000 (0:00:00.034) 0:01:10.011 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:15:36 +0000 (0:00:00.037) 0:01:10.049 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:15:36 +0000 (0:00:00.023) 0:01:10.072 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create LVM with a too-large volume size, resize to "12884901888.0"] *** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:86 Thursday 21 July 2022 21:15:36 +0000 (0:00:00.047) 0:01:10.119 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:15:36 +0000 (0:00:00.040) 0:01:10.160 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:15:36 +0000 (0:00:00.036) 0:01:10.196 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:15:37 +0000 (0:00:00.586) 0:01:10.783 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:15:37 +0000 (0:00:00.062) 0:01:10.845 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:15:37 +0000 (0:00:00.039) 0:01:10.885 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:15:37 +0000 (0:00:00.039) 0:01:10.924 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:15:37 +0000 (0:00:00.058) 0:01:10.982 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:15:37 +0000 (0:00:00.021) 0:01:11.004 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:15:37 +0000 (0:00:00.026) 0:01:11.031 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "12884901888.0" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:15:37 +0000 (0:00:00.041) 0:01:11.073 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:15:37 +0000 (0:00:00.040) 0:01:11.113 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:15:37 +0000 (0:00:00.028) 0:01:11.142 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:15:37 +0000 (0:00:00.026) 0:01:11.168 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:15:37 +0000 (0:00:00.026) 0:01:11.195 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:15:37 +0000 (0:00:00.030) 0:01:11.226 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:15:37 +0000 (0:00:00.044) 0:01:11.270 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:15:37 +0000 (0:00:00.020) 0:01:11.291 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' cannot be resized to '12 GiB' TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 21:15:40 +0000 (0:00:02.107) 0:01:13.398 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' cannot be resized to '12 GiB'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '12884901888.0', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:15:40 +0000 (0:00:00.043) 0:01:13.442 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:104 Thursday 21 July 2022 21:15:40 +0000 (0:00:00.023) 0:01:13.466 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:110 Thursday 21 July 2022 21:15:40 +0000 (0:00:00.036) 0:01:13.502 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Try to create LVM with volume size equal disk's size, resize to "10737418240"] *** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:117 Thursday 21 July 2022 21:15:40 +0000 (0:00:00.044) 0:01:13.546 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:15:40 +0000 (0:00:00.039) 0:01:13.586 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:15:40 +0000 (0:00:00.037) 0:01:13.623 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:15:40 +0000 (0:00:00.607) 0:01:14.231 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:15:41 +0000 (0:00:00.137) 0:01:14.368 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:15:41 +0000 (0:00:00.036) 0:01:14.405 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:15:41 +0000 (0:00:00.037) 0:01:14.443 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:15:41 +0000 (0:00:00.055) 0:01:14.499 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:15:41 +0000 (0:00:00.021) 0:01:14.521 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:15:41 +0000 (0:00:00.028) 0:01:14.550 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "10737418240" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:15:41 +0000 (0:00:00.043) 0:01:14.594 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:15:41 +0000 (0:00:00.038) 0:01:14.632 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:15:41 +0000 (0:00:00.029) 0:01:14.661 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:15:41 +0000 (0:00:00.029) 0:01:14.691 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:15:41 +0000 (0:00:00.032) 0:01:14.724 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:15:41 +0000 (0:00:00.028) 0:01:14.753 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:15:41 +0000 (0:00:00.048) 0:01:14.802 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:15:41 +0000 (0:00:00.022) 0:01:14.824 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:15:44 +0000 (0:00:02.805) 0:01:17.630 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:15:44 +0000 (0:00:00.028) 0:01:17.658 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:15:44 +0000 (0:00:00.022) 0:01:17.680 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:15:44 +0000 (0:00:00.040) 0:01:17.721 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:15:44 +0000 (0:00:00.040) 0:01:17.762 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:15:44 +0000 (0:00:00.036) 0:01:17.799 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:15:44 +0000 (0:00:00.026) 0:01:17.825 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:15:45 +0000 (0:00:00.766) 0:01:18.592 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:15:45 +0000 (0:00:00.441) 0:01:19.033 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:15:46 +0000 (0:00:00.744) 0:01:19.777 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:15:46 +0000 (0:00:00.455) 0:01:20.233 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:15:46 +0000 (0:00:00.024) 0:01:20.257 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:130 Thursday 21 July 2022 21:15:47 +0000 (0:00:01.016) 0:01:21.274 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:15:47 +0000 (0:00:00.036) 0:01:21.311 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:15:48 +0000 (0:00:00.044) 0:01:21.355 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:15:48 +0000 (0:00:00.026) 0:01:21.381 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "10G", "type": "lvm", "uuid": "7b94e6ef-92ff-4562-85f4-ad0bfccb1cf8" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "Kktm0M-ASPl-2O18-VgOk-CMTG-WdZp-30r5tN" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-14-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:15:48 +0000 (0:00:00.427) 0:01:21.809 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003379", "end": "2022-07-21 21:15:48.261627", "rc": 0, "start": "2022-07-21 21:15:48.258248" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:15:48 +0000 (0:00:00.414) 0:01:22.223 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003132", "end": "2022-07-21 21:15:48.674884", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:15:48.671752" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:15:49 +0000 (0:00:00.410) 0:01:22.634 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:15:49 +0000 (0:00:00.049) 0:01:22.683 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:15:49 +0000 (0:00:00.035) 0:01:22.719 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:15:49 +0000 (0:00:00.046) 0:01:22.765 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:15:49 +0000 (0:00:00.046) 0:01:22.812 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:15:49 +0000 (0:00:00.409) 0:01:23.221 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:15:49 +0000 (0:00:00.037) 0:01:23.259 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:15:49 +0000 (0:00:00.038) 0:01:23.298 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:15:49 +0000 (0:00:00.044) 0:01:23.342 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.038) 0:01:23.380 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.073) 0:01:23.453 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.025) 0:01:23.479 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.044) 0:01:23.524 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.042) 0:01:23.567 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.023) 0:01:23.591 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.055) 0:01:23.647 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.024) 0:01:23.671 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.022) 0:01:23.694 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.022) 0:01:23.717 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.024) 0:01:23.741 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.025) 0:01:23.766 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.034) 0:01:23.800 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.043) 0:01:23.844 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.042) 0:01:23.886 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.030) 0:01:23.917 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.027) 0:01:23.944 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.029) 0:01:23.974 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.048) 0:01:24.022 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.050) 0:01:24.073 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.025) 0:01:24.098 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.025) 0:01:24.124 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.025) 0:01:24.149 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.024) 0:01:24.174 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.049) 0:01:24.223 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.040) 0:01:24.264 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.028) 0:01:24.292 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:15:50 +0000 (0:00:00.042) 0:01:24.335 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.036) 0:01:24.371 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.038) 0:01:24.409 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.027) 0:01:24.437 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.028) 0:01:24.466 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.024) 0:01:24.490 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.032) 0:01:24.523 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.033) 0:01:24.556 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.047) 0:01:24.604 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.043) 0:01:24.648 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.022) 0:01:24.670 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.022) 0:01:24.693 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.022) 0:01:24.715 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.023) 0:01:24.739 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.056) 0:01:24.795 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.026) 0:01:24.822 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.024) 0:01:24.847 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.034) 0:01:24.881 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.035) 0:01:24.916 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.040) 0:01:24.956 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.036) 0:01:24.993 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.080) 0:01:25.074 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.041) 0:01:25.115 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2422023, "block_size": 4096, "block_total": 2557143, "block_used": 135120, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9920606208, "size_total": 10474057728, "uuid": "7b94e6ef-92ff-4562-85f4-ad0bfccb1cf8" } ], "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": "7b94e6ef-92ff-4562-85f4-ad0bfccb1cf8" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.045) 0:01:25.161 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.038) 0:01:25.200 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.038) 0:01:25.238 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.037) 0:01:25.276 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.022) 0:01:25.298 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.022) 0:01:25.320 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:15:51 +0000 (0:00:00.023) 0:01:25.343 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:15:52 +0000 (0:00:00.031) 0:01:25.375 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:15:52 +0000 (0:00:00.049) 0:01:25.425 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:15:52 +0000 (0:00:00.037) 0:01:25.463 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:15:52 +0000 (0:00:00.039) 0:01:25.502 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:15:52 +0000 (0:00:00.024) 0:01:25.526 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:15:52 +0000 (0:00:00.033) 0:01:25.560 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:15:52 +0000 (0:00:00.041) 0:01:25.601 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:15:52 +0000 (0:00:00.040) 0:01:25.642 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658438145.0677485, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658438143.6127486, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 868, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658438143.6127486, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:15:52 +0000 (0:00:00.413) 0:01:26.056 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:15:52 +0000 (0:00:00.038) 0:01:26.094 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:15:52 +0000 (0:00:00.037) 0:01:26.132 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:15:52 +0000 (0:00:00.033) 0:01:26.165 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:15:52 +0000 (0:00:00.022) 0:01:26.188 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:15:52 +0000 (0:00:00.037) 0:01:26.226 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:15:52 +0000 (0:00:00.023) 0:01:26.250 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:15:54 +0000 (0:00:02.009) 0:01:28.259 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:15:54 +0000 (0:00:00.052) 0:01:28.312 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:15:54 +0000 (0:00:00.023) 0:01:28.335 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.039) 0:01:28.374 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.022) 0:01:28.397 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.023) 0:01:28.420 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.022) 0:01:28.442 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.022) 0:01:28.465 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.021) 0:01:28.487 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.040) 0:01:28.527 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.034) 0:01:28.562 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.023) 0:01:28.586 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.022) 0:01:28.609 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.024) 0:01:28.633 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.031) 0:01:28.665 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.023) 0:01:28.688 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.023) 0:01:28.712 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.025) 0:01:28.738 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.023) 0:01:28.762 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.024) 0:01:28.786 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.027) 0:01:28.814 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.026) 0:01:28.840 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 10737418240, "changed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:15:55 +0000 (0:00:00.425) 0:01:29.266 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 10737418240, "changed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:15:56 +0000 (0:00:00.409) 0:01:29.675 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "10737418240" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:15:56 +0000 (0:00:00.041) 0:01:29.717 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:15:56 +0000 (0:00:00.036) 0:01:29.753 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:15:56 +0000 (0:00:00.028) 0:01:29.782 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:15:56 +0000 (0:00:00.029) 0:01:29.811 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:15:56 +0000 (0:00:00.026) 0:01:29.838 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:15:56 +0000 (0:00:00.027) 0:01:29.865 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:15:56 +0000 (0:00:00.026) 0:01:29.891 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 10737418240, "changed": false, "failed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:15:56 +0000 (0:00:00.036) 0:01:29.928 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:15:56 +0000 (0:00:00.036) 0:01:29.965 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:15:56 +0000 (0:00:00.073) 0:01:30.039 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.040093", "end": "2022-07-21 21:15:56.570756", "rc": 0, "start": "2022-07-21 21:15:56.530663" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:15:57 +0000 (0:00:00.494) 0:01:30.533 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:15:57 +0000 (0:00:00.041) 0:01:30.575 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:15:57 +0000 (0:00:00.045) 0:01:30.620 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:15:57 +0000 (0:00:00.028) 0:01:30.648 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:15:57 +0000 (0:00:00.027) 0:01:30.676 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:15:57 +0000 (0:00:00.025) 0:01:30.701 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:15:57 +0000 (0:00:00.025) 0:01:30.727 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:15:57 +0000 (0:00:00.040) 0:01:30.767 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:15:57 +0000 (0:00:00.023) 0:01:30.791 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create LVM with an invalid size specification, resize to "xyz GiB"] *** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:134 Thursday 21 July 2022 21:15:57 +0000 (0:00:00.038) 0:01:30.829 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:15:57 +0000 (0:00:00.041) 0:01:30.870 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:15:57 +0000 (0:00:00.037) 0:01:30.908 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:15:58 +0000 (0:00:00.559) 0:01:31.467 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:15:58 +0000 (0:00:00.062) 0:01:31.530 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:15:58 +0000 (0:00:00.035) 0:01:31.565 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:15:58 +0000 (0:00:00.033) 0:01:31.598 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:15:58 +0000 (0:00:00.055) 0:01:31.653 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:15:58 +0000 (0:00:00.021) 0:01:31.675 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:15:58 +0000 (0:00:00.030) 0:01:31.705 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "xyz GiB" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:15:58 +0000 (0:00:00.041) 0:01:31.747 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:15:58 +0000 (0:00:00.041) 0:01:31.789 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:15:58 +0000 (0:00:00.035) 0:01:31.824 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:15:58 +0000 (0:00:00.032) 0:01:31.856 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:15:58 +0000 (0:00:00.031) 0:01:31.887 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:15:58 +0000 (0:00:00.031) 0:01:31.919 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:15:58 +0000 (0:00:00.049) 0:01:31.969 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:15:58 +0000 (0:00:00.023) 0:01:31.992 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: invalid size specification for volume in pool 'foo' TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 21:16:00 +0000 (0:00:02.097) 0:01:34.090 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "invalid size specification for volume in pool 'foo'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': 'ext4', 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 'xyz GiB', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:16:00 +0000 (0:00:00.137) 0:01:34.228 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:152 Thursday 21 July 2022 21:16:00 +0000 (0:00:00.023) 0:01:34.252 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:158 Thursday 21 July 2022 21:16:00 +0000 (0:00:00.038) 0:01:34.291 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Try to create LVM with an invalid size specification, resize to "none"] *** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:165 Thursday 21 July 2022 21:16:00 +0000 (0:00:00.042) 0:01:34.333 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:16:01 +0000 (0:00:00.039) 0:01:34.372 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:16:01 +0000 (0:00:00.035) 0:01:34.407 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:16:01 +0000 (0:00:00.591) 0:01:34.999 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:16:01 +0000 (0:00:00.064) 0:01:35.064 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:16:01 +0000 (0:00:00.037) 0:01:35.101 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:16:01 +0000 (0:00:00.038) 0:01:35.140 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:16:01 +0000 (0:00:00.062) 0:01:35.203 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:16:01 +0000 (0:00:00.022) 0:01:35.225 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:16:01 +0000 (0:00:00.030) 0:01:35.255 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "none" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:16:01 +0000 (0:00:00.040) 0:01:35.296 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:16:01 +0000 (0:00:00.039) 0:01:35.335 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:16:02 +0000 (0:00:00.029) 0:01:35.364 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:16:02 +0000 (0:00:00.030) 0:01:35.395 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:16:02 +0000 (0:00:00.028) 0:01:35.424 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:16:02 +0000 (0:00:00.028) 0:01:35.452 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:16:02 +0000 (0:00:00.046) 0:01:35.498 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:16:02 +0000 (0:00:00.022) 0:01:35.520 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: invalid size specification for volume in pool 'foo' TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 21:16:04 +0000 (0:00:02.017) 0:01:37.538 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "invalid size specification for volume in pool 'foo'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': 'ext4', 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 'none', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:16:04 +0000 (0:00:00.102) 0:01:37.641 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:183 Thursday 21 July 2022 21:16:04 +0000 (0:00:00.024) 0:01:37.665 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:189 Thursday 21 July 2022 21:16:04 +0000 (0:00:00.037) 0:01:37.703 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:194 Thursday 21 July 2022 21:16:04 +0000 (0:00:00.039) 0:01:37.742 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:16:04 +0000 (0:00:00.042) 0:01:37.784 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:16:04 +0000 (0:00:00.036) 0:01:37.821 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:16:05 +0000 (0:00:00.569) 0:01:38.391 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:16:05 +0000 (0:00:00.069) 0:01:38.460 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:16:05 +0000 (0:00:00.038) 0:01:38.499 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:16:05 +0000 (0:00:00.039) 0:01:38.538 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:16:05 +0000 (0:00:00.059) 0:01:38.598 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:16:05 +0000 (0:00:00.022) 0:01:38.620 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:16:05 +0000 (0:00:00.031) 0:01:38.651 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:16:05 +0000 (0:00:00.038) 0:01:38.689 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:16:05 +0000 (0:00:00.038) 0:01:38.728 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:16:05 +0000 (0:00:00.031) 0:01:38.760 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:16:05 +0000 (0:00:00.031) 0:01:38.792 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:16:05 +0000 (0:00:00.028) 0:01:38.821 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:16:05 +0000 (0:00:00.027) 0:01:38.848 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:16:05 +0000 (0:00:00.046) 0:01:38.895 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:16:05 +0000 (0:00:00.025) 0:01:38.920 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "btrfs-progs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:16:08 +0000 (0:00:02.817) 0:01:41.737 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:16:08 +0000 (0:00:00.028) 0:01:41.765 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:16:08 +0000 (0:00:00.021) 0:01:41.787 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "btrfs-progs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:16:08 +0000 (0:00:00.100) 0:01:41.888 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:16:08 +0000 (0:00:00.041) 0:01:41.929 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:16:08 +0000 (0:00:00.038) 0:01:41.967 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:16:09 +0000 (0:00:00.432) 0:01:42.400 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:16:09 +0000 (0:00:00.770) 0:01:43.170 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:16:09 +0000 (0:00:00.030) 0:01:43.201 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:16:10 +0000 (0:00:00.776) 0:01:43.978 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:16:11 +0000 (0:00:00.431) 0:01:44.409 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:16:11 +0000 (0:00:00.024) 0:01:44.434 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:207 Thursday 21 July 2022 21:16:12 +0000 (0:00:01.000) 0:01:45.435 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:16:12 +0000 (0:00:00.042) 0:01:45.478 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:16:12 +0000 (0:00:00.040) 0:01:45.518 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:16:12 +0000 (0:00:00.026) 0:01:45.545 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-14-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:16:12 +0000 (0:00:00.426) 0:01:45.971 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003025", "end": "2022-07-21 21:16:12.411185", "rc": 0, "start": "2022-07-21 21:16:12.408160" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:16:13 +0000 (0:00:00.401) 0:01:46.372 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003313", "end": "2022-07-21 21:16:12.859456", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:16:12.856143" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:16:13 +0000 (0:00:00.447) 0:01:46.820 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:16:13 +0000 (0:00:00.050) 0:01:46.871 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:16:13 +0000 (0:00:00.125) 0:01:46.997 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:16:13 +0000 (0:00:00.049) 0:01:47.046 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:16:13 +0000 (0:00:00.043) 0:01:47.090 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:16:13 +0000 (0:00:00.024) 0:01:47.114 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:16:13 +0000 (0:00:00.040) 0:01:47.155 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:16:13 +0000 (0:00:00.040) 0:01:47.196 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:16:13 +0000 (0:00:00.040) 0:01:47.237 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:16:13 +0000 (0:00:00.040) 0:01:47.277 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:16:13 +0000 (0:00:00.041) 0:01:47.319 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:16:13 +0000 (0:00:00.023) 0:01:47.342 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.020) 0:01:47.363 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.041) 0:01:47.404 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.023) 0:01:47.428 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.026) 0:01:47.454 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.024) 0:01:47.479 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.024) 0:01:47.504 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.024) 0:01:47.529 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.025) 0:01:47.555 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.024) 0:01:47.579 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.035) 0:01:47.615 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.045) 0:01:47.661 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.042) 0:01:47.703 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.028) 0:01:47.732 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.026) 0:01:47.758 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.025) 0:01:47.784 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.042) 0:01:47.827 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.040) 0:01:47.867 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.021) 0:01:47.889 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.021) 0:01:47.911 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.022) 0:01:47.933 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.021) 0:01:47.955 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.044) 0:01:48.000 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.037) 0:01:48.037 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.020) 0:01:48.057 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.019) 0:01:48.077 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.067) 0:01:48.145 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.073) 0:01:48.219 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.043) 0:01:48.262 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.025) 0:01:48.288 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.024) 0:01:48.313 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:16:14 +0000 (0:00:00.023) 0:01:48.336 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.026) 0:01:48.362 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.024) 0:01:48.387 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.024) 0:01:48.411 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.025) 0:01:48.436 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.039) 0:01:48.476 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.034) 0:01:48.511 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.042) 0:01:48.553 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.042) 0:01:48.595 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.079) 0:01:48.674 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.038) 0:01:48.713 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.044) 0:01:48.758 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.025) 0:01:48.783 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.041) 0:01:48.824 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.026) 0:01:48.850 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.023) 0:01:48.874 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.022) 0:01:48.897 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.022) 0:01:48.919 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.031) 0:01:48.951 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.047) 0:01:48.999 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.023) 0:01:49.022 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.036) 0:01:49.059 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.026) 0:01:49.086 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.039) 0:01:49.125 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.031) 0:01:49.156 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:16:15 +0000 (0:00:00.024) 0:01:49.181 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:16:16 +0000 (0:00:00.415) 0:01:49.596 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:16:16 +0000 (0:00:00.119) 0:01:49.715 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:16:16 +0000 (0:00:00.025) 0:01:49.741 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:16:16 +0000 (0:00:00.038) 0:01:49.780 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:16:16 +0000 (0:00:00.023) 0:01:49.803 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:16:16 +0000 (0:00:00.026) 0:01:49.830 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:16:16 +0000 (0:00:00.023) 0:01:49.854 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:16:18 +0000 (0:00:02.026) 0:01:51.880 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:16:18 +0000 (0:00:00.026) 0:01:51.907 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:16:18 +0000 (0:00:00.024) 0:01:51.931 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:16:18 +0000 (0:00:00.022) 0:01:51.953 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:16:18 +0000 (0:00:00.023) 0:01:51.976 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:16:18 +0000 (0:00:00.021) 0:01:51.998 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:16:18 +0000 (0:00:00.021) 0:01:52.020 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:16:18 +0000 (0:00:00.021) 0:01:52.042 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:16:18 +0000 (0:00:00.023) 0:01:52.065 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:16:18 +0000 (0:00:00.041) 0:01:52.107 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:16:18 +0000 (0:00:00.050) 0:01:52.158 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:16:18 +0000 (0:00:00.028) 0:01:52.186 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:16:18 +0000 (0:00:00.026) 0:01:52.213 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:16:18 +0000 (0:00:00.026) 0:01:52.240 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:16:18 +0000 (0:00:00.037) 0:01:52.277 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:16:18 +0000 (0:00:00.027) 0:01:52.305 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:16:18 +0000 (0:00:00.029) 0:01:52.335 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.027) 0:01:52.362 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.026) 0:01:52.389 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.027) 0:01:52.416 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.028) 0:01:52.445 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.027) 0:01:52.472 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.026) 0:01:52.499 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.026) 0:01:52.525 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.026) 0:01:52.552 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.073) 0:01:52.626 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.026) 0:01:52.653 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.029) 0:01:52.683 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.029) 0:01:52.713 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.026) 0:01:52.739 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.025) 0:01:52.765 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.037) 0:01:52.803 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.040) 0:01:52.844 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.025) 0:01:52.869 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.024) 0:01:52.893 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.024) 0:01:52.918 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.025) 0:01:52.944 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.024) 0:01:52.968 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.024) 0:01:52.993 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.024) 0:01:53.017 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.024) 0:01:53.042 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.032) 0:01:53.075 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.020) 0:01:53.096 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a LVM logical volume with "5g" for ext3 FS] *********************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:211 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.038) 0:01:53.134 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.046) 0:01:53.181 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:16:19 +0000 (0:00:00.035) 0:01:53.216 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:16:20 +0000 (0:00:00.547) 0:01:53.764 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:16:20 +0000 (0:00:00.066) 0:01:53.831 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:16:20 +0000 (0:00:00.037) 0:01:53.869 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:16:20 +0000 (0:00:00.037) 0:01:53.906 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:16:20 +0000 (0:00:00.059) 0:01:53.966 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:16:20 +0000 (0:00:00.022) 0:01:53.989 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:16:20 +0000 (0:00:00.030) 0:01:54.019 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:16:20 +0000 (0:00:00.040) 0:01:54.060 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:16:20 +0000 (0:00:00.078) 0:01:54.138 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:16:20 +0000 (0:00:00.029) 0:01:54.168 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:16:20 +0000 (0:00:00.066) 0:01:54.234 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:16:20 +0000 (0:00:00.030) 0:01:54.264 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:16:20 +0000 (0:00:00.030) 0:01:54.294 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:16:20 +0000 (0:00:00.051) 0:01:54.346 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:16:21 +0000 (0:00:00.025) 0:01:54.371 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "btrfs-progs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:16:23 +0000 (0:00:02.643) 0:01:57.014 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:16:23 +0000 (0:00:00.028) 0:01:57.043 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:16:23 +0000 (0:00:00.022) 0:01:57.066 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "btrfs-progs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:16:23 +0000 (0:00:00.043) 0:01:57.109 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:16:23 +0000 (0:00:00.040) 0:01:57.150 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:16:23 +0000 (0:00:00.038) 0:01:57.188 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:16:23 +0000 (0:00:00.027) 0:01:57.215 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:16:24 +0000 (0:00:00.779) 0:01:57.995 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:16:25 +0000 (0:00:00.456) 0:01:58.451 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:16:25 +0000 (0:00:00.770) 0:01:59.221 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:16:26 +0000 (0:00:00.412) 0:01:59.633 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:16:26 +0000 (0:00:00.023) 0:01:59.657 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:225 Thursday 21 July 2022 21:16:27 +0000 (0:00:00.973) 0:02:00.630 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:16:27 +0000 (0:00:00.044) 0:02:00.674 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:16:27 +0000 (0:00:00.131) 0:02:00.806 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:16:27 +0000 (0:00:00.030) 0:02:00.837 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "852f5541-d188-4c33-92f9-02b8a9cfb632" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "Ul9aFN-jICA-FUG0-zJYi-LVKP-HN7z-i4FxoJ" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-14-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:16:27 +0000 (0:00:00.422) 0:02:01.259 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004999", "end": "2022-07-21 21:16:28.720645", "rc": 0, "start": "2022-07-21 21:16:27.715646" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:16:29 +0000 (0:00:01.430) 0:02:02.689 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003192", "end": "2022-07-21 21:16:29.135756", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:16:29.132564" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:16:29 +0000 (0:00:00.411) 0:02:03.101 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:16:29 +0000 (0:00:00.051) 0:02:03.153 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:16:29 +0000 (0:00:00.035) 0:02:03.189 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:16:29 +0000 (0:00:00.047) 0:02:03.236 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:16:29 +0000 (0:00:00.045) 0:02:03.281 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.416) 0:02:03.698 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.038) 0:02:03.737 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.039) 0:02:03.776 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.037) 0:02:03.814 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.042) 0:02:03.856 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.071) 0:02:03.928 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.024) 0:02:03.953 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.040) 0:02:03.993 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.041) 0:02:04.035 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.025) 0:02:04.060 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.025) 0:02:04.086 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.022) 0:02:04.109 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.023) 0:02:04.132 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.052) 0:02:04.185 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.023) 0:02:04.209 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.023) 0:02:04.232 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.033) 0:02:04.266 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:16:30 +0000 (0:00:00.043) 0:02:04.310 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.045) 0:02:04.355 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.026) 0:02:04.382 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.025) 0:02:04.407 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.025) 0:02:04.433 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.044) 0:02:04.478 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.040) 0:02:04.519 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.022) 0:02:04.541 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.024) 0:02:04.566 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.024) 0:02:04.591 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.022) 0:02:04.614 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.052) 0:02:04.666 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.040) 0:02:04.706 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.025) 0:02:04.731 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.041) 0:02:04.772 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.035) 0:02:04.808 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.036) 0:02:04.845 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.026) 0:02:04.871 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.024) 0:02:04.895 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.024) 0:02:04.920 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.036) 0:02:04.956 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.042) 0:02:04.999 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.051) 0:02:05.050 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.048) 0:02:05.098 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.025) 0:02:05.124 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.025) 0:02:05.149 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.024) 0:02:05.174 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.022) 0:02:05.197 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.021) 0:02:05.219 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.021) 0:02:05.241 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:16:31 +0000 (0:00:00.023) 0:02:05.265 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.087) 0:02:05.352 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.037) 0:02:05.390 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.049) 0:02:05.440 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.040) 0:02:05.480 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.083) 0:02:05.564 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.040) 0:02:05.604 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1205649, "block_size": 4096, "block_total": 1271208, "block_used": 65559, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938338304, "size_total": 5206867968, "uuid": "852f5541-d188-4c33-92f9-02b8a9cfb632" } ], "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": "852f5541-d188-4c33-92f9-02b8a9cfb632" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.044) 0:02:05.649 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.040) 0:02:05.689 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.039) 0:02:05.729 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.040) 0:02:05.769 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.023) 0:02:05.793 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.025) 0:02:05.819 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.026) 0:02:05.845 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.038) 0:02:05.883 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.056) 0:02:05.940 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.041) 0:02:05.981 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.042) 0:02:06.024 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.027) 0:02:06.051 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.041) 0:02:06.093 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.040) 0:02:06.133 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:16:32 +0000 (0:00:00.043) 0:02:06.176 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658438184.4937487, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658438182.9777486, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1561, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658438182.9777486, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:16:33 +0000 (0:00:00.465) 0:02:06.642 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:16:33 +0000 (0:00:00.043) 0:02:06.686 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:16:33 +0000 (0:00:00.042) 0:02:06.728 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:16:33 +0000 (0:00:00.041) 0:02:06.769 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:16:33 +0000 (0:00:00.030) 0:02:06.799 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:16:33 +0000 (0:00:00.042) 0:02:06.841 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:16:33 +0000 (0:00:00.025) 0:02:06.867 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:16:35 +0000 (0:00:02.064) 0:02:08.932 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:16:35 +0000 (0:00:00.026) 0:02:08.959 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:16:35 +0000 (0:00:00.026) 0:02:08.985 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:16:35 +0000 (0:00:00.089) 0:02:09.075 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:16:35 +0000 (0:00:00.024) 0:02:09.099 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:16:35 +0000 (0:00:00.026) 0:02:09.126 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:16:35 +0000 (0:00:00.026) 0:02:09.152 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:16:35 +0000 (0:00:00.023) 0:02:09.175 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:16:35 +0000 (0:00:00.022) 0:02:09.198 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:16:35 +0000 (0:00:00.039) 0:02:09.237 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:16:35 +0000 (0:00:00.038) 0:02:09.276 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:16:35 +0000 (0:00:00.023) 0:02:09.299 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:16:35 +0000 (0:00:00.023) 0:02:09.323 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:16:35 +0000 (0:00:00.023) 0:02:09.346 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:16:36 +0000 (0:00:00.035) 0:02:09.381 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:16:36 +0000 (0:00:00.028) 0:02:09.410 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:16:36 +0000 (0:00:00.025) 0:02:09.435 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:16:36 +0000 (0:00:00.024) 0:02:09.459 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:16:36 +0000 (0:00:00.025) 0:02:09.485 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:16:36 +0000 (0:00:00.024) 0:02:09.509 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:16:36 +0000 (0:00:00.024) 0:02:09.533 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:16:36 +0000 (0:00:00.024) 0:02:09.558 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:16:36 +0000 (0:00:00.418) 0:02:09.977 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:16:37 +0000 (0:00:00.431) 0:02:10.408 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:16:37 +0000 (0:00:00.043) 0:02:10.452 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:16:37 +0000 (0:00:00.037) 0:02:10.490 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:16:37 +0000 (0:00:00.028) 0:02:10.519 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:16:37 +0000 (0:00:00.028) 0:02:10.547 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:16:37 +0000 (0:00:00.029) 0:02:10.577 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:16:37 +0000 (0:00:00.027) 0:02:10.604 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:16:37 +0000 (0:00:00.027) 0:02:10.632 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:16:37 +0000 (0:00:00.039) 0:02:10.671 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:16:37 +0000 (0:00:00.040) 0:02:10.712 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:16:37 +0000 (0:00:00.042) 0:02:10.754 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.039682", "end": "2022-07-21 21:16:37.292617", "rc": 0, "start": "2022-07-21 21:16:37.252935" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:16:37 +0000 (0:00:00.541) 0:02:11.295 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:16:37 +0000 (0:00:00.041) 0:02:11.337 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:16:38 +0000 (0:00:00.048) 0:02:11.386 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:16:38 +0000 (0:00:00.029) 0:02:11.416 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:16:38 +0000 (0:00:00.028) 0:02:11.444 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:16:38 +0000 (0:00:00.027) 0:02:11.472 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:16:38 +0000 (0:00:00.028) 0:02:11.500 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:16:38 +0000 (0:00:00.038) 0:02:11.539 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:16:38 +0000 (0:00:00.024) 0:02:11.564 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "9g"] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:227 Thursday 21 July 2022 21:16:38 +0000 (0:00:00.036) 0:02:11.601 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:16:38 +0000 (0:00:00.054) 0:02:11.656 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:16:38 +0000 (0:00:00.037) 0:02:11.693 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:16:38 +0000 (0:00:00.571) 0:02:12.265 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:16:38 +0000 (0:00:00.066) 0:02:12.332 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:16:39 +0000 (0:00:00.036) 0:02:12.368 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:16:39 +0000 (0:00:00.038) 0:02:12.406 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:16:39 +0000 (0:00:00.063) 0:02:12.470 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:16:39 +0000 (0:00:00.023) 0:02:12.494 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:16:39 +0000 (0:00:00.032) 0:02:12.527 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:16:39 +0000 (0:00:00.046) 0:02:12.573 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:16:39 +0000 (0:00:00.039) 0:02:12.612 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:16:39 +0000 (0:00:00.029) 0:02:12.641 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:16:39 +0000 (0:00:00.030) 0:02:12.672 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:16:39 +0000 (0:00:00.030) 0:02:12.703 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:16:39 +0000 (0:00:00.029) 0:02:12.732 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:16:39 +0000 (0:00:00.049) 0:02:12.782 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:16:39 +0000 (0:00:00.022) 0:02:12.804 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "lvm2", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:16:42 +0000 (0:00:03.029) 0:02:15.833 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:16:42 +0000 (0:00:00.027) 0:02:15.861 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:16:42 +0000 (0:00:00.060) 0:02:15.922 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "lvm2", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:16:42 +0000 (0:00:00.040) 0:02:15.962 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:16:42 +0000 (0:00:00.039) 0:02:16.001 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:16:42 +0000 (0:00:00.042) 0:02:16.044 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:16:42 +0000 (0:00:00.029) 0:02:16.074 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:16:43 +0000 (0:00:00.777) 0:02:16.851 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:16:43 +0000 (0:00:00.454) 0:02:17.306 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:16:44 +0000 (0:00:00.758) 0:02:18.064 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:16:45 +0000 (0:00:00.427) 0:02:18.492 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:16:45 +0000 (0:00:00.024) 0:02:18.516 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:241 Thursday 21 July 2022 21:16:46 +0000 (0:00:00.970) 0:02:19.487 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:16:46 +0000 (0:00:00.045) 0:02:19.532 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:16:46 +0000 (0:00:00.037) 0:02:19.569 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:16:46 +0000 (0:00:00.027) 0:02:19.597 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "852f5541-d188-4c33-92f9-02b8a9cfb632" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "Ul9aFN-jICA-FUG0-zJYi-LVKP-HN7z-i4FxoJ" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-14-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:16:46 +0000 (0:00:00.428) 0:02:20.025 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003330", "end": "2022-07-21 21:16:46.473329", "rc": 0, "start": "2022-07-21 21:16:46.469999" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:16:47 +0000 (0:00:00.412) 0:02:20.438 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003099", "end": "2022-07-21 21:16:46.887868", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:16:46.884769" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:16:47 +0000 (0:00:00.412) 0:02:20.850 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:16:47 +0000 (0:00:00.050) 0:02:20.901 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:16:47 +0000 (0:00:00.072) 0:02:20.973 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:16:47 +0000 (0:00:00.049) 0:02:21.023 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:16:47 +0000 (0:00:00.113) 0:02:21.136 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.437) 0:02:21.574 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.040) 0:02:21.615 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.039) 0:02:21.654 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.040) 0:02:21.694 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.040) 0:02:21.734 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.042) 0:02:21.776 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.025) 0:02:21.801 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.041) 0:02:21.843 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.053) 0:02:21.897 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.027) 0:02:21.924 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.025) 0:02:21.949 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.027) 0:02:21.977 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.025) 0:02:22.002 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.022) 0:02:22.025 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.022) 0:02:22.048 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.025) 0:02:22.073 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.039) 0:02:22.112 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.046) 0:02:22.158 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.043) 0:02:22.202 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.027) 0:02:22.230 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.028) 0:02:22.258 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.031) 0:02:22.290 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:16:48 +0000 (0:00:00.046) 0:02:22.337 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.046) 0:02:22.383 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.023) 0:02:22.407 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.023) 0:02:22.431 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.024) 0:02:22.456 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.026) 0:02:22.482 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.048) 0:02:22.530 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.136) 0:02:22.667 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.029) 0:02:22.697 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.044) 0:02:22.742 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.041) 0:02:22.784 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.040) 0:02:22.824 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.026) 0:02:22.851 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.024) 0:02:22.876 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.026) 0:02:22.903 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.031) 0:02:22.935 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.033) 0:02:22.968 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.048) 0:02:23.016 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.046) 0:02:23.062 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.023) 0:02:23.086 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.026) 0:02:23.112 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.024) 0:02:23.136 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.022) 0:02:23.159 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.022) 0:02:23.181 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.023) 0:02:23.205 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.022) 0:02:23.227 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.033) 0:02:23.260 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.035) 0:02:23.296 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:16:49 +0000 (0:00:00.045) 0:02:23.342 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.040) 0:02:23.382 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.079) 0:02:23.462 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.044) 0:02:23.506 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2185028, "block_size": 4096, "block_total": 2303015, "block_used": 117987, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8949874688, "size_total": 9433149440, "uuid": "852f5541-d188-4c33-92f9-02b8a9cfb632" } ], "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": "852f5541-d188-4c33-92f9-02b8a9cfb632" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.044) 0:02:23.550 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.038) 0:02:23.588 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.036) 0:02:23.624 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.039) 0:02:23.663 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.022) 0:02:23.686 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.021) 0:02:23.707 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.021) 0:02:23.729 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.033) 0:02:23.763 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.047) 0:02:23.811 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.075) 0:02:23.886 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.110) 0:02:23.996 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.025) 0:02:24.021 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.034) 0:02:24.056 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.037) 0:02:24.093 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:16:50 +0000 (0:00:00.039) 0:02:24.133 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658438203.3357487, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658438201.8077486, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1561, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658438201.8077486, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:16:51 +0000 (0:00:00.429) 0:02:24.563 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:16:51 +0000 (0:00:00.041) 0:02:24.604 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:16:51 +0000 (0:00:00.039) 0:02:24.643 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:16:51 +0000 (0:00:00.035) 0:02:24.678 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:16:51 +0000 (0:00:00.023) 0:02:24.702 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:16:51 +0000 (0:00:00.038) 0:02:24.741 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:16:51 +0000 (0:00:00.024) 0:02:24.765 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:16:53 +0000 (0:00:02.063) 0:02:26.828 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.024) 0:02:26.853 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.023) 0:02:26.876 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.040) 0:02:26.917 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.024) 0:02:26.941 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.022) 0:02:26.964 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.022) 0:02:26.987 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.022) 0:02:27.010 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.024) 0:02:27.034 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.038) 0:02:27.072 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.037) 0:02:27.109 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.024) 0:02:27.133 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.025) 0:02:27.159 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.024) 0:02:27.183 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.033) 0:02:27.216 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.025) 0:02:27.242 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.025) 0:02:27.268 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.024) 0:02:27.292 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.024) 0:02:27.316 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:16:53 +0000 (0:00:00.024) 0:02:27.340 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:16:54 +0000 (0:00:00.025) 0:02:27.366 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:16:54 +0000 (0:00:00.074) 0:02:27.441 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:16:54 +0000 (0:00:00.430) 0:02:27.871 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:16:54 +0000 (0:00:00.415) 0:02:28.286 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:16:54 +0000 (0:00:00.043) 0:02:28.330 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:16:55 +0000 (0:00:00.038) 0:02:28.368 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:16:55 +0000 (0:00:00.030) 0:02:28.398 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:16:55 +0000 (0:00:00.041) 0:02:28.440 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:16:55 +0000 (0:00:00.027) 0:02:28.467 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:16:55 +0000 (0:00:00.027) 0:02:28.495 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:16:55 +0000 (0:00:00.030) 0:02:28.525 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:16:55 +0000 (0:00:00.038) 0:02:28.564 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:16:55 +0000 (0:00:00.038) 0:02:28.602 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:16:55 +0000 (0:00:00.041) 0:02:28.643 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.044289", "end": "2022-07-21 21:16:55.135871", "rc": 0, "start": "2022-07-21 21:16:55.091582" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:16:55 +0000 (0:00:00.454) 0:02:29.098 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:16:55 +0000 (0:00:00.041) 0:02:29.140 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:16:55 +0000 (0:00:00.043) 0:02:29.184 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:16:55 +0000 (0:00:00.029) 0:02:29.213 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:16:55 +0000 (0:00:00.028) 0:02:29.241 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:16:55 +0000 (0:00:00.028) 0:02:29.269 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:16:55 +0000 (0:00:00.030) 0:02:29.300 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:16:55 +0000 (0:00:00.034) 0:02:29.335 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:16:56 +0000 (0:00:00.022) 0:02:29.357 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:243 Thursday 21 July 2022 21:16:56 +0000 (0:00:00.038) 0:02:29.395 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:16:56 +0000 (0:00:00.054) 0:02:29.450 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:16:56 +0000 (0:00:00.036) 0:02:29.486 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:16:56 +0000 (0:00:00.555) 0:02:30.041 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:16:56 +0000 (0:00:00.065) 0:02:30.106 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:16:56 +0000 (0:00:00.037) 0:02:30.144 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:16:56 +0000 (0:00:00.038) 0:02:30.183 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:16:56 +0000 (0:00:00.059) 0:02:30.242 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:16:56 +0000 (0:00:00.022) 0:02:30.265 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:16:56 +0000 (0:00:00.027) 0:02:30.292 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:16:56 +0000 (0:00:00.039) 0:02:30.332 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:16:57 +0000 (0:00:00.034) 0:02:30.366 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:16:57 +0000 (0:00:00.026) 0:02:30.393 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:16:57 +0000 (0:00:00.026) 0:02:30.419 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:16:57 +0000 (0:00:00.030) 0:02:30.450 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:16:57 +0000 (0:00:00.026) 0:02:30.476 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:16:57 +0000 (0:00:00.046) 0:02:30.523 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:16:57 +0000 (0:00:00.025) 0:02:30.549 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:17:00 +0000 (0:00:03.192) 0:02:33.741 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:17:00 +0000 (0:00:00.025) 0:02:33.767 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:17:00 +0000 (0:00:00.021) 0:02:33.789 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:17:00 +0000 (0:00:00.037) 0:02:33.826 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:17:00 +0000 (0:00:00.043) 0:02:33.870 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:17:00 +0000 (0:00:00.039) 0:02:33.909 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:17:00 +0000 (0:00:00.029) 0:02:33.938 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:17:01 +0000 (0:00:00.781) 0:02:34.720 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:17:01 +0000 (0:00:00.465) 0:02:35.186 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:17:02 +0000 (0:00:00.823) 0:02:36.009 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:17:03 +0000 (0:00:00.460) 0:02:36.469 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:17:03 +0000 (0:00:00.065) 0:02:36.535 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:257 Thursday 21 July 2022 21:17:04 +0000 (0:00:00.992) 0:02:37.527 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:17:04 +0000 (0:00:00.046) 0:02:37.574 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:17:04 +0000 (0:00:00.039) 0:02:37.613 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:17:04 +0000 (0:00:00.024) 0:02:37.638 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "852f5541-d188-4c33-92f9-02b8a9cfb632" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "Ul9aFN-jICA-FUG0-zJYi-LVKP-HN7z-i4FxoJ" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-14-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:17:04 +0000 (0:00:00.417) 0:02:38.055 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003178", "end": "2022-07-21 21:17:04.494184", "rc": 0, "start": "2022-07-21 21:17:04.491006" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:17:05 +0000 (0:00:00.401) 0:02:38.457 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003488", "end": "2022-07-21 21:17:04.908916", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:17:04.905428" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:17:05 +0000 (0:00:00.419) 0:02:38.876 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:17:05 +0000 (0:00:00.049) 0:02:38.926 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:17:05 +0000 (0:00:00.036) 0:02:38.963 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:17:05 +0000 (0:00:00.046) 0:02:39.010 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:17:05 +0000 (0:00:00.081) 0:02:39.091 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.466) 0:02:39.558 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.082) 0:02:39.641 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.116) 0:02:39.757 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.042) 0:02:39.799 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.040) 0:02:39.840 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.042) 0:02:39.883 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.027) 0:02:39.911 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.042) 0:02:39.953 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.041) 0:02:39.995 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.026) 0:02:40.021 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.025) 0:02:40.047 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.023) 0:02:40.070 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.023) 0:02:40.093 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.027) 0:02:40.120 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.023) 0:02:40.144 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.022) 0:02:40.166 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.038) 0:02:40.204 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.045) 0:02:40.250 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.044) 0:02:40.294 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:17:06 +0000 (0:00:00.032) 0:02:40.327 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.029) 0:02:40.356 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.026) 0:02:40.383 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.044) 0:02:40.428 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.042) 0:02:40.470 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.024) 0:02:40.494 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.021) 0:02:40.516 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.021) 0:02:40.538 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.021) 0:02:40.559 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.045) 0:02:40.605 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.036) 0:02:40.641 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.024) 0:02:40.666 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.041) 0:02:40.707 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.036) 0:02:40.743 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.036) 0:02:40.780 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.024) 0:02:40.804 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.025) 0:02:40.830 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.027) 0:02:40.857 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.076) 0:02:40.933 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.078) 0:02:41.012 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.049) 0:02:41.062 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.047) 0:02:41.109 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.026) 0:02:41.135 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.023) 0:02:41.159 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.023) 0:02:41.183 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.022) 0:02:41.205 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.022) 0:02:41.227 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.022) 0:02:41.250 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.027) 0:02:41.277 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:17:07 +0000 (0:00:00.031) 0:02:41.309 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.047) 0:02:41.356 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.042) 0:02:41.399 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.036) 0:02:41.435 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.077) 0:02:41.513 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.043) 0:02:41.557 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1205650, "block_size": 4096, "block_total": 1271208, "block_used": 65558, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938342400, "size_total": 5206867968, "uuid": "852f5541-d188-4c33-92f9-02b8a9cfb632" } ], "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": "852f5541-d188-4c33-92f9-02b8a9cfb632" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.045) 0:02:41.602 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.036) 0:02:41.638 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.036) 0:02:41.675 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.039) 0:02:41.715 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.024) 0:02:41.739 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.025) 0:02:41.764 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.022) 0:02:41.787 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.033) 0:02:41.821 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.050) 0:02:41.871 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.038) 0:02:41.910 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.044) 0:02:41.954 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.027) 0:02:41.981 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.035) 0:02:42.017 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.041) 0:02:42.058 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:17:08 +0000 (0:00:00.052) 0:02:42.110 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658438221.2147486, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658438219.6727486, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1561, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658438219.6727486, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:17:09 +0000 (0:00:00.459) 0:02:42.570 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:17:09 +0000 (0:00:00.038) 0:02:42.609 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:17:09 +0000 (0:00:00.038) 0:02:42.647 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:17:09 +0000 (0:00:00.037) 0:02:42.684 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:17:09 +0000 (0:00:00.022) 0:02:42.706 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:17:09 +0000 (0:00:00.037) 0:02:42.744 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:17:09 +0000 (0:00:00.022) 0:02:42.766 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:17:11 +0000 (0:00:02.031) 0:02:44.798 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.024) 0:02:44.822 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.023) 0:02:44.846 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.038) 0:02:44.884 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.022) 0:02:44.907 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.023) 0:02:44.930 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.024) 0:02:44.955 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.022) 0:02:44.977 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.022) 0:02:45.000 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.039) 0:02:45.039 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.039) 0:02:45.078 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.024) 0:02:45.103 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.024) 0:02:45.127 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.024) 0:02:45.151 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.043) 0:02:45.194 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.028) 0:02:45.223 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.025) 0:02:45.249 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.026) 0:02:45.275 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.028) 0:02:45.304 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:17:11 +0000 (0:00:00.025) 0:02:45.330 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:17:12 +0000 (0:00:00.025) 0:02:45.355 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:17:12 +0000 (0:00:00.025) 0:02:45.380 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:17:12 +0000 (0:00:00.421) 0:02:45.801 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:17:12 +0000 (0:00:00.431) 0:02:46.233 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:17:12 +0000 (0:00:00.073) 0:02:46.306 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:17:13 +0000 (0:00:00.085) 0:02:46.391 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:17:13 +0000 (0:00:00.025) 0:02:46.417 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:17:13 +0000 (0:00:00.070) 0:02:46.487 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:17:13 +0000 (0:00:00.030) 0:02:46.517 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:17:13 +0000 (0:00:00.029) 0:02:46.547 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:17:13 +0000 (0:00:00.028) 0:02:46.575 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:17:13 +0000 (0:00:00.039) 0:02:46.615 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:17:13 +0000 (0:00:00.033) 0:02:46.648 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:17:13 +0000 (0:00:00.042) 0:02:46.691 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.043999", "end": "2022-07-21 21:17:13.193438", "rc": 0, "start": "2022-07-21 21:17:13.149439" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:17:13 +0000 (0:00:00.473) 0:02:47.165 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:17:13 +0000 (0:00:00.044) 0:02:47.210 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:17:13 +0000 (0:00:00.044) 0:02:47.254 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:17:13 +0000 (0:00:00.032) 0:02:47.286 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:17:13 +0000 (0:00:00.027) 0:02:47.314 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:17:13 +0000 (0:00:00.032) 0:02:47.347 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:17:14 +0000 (0:00:00.040) 0:02:47.387 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:17:14 +0000 (0:00:00.042) 0:02:47.429 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:17:14 +0000 (0:00:00.026) 0:02:47.456 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:259 Thursday 21 July 2022 21:17:14 +0000 (0:00:00.038) 0:02:47.494 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:17:14 +0000 (0:00:00.065) 0:02:47.559 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:17:14 +0000 (0:00:00.040) 0:02:47.599 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:17:14 +0000 (0:00:00.556) 0:02:48.155 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:17:14 +0000 (0:00:00.062) 0:02:48.218 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:17:14 +0000 (0:00:00.033) 0:02:48.252 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:17:14 +0000 (0:00:00.034) 0:02:48.286 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:17:14 +0000 (0:00:00.056) 0:02:48.343 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:17:15 +0000 (0:00:00.020) 0:02:48.363 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:17:15 +0000 (0:00:00.027) 0:02:48.390 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:17:15 +0000 (0:00:00.081) 0:02:48.472 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:17:15 +0000 (0:00:00.079) 0:02:48.551 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:17:15 +0000 (0:00:00.029) 0:02:48.581 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:17:15 +0000 (0:00:00.082) 0:02:48.663 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:17:15 +0000 (0:00:00.032) 0:02:48.695 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:17:15 +0000 (0:00:00.030) 0:02:48.725 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:17:15 +0000 (0:00:00.048) 0:02:48.774 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:17:15 +0000 (0:00:00.021) 0:02:48.795 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "ext3", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:17:18 +0000 (0:00:02.925) 0:02:51.721 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:17:18 +0000 (0:00:00.027) 0:02:51.748 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:17:18 +0000 (0:00:00.023) 0:02:51.772 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "ext3", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:17:18 +0000 (0:00:00.043) 0:02:51.815 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:17:18 +0000 (0:00:00.042) 0:02:51.857 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:17:18 +0000 (0:00:00.038) 0:02:51.896 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext3'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "fstype": "ext3", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:17:18 +0000 (0:00:00.445) 0:02:52.341 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:17:19 +0000 (0:00:00.776) 0:02:53.117 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:17:19 +0000 (0:00:00.032) 0:02:53.150 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:17:20 +0000 (0:00:00.769) 0:02:53.919 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:17:20 +0000 (0:00:00.420) 0:02:54.340 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:17:21 +0000 (0:00:00.024) 0:02:54.365 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:272 Thursday 21 July 2022 21:17:22 +0000 (0:00:01.007) 0:02:55.372 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:17:22 +0000 (0:00:00.049) 0:02:55.422 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:17:22 +0000 (0:00:00.110) 0:02:55.533 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:17:22 +0000 (0:00:00.027) 0:02:55.560 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-14-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:17:22 +0000 (0:00:00.438) 0:02:55.999 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003976", "end": "2022-07-21 21:17:22.447604", "rc": 0, "start": "2022-07-21 21:17:22.443628" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:17:23 +0000 (0:00:00.416) 0:02:56.416 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003484", "end": "2022-07-21 21:17:22.866068", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:17:22.862584" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:17:23 +0000 (0:00:00.415) 0:02:56.831 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:17:23 +0000 (0:00:00.048) 0:02:56.880 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:17:23 +0000 (0:00:00.032) 0:02:56.913 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:17:23 +0000 (0:00:00.048) 0:02:56.961 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:17:23 +0000 (0:00:00.039) 0:02:57.001 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:17:23 +0000 (0:00:00.020) 0:02:57.021 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:17:23 +0000 (0:00:00.037) 0:02:57.059 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:17:23 +0000 (0:00:00.039) 0:02:57.099 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:17:23 +0000 (0:00:00.041) 0:02:57.141 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:17:23 +0000 (0:00:00.040) 0:02:57.181 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:17:23 +0000 (0:00:00.039) 0:02:57.221 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:17:23 +0000 (0:00:00.023) 0:02:57.244 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:17:23 +0000 (0:00:00.020) 0:02:57.265 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:17:23 +0000 (0:00:00.052) 0:02:57.317 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:17:23 +0000 (0:00:00.027) 0:02:57.345 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.025) 0:02:57.370 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.022) 0:02:57.392 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.026) 0:02:57.418 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.023) 0:02:57.442 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.025) 0:02:57.467 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.024) 0:02:57.492 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.039) 0:02:57.532 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.043) 0:02:57.575 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.043) 0:02:57.619 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.026) 0:02:57.645 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.026) 0:02:57.672 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.027) 0:02:57.699 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.044) 0:02:57.744 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.043) 0:02:57.788 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.062) 0:02:57.850 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.025) 0:02:57.876 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.024) 0:02:57.900 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.023) 0:02:57.924 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.046) 0:02:57.971 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.041) 0:02:58.012 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.022) 0:02:58.035 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.020) 0:02:58.055 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.033) 0:02:58.089 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.046) 0:02:58.136 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.041) 0:02:58.178 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.022) 0:02:58.200 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.022) 0:02:58.223 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.021) 0:02:58.245 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.021) 0:02:58.267 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.021) 0:02:58.289 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.023) 0:02:58.312 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:17:24 +0000 (0:00:00.021) 0:02:58.334 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.032) 0:02:58.367 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.033) 0:02:58.400 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.044) 0:02:58.445 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.037) 0:02:58.482 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.077) 0:02:58.559 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.038) 0:02:58.598 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.043) 0:02:58.641 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.021) 0:02:58.663 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.036) 0:02:58.699 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.023) 0:02:58.723 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.022) 0:02:58.746 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.021) 0:02:58.767 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.021) 0:02:58.789 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.032) 0:02:58.822 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.049) 0:02:58.872 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.021) 0:02:58.894 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.083) 0:02:58.977 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.062) 0:02:59.040 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.036) 0:02:59.077 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.023) 0:02:59.100 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:17:25 +0000 (0:00:00.023) 0:02:59.124 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:17:26 +0000 (0:00:00.406) 0:02:59.530 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:17:26 +0000 (0:00:00.039) 0:02:59.570 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:17:26 +0000 (0:00:00.023) 0:02:59.594 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:17:26 +0000 (0:00:00.042) 0:02:59.636 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:17:26 +0000 (0:00:00.027) 0:02:59.664 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:17:26 +0000 (0:00:00.025) 0:02:59.690 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:17:26 +0000 (0:00:00.026) 0:02:59.716 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:17:28 +0000 (0:00:01.987) 0:03:01.704 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.026) 0:03:01.730 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.023) 0:03:01.753 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.024) 0:03:01.778 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.024) 0:03:01.802 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.025) 0:03:01.828 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.025) 0:03:01.853 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.026) 0:03:01.880 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.025) 0:03:01.905 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.043) 0:03:01.949 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.039) 0:03:01.988 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.032) 0:03:02.021 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.026) 0:03:02.048 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.026) 0:03:02.074 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.039) 0:03:02.114 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.033) 0:03:02.147 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.028) 0:03:02.176 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.026) 0:03:02.202 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.027) 0:03:02.229 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.031) 0:03:02.260 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.026) 0:03:02.287 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.025) 0:03:02.313 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:17:28 +0000 (0:00:00.024) 0:03:02.338 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.031) 0:03:02.369 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.026) 0:03:02.396 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.039) 0:03:02.435 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.030) 0:03:02.466 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.033) 0:03:02.499 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.027) 0:03:02.527 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.024) 0:03:02.551 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.024) 0:03:02.576 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.037) 0:03:02.613 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.037) 0:03:02.651 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.024) 0:03:02.675 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.022) 0:03:02.697 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.023) 0:03:02.721 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.022) 0:03:02.743 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.026) 0:03:02.770 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.025) 0:03:02.795 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.027) 0:03:02.822 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.025) 0:03:02.848 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.090) 0:03:02.938 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.028) 0:03:02.967 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a LVM logical volume with "5g" for ext2 FS] *********************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:276 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.042) 0:03:03.009 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.121) 0:03:03.130 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:17:29 +0000 (0:00:00.037) 0:03:03.168 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:17:30 +0000 (0:00:00.559) 0:03:03.728 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:17:30 +0000 (0:00:00.065) 0:03:03.794 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:17:30 +0000 (0:00:00.037) 0:03:03.831 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:17:30 +0000 (0:00:00.035) 0:03:03.866 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:17:30 +0000 (0:00:00.057) 0:03:03.924 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:17:30 +0000 (0:00:00.019) 0:03:03.943 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:17:30 +0000 (0:00:00.026) 0:03:03.970 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:17:30 +0000 (0:00:00.039) 0:03:04.009 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:17:30 +0000 (0:00:00.034) 0:03:04.043 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:17:30 +0000 (0:00:00.026) 0:03:04.070 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:17:30 +0000 (0:00:00.026) 0:03:04.097 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:17:30 +0000 (0:00:00.027) 0:03:04.124 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:17:30 +0000 (0:00:00.026) 0:03:04.151 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:17:30 +0000 (0:00:00.045) 0:03:04.196 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:17:30 +0000 (0:00:00.020) 0:03:04.217 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:17:33 +0000 (0:00:02.552) 0:03:06.769 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:17:33 +0000 (0:00:00.026) 0:03:06.795 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:17:33 +0000 (0:00:00.021) 0:03:06.817 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:17:33 +0000 (0:00:00.040) 0:03:06.858 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:17:33 +0000 (0:00:00.036) 0:03:06.894 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:17:33 +0000 (0:00:00.035) 0:03:06.930 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:17:33 +0000 (0:00:00.026) 0:03:06.957 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:17:34 +0000 (0:00:00.786) 0:03:07.743 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:17:34 +0000 (0:00:00.442) 0:03:08.186 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:17:35 +0000 (0:00:00.748) 0:03:08.934 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:17:36 +0000 (0:00:00.461) 0:03:09.396 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:17:36 +0000 (0:00:00.023) 0:03:09.419 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:290 Thursday 21 July 2022 21:17:37 +0000 (0:00:01.063) 0:03:10.483 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:17:37 +0000 (0:00:00.056) 0:03:10.540 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:17:37 +0000 (0:00:00.041) 0:03:10.581 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:17:37 +0000 (0:00:00.028) 0:03:10.609 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "6cfe734c-2c5f-4482-aa96-7711703ffb23" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "iTxgMi-62hI-Dnaz-6JF5-j5zO-hyUA-wfhctn" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-14-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:17:37 +0000 (0:00:00.422) 0:03:11.032 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003461", "end": "2022-07-21 21:17:37.482152", "rc": 0, "start": "2022-07-21 21:17:37.478691" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:17:38 +0000 (0:00:00.415) 0:03:11.447 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003466", "end": "2022-07-21 21:17:37.896777", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:17:37.893311" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:17:38 +0000 (0:00:00.415) 0:03:11.863 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:17:38 +0000 (0:00:00.061) 0:03:11.925 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:17:38 +0000 (0:00:00.041) 0:03:11.966 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:17:38 +0000 (0:00:00.050) 0:03:12.016 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:17:38 +0000 (0:00:00.049) 0:03:12.066 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.406) 0:03:12.473 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.042) 0:03:12.515 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.042) 0:03:12.557 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.040) 0:03:12.598 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.091) 0:03:12.689 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.128) 0:03:12.818 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.027) 0:03:12.845 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.042) 0:03:12.888 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.044) 0:03:12.933 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.028) 0:03:12.961 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.025) 0:03:12.987 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.025) 0:03:13.013 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.026) 0:03:13.039 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.024) 0:03:13.064 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.024) 0:03:13.088 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.023) 0:03:13.112 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.036) 0:03:13.148 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.043) 0:03:13.191 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.042) 0:03:13.234 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.026) 0:03:13.260 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.028) 0:03:13.289 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:17:39 +0000 (0:00:00.030) 0:03:13.319 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.043) 0:03:13.362 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.046) 0:03:13.408 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.024) 0:03:13.432 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.024) 0:03:13.457 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.024) 0:03:13.481 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.025) 0:03:13.507 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.049) 0:03:13.556 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.041) 0:03:13.597 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.029) 0:03:13.627 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.053) 0:03:13.681 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.048) 0:03:13.729 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.038) 0:03:13.768 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.025) 0:03:13.793 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.024) 0:03:13.817 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.025) 0:03:13.842 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.034) 0:03:13.877 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.083) 0:03:13.960 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.089) 0:03:14.050 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.046) 0:03:14.097 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.024) 0:03:14.121 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.026) 0:03:14.148 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.023) 0:03:14.171 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.022) 0:03:14.194 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.026) 0:03:14.220 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.026) 0:03:14.247 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.025) 0:03:14.272 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.037) 0:03:14.310 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:17:40 +0000 (0:00:00.038) 0:03:14.348 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.044) 0:03:14.393 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.041) 0:03:14.434 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.083) 0:03:14.518 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.044) 0:03:14.562 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1222050, "block_size": 4096, "block_total": 1287592, "block_used": 65542, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005516800, "size_total": 5273976832, "uuid": "6cfe734c-2c5f-4482-aa96-7711703ffb23" } ], "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": "6cfe734c-2c5f-4482-aa96-7711703ffb23" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.047) 0:03:14.609 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.041) 0:03:14.651 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.038) 0:03:14.690 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.040) 0:03:14.731 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.022) 0:03:14.753 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.026) 0:03:14.780 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.025) 0:03:14.806 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.040) 0:03:14.846 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.052) 0:03:14.898 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.041) 0:03:14.940 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.041) 0:03:14.981 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.031) 0:03:15.013 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.035) 0:03:15.048 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.038) 0:03:15.086 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:17:41 +0000 (0:00:00.039) 0:03:15.125 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658438254.2327485, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658438252.7247486, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1974, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658438252.7247486, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:17:42 +0000 (0:00:00.424) 0:03:15.550 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:17:42 +0000 (0:00:00.078) 0:03:15.628 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:17:42 +0000 (0:00:00.042) 0:03:15.671 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:17:42 +0000 (0:00:00.038) 0:03:15.709 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:17:42 +0000 (0:00:00.025) 0:03:15.735 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:17:42 +0000 (0:00:00.081) 0:03:15.816 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:17:42 +0000 (0:00:00.070) 0:03:15.886 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:17:44 +0000 (0:00:01.994) 0:03:17.880 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:17:44 +0000 (0:00:00.027) 0:03:17.908 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:17:44 +0000 (0:00:00.025) 0:03:17.933 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:17:44 +0000 (0:00:00.046) 0:03:17.980 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:17:44 +0000 (0:00:00.025) 0:03:18.005 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:17:44 +0000 (0:00:00.026) 0:03:18.031 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:17:44 +0000 (0:00:00.025) 0:03:18.057 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:17:44 +0000 (0:00:00.025) 0:03:18.083 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:17:44 +0000 (0:00:00.024) 0:03:18.108 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:17:44 +0000 (0:00:00.041) 0:03:18.149 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:17:44 +0000 (0:00:00.040) 0:03:18.190 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:17:44 +0000 (0:00:00.027) 0:03:18.217 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:17:44 +0000 (0:00:00.026) 0:03:18.244 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:17:44 +0000 (0:00:00.032) 0:03:18.276 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:17:44 +0000 (0:00:00.033) 0:03:18.309 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:17:44 +0000 (0:00:00.024) 0:03:18.334 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:17:45 +0000 (0:00:00.024) 0:03:18.358 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:17:45 +0000 (0:00:00.027) 0:03:18.386 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:17:45 +0000 (0:00:00.026) 0:03:18.412 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:17:45 +0000 (0:00:00.026) 0:03:18.439 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:17:45 +0000 (0:00:00.030) 0:03:18.469 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:17:45 +0000 (0:00:00.033) 0:03:18.503 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:17:45 +0000 (0:00:00.428) 0:03:18.932 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:17:46 +0000 (0:00:00.444) 0:03:19.376 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:17:46 +0000 (0:00:00.043) 0:03:19.420 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:17:46 +0000 (0:00:00.038) 0:03:19.458 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:17:46 +0000 (0:00:00.026) 0:03:19.485 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:17:46 +0000 (0:00:00.025) 0:03:19.510 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:17:46 +0000 (0:00:00.024) 0:03:19.534 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:17:46 +0000 (0:00:00.024) 0:03:19.559 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:17:46 +0000 (0:00:00.026) 0:03:19.585 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:17:46 +0000 (0:00:00.034) 0:03:19.619 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:17:46 +0000 (0:00:00.035) 0:03:19.655 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:17:46 +0000 (0:00:00.082) 0:03:19.737 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.044490", "end": "2022-07-21 21:17:46.242760", "rc": 0, "start": "2022-07-21 21:17:46.198270" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:17:46 +0000 (0:00:00.474) 0:03:20.212 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:17:46 +0000 (0:00:00.088) 0:03:20.300 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:17:46 +0000 (0:00:00.041) 0:03:20.342 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:17:47 +0000 (0:00:00.028) 0:03:20.370 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:17:47 +0000 (0:00:00.029) 0:03:20.399 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:17:47 +0000 (0:00:00.033) 0:03:20.433 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:17:47 +0000 (0:00:00.088) 0:03:20.521 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:17:47 +0000 (0:00:00.037) 0:03:20.559 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:17:47 +0000 (0:00:00.023) 0:03:20.583 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "9g"] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:292 Thursday 21 July 2022 21:17:47 +0000 (0:00:00.040) 0:03:20.624 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:17:47 +0000 (0:00:00.076) 0:03:20.700 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:17:47 +0000 (0:00:00.038) 0:03:20.738 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:17:47 +0000 (0:00:00.571) 0:03:21.310 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:17:48 +0000 (0:00:00.066) 0:03:21.376 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:17:48 +0000 (0:00:00.037) 0:03:21.414 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:17:48 +0000 (0:00:00.038) 0:03:21.452 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:17:48 +0000 (0:00:00.059) 0:03:21.512 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:17:48 +0000 (0:00:00.022) 0:03:21.534 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:17:48 +0000 (0:00:00.030) 0:03:21.565 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:17:48 +0000 (0:00:00.044) 0:03:21.609 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:17:48 +0000 (0:00:00.039) 0:03:21.649 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:17:48 +0000 (0:00:00.031) 0:03:21.680 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:17:48 +0000 (0:00:00.031) 0:03:21.712 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:17:48 +0000 (0:00:00.032) 0:03:21.745 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:17:48 +0000 (0:00:00.030) 0:03:21.775 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:17:48 +0000 (0:00:00.050) 0:03:21.825 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:17:48 +0000 (0:00:00.031) 0:03:21.857 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:17:51 +0000 (0:00:03.106) 0:03:24.964 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:17:51 +0000 (0:00:00.027) 0:03:24.992 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:17:51 +0000 (0:00:00.022) 0:03:25.015 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:17:51 +0000 (0:00:00.164) 0:03:25.179 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:17:51 +0000 (0:00:00.041) 0:03:25.221 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:17:51 +0000 (0:00:00.041) 0:03:25.263 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:17:51 +0000 (0:00:00.030) 0:03:25.294 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:17:52 +0000 (0:00:00.765) 0:03:26.059 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:17:53 +0000 (0:00:00.457) 0:03:26.516 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:17:53 +0000 (0:00:00.758) 0:03:27.274 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:17:54 +0000 (0:00:00.416) 0:03:27.690 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:17:54 +0000 (0:00:00.024) 0:03:27.714 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:306 Thursday 21 July 2022 21:17:55 +0000 (0:00:00.977) 0:03:28.692 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:17:55 +0000 (0:00:00.055) 0:03:28.748 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:17:55 +0000 (0:00:00.043) 0:03:28.791 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:17:55 +0000 (0:00:00.027) 0:03:28.818 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "6cfe734c-2c5f-4482-aa96-7711703ffb23" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "iTxgMi-62hI-Dnaz-6JF5-j5zO-hyUA-wfhctn" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-14-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:17:55 +0000 (0:00:00.428) 0:03:29.247 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003234", "end": "2022-07-21 21:17:55.689495", "rc": 0, "start": "2022-07-21 21:17:55.686261" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:17:56 +0000 (0:00:00.408) 0:03:29.656 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003136", "end": "2022-07-21 21:17:56.125655", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:17:56.122519" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:17:56 +0000 (0:00:00.434) 0:03:30.090 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:17:56 +0000 (0:00:00.051) 0:03:30.141 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:17:56 +0000 (0:00:00.074) 0:03:30.216 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:17:56 +0000 (0:00:00.046) 0:03:30.263 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:17:57 +0000 (0:00:00.111) 0:03:30.375 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:17:57 +0000 (0:00:00.438) 0:03:30.814 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:17:57 +0000 (0:00:00.040) 0:03:30.854 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:17:57 +0000 (0:00:00.043) 0:03:30.897 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:17:57 +0000 (0:00:00.043) 0:03:30.941 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:17:57 +0000 (0:00:00.040) 0:03:30.981 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:17:57 +0000 (0:00:00.045) 0:03:31.026 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:17:57 +0000 (0:00:00.033) 0:03:31.060 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:17:57 +0000 (0:00:00.049) 0:03:31.110 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:17:57 +0000 (0:00:00.047) 0:03:31.157 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:17:57 +0000 (0:00:00.026) 0:03:31.183 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:17:57 +0000 (0:00:00.025) 0:03:31.208 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:17:57 +0000 (0:00:00.027) 0:03:31.236 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:17:57 +0000 (0:00:00.026) 0:03:31.262 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:17:57 +0000 (0:00:00.025) 0:03:31.288 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:17:57 +0000 (0:00:00.024) 0:03:31.313 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:17:57 +0000 (0:00:00.026) 0:03:31.340 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.034) 0:03:31.374 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.043) 0:03:31.418 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.043) 0:03:31.461 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.028) 0:03:31.490 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.026) 0:03:31.517 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.027) 0:03:31.544 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.043) 0:03:31.588 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.043) 0:03:31.631 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.022) 0:03:31.653 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.024) 0:03:31.678 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.024) 0:03:31.702 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.025) 0:03:31.728 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.045) 0:03:31.773 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.139) 0:03:31.913 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.029) 0:03:31.942 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.041) 0:03:31.984 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.041) 0:03:32.026 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.037) 0:03:32.063 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.024) 0:03:32.088 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.024) 0:03:32.112 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.030) 0:03:32.142 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.036) 0:03:32.179 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.037) 0:03:32.216 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.047) 0:03:32.264 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.043) 0:03:32.308 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:17:58 +0000 (0:00:00.026) 0:03:32.334 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.024) 0:03:32.358 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.024) 0:03:32.383 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.025) 0:03:32.409 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.025) 0:03:32.435 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.024) 0:03:32.460 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.024) 0:03:32.484 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.034) 0:03:32.518 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.035) 0:03:32.554 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.045) 0:03:32.599 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.040) 0:03:32.640 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.080) 0:03:32.720 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.040) 0:03:32.761 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2201429, "block_size": 4096, "block_total": 2319399, "block_used": 117970, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9017053184, "size_total": 9500258304, "uuid": "6cfe734c-2c5f-4482-aa96-7711703ffb23" } ], "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": "6cfe734c-2c5f-4482-aa96-7711703ffb23" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.043) 0:03:32.804 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.040) 0:03:32.844 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.040) 0:03:32.885 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.043) 0:03:32.929 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.023) 0:03:32.952 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.022) 0:03:32.975 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.024) 0:03:32.999 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.036) 0:03:33.036 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.104) 0:03:33.140 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.134) 0:03:33.275 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.040) 0:03:33.316 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:17:59 +0000 (0:00:00.027) 0:03:33.343 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:18:00 +0000 (0:00:00.039) 0:03:33.382 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:18:00 +0000 (0:00:00.044) 0:03:33.426 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:18:00 +0000 (0:00:00.040) 0:03:33.467 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658438272.5447485, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658438270.9337485, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1974, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658438270.9337485, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:18:00 +0000 (0:00:00.428) 0:03:33.895 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:18:00 +0000 (0:00:00.040) 0:03:33.936 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:18:00 +0000 (0:00:00.041) 0:03:33.977 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:18:00 +0000 (0:00:00.039) 0:03:34.016 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:18:00 +0000 (0:00:00.024) 0:03:34.041 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:18:00 +0000 (0:00:00.043) 0:03:34.084 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:18:00 +0000 (0:00:00.026) 0:03:34.111 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:18:02 +0000 (0:00:02.007) 0:03:36.118 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:18:02 +0000 (0:00:00.024) 0:03:36.143 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:18:02 +0000 (0:00:00.025) 0:03:36.168 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:18:02 +0000 (0:00:00.043) 0:03:36.212 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:18:02 +0000 (0:00:00.024) 0:03:36.237 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:18:02 +0000 (0:00:00.024) 0:03:36.261 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:18:02 +0000 (0:00:00.025) 0:03:36.287 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:18:02 +0000 (0:00:00.025) 0:03:36.312 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:18:02 +0000 (0:00:00.026) 0:03:36.338 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:18:03 +0000 (0:00:00.043) 0:03:36.381 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:18:03 +0000 (0:00:00.037) 0:03:36.419 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:18:03 +0000 (0:00:00.025) 0:03:36.444 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:18:03 +0000 (0:00:00.025) 0:03:36.470 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:18:03 +0000 (0:00:00.028) 0:03:36.499 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:18:03 +0000 (0:00:00.032) 0:03:36.532 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:18:03 +0000 (0:00:00.024) 0:03:36.556 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:18:03 +0000 (0:00:00.024) 0:03:36.580 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:18:03 +0000 (0:00:00.028) 0:03:36.609 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:18:03 +0000 (0:00:00.024) 0:03:36.634 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:18:03 +0000 (0:00:00.024) 0:03:36.658 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:18:03 +0000 (0:00:00.028) 0:03:36.687 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:18:03 +0000 (0:00:00.047) 0:03:36.734 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:18:03 +0000 (0:00:00.436) 0:03:37.171 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:18:04 +0000 (0:00:00.478) 0:03:37.649 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:18:04 +0000 (0:00:00.085) 0:03:37.735 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:18:04 +0000 (0:00:00.083) 0:03:37.819 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:18:04 +0000 (0:00:00.026) 0:03:37.845 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:18:04 +0000 (0:00:00.025) 0:03:37.871 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:18:04 +0000 (0:00:00.027) 0:03:37.898 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:18:04 +0000 (0:00:00.087) 0:03:37.986 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:18:04 +0000 (0:00:00.027) 0:03:38.013 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:18:04 +0000 (0:00:00.037) 0:03:38.050 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:18:04 +0000 (0:00:00.042) 0:03:38.093 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:18:04 +0000 (0:00:00.043) 0:03:38.136 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.037073", "end": "2022-07-21 21:18:04.623878", "rc": 0, "start": "2022-07-21 21:18:04.586805" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:18:05 +0000 (0:00:00.457) 0:03:38.594 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:18:05 +0000 (0:00:00.042) 0:03:38.636 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:18:05 +0000 (0:00:00.043) 0:03:38.680 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:18:05 +0000 (0:00:00.029) 0:03:38.709 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:18:05 +0000 (0:00:00.027) 0:03:38.737 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:18:05 +0000 (0:00:00.034) 0:03:38.772 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:18:05 +0000 (0:00:00.029) 0:03:38.802 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:18:05 +0000 (0:00:00.038) 0:03:38.840 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:18:05 +0000 (0:00:00.022) 0:03:38.863 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:308 Thursday 21 July 2022 21:18:05 +0000 (0:00:00.040) 0:03:38.903 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:18:05 +0000 (0:00:00.076) 0:03:38.979 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:18:05 +0000 (0:00:00.037) 0:03:39.017 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:18:06 +0000 (0:00:00.554) 0:03:39.571 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:18:06 +0000 (0:00:00.066) 0:03:39.637 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:18:06 +0000 (0:00:00.037) 0:03:39.674 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:18:06 +0000 (0:00:00.037) 0:03:39.712 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:18:06 +0000 (0:00:00.056) 0:03:39.768 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:18:06 +0000 (0:00:00.020) 0:03:39.789 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:18:06 +0000 (0:00:00.027) 0:03:39.817 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:18:06 +0000 (0:00:00.039) 0:03:39.856 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:18:06 +0000 (0:00:00.034) 0:03:39.890 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:18:06 +0000 (0:00:00.025) 0:03:39.916 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:18:06 +0000 (0:00:00.025) 0:03:39.942 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:18:06 +0000 (0:00:00.065) 0:03:40.007 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:18:06 +0000 (0:00:00.028) 0:03:40.035 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:18:06 +0000 (0:00:00.047) 0:03:40.082 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:18:06 +0000 (0:00:00.021) 0:03:40.104 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "lvm2", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:18:09 +0000 (0:00:03.045) 0:03:43.149 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:18:09 +0000 (0:00:00.028) 0:03:43.178 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:18:09 +0000 (0:00:00.021) 0:03:43.199 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "lvm2", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:18:09 +0000 (0:00:00.040) 0:03:43.240 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:18:09 +0000 (0:00:00.041) 0:03:43.281 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:18:09 +0000 (0:00:00.035) 0:03:43.317 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:18:10 +0000 (0:00:00.032) 0:03:43.350 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:18:10 +0000 (0:00:00.754) 0:03:44.104 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:18:11 +0000 (0:00:00.471) 0:03:44.575 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:18:11 +0000 (0:00:00.748) 0:03:45.324 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:18:12 +0000 (0:00:00.421) 0:03:45.745 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:18:12 +0000 (0:00:00.023) 0:03:45.769 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:322 Thursday 21 July 2022 21:18:13 +0000 (0:00:00.973) 0:03:46.743 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:18:13 +0000 (0:00:00.059) 0:03:46.802 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:18:13 +0000 (0:00:00.118) 0:03:46.921 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:18:13 +0000 (0:00:00.025) 0:03:46.947 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "6cfe734c-2c5f-4482-aa96-7711703ffb23" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "iTxgMi-62hI-Dnaz-6JF5-j5zO-hyUA-wfhctn" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-14-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:18:14 +0000 (0:00:00.433) 0:03:47.381 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003240", "end": "2022-07-21 21:18:13.824630", "rc": 0, "start": "2022-07-21 21:18:13.821390" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:18:14 +0000 (0:00:00.409) 0:03:47.790 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003078", "end": "2022-07-21 21:18:14.226754", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:18:14.223676" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:18:14 +0000 (0:00:00.400) 0:03:48.191 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:18:14 +0000 (0:00:00.052) 0:03:48.244 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:18:14 +0000 (0:00:00.036) 0:03:48.280 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:18:14 +0000 (0:00:00.048) 0:03:48.328 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:18:15 +0000 (0:00:00.047) 0:03:48.376 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:18:15 +0000 (0:00:00.412) 0:03:48.789 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:18:15 +0000 (0:00:00.039) 0:03:48.828 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:18:15 +0000 (0:00:00.040) 0:03:48.868 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:18:15 +0000 (0:00:00.040) 0:03:48.909 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:18:15 +0000 (0:00:00.038) 0:03:48.947 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:18:15 +0000 (0:00:00.041) 0:03:48.989 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:18:15 +0000 (0:00:00.026) 0:03:49.015 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:18:15 +0000 (0:00:00.049) 0:03:49.065 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:18:15 +0000 (0:00:00.043) 0:03:49.109 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:18:15 +0000 (0:00:00.027) 0:03:49.136 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:18:15 +0000 (0:00:00.025) 0:03:49.162 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:18:15 +0000 (0:00:00.032) 0:03:49.195 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:18:15 +0000 (0:00:00.028) 0:03:49.223 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:18:15 +0000 (0:00:00.026) 0:03:49.250 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:18:15 +0000 (0:00:00.027) 0:03:49.277 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:18:15 +0000 (0:00:00.027) 0:03:49.305 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.097) 0:03:49.402 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.047) 0:03:49.449 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.043) 0:03:49.493 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.071) 0:03:49.565 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.031) 0:03:49.596 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.030) 0:03:49.626 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.045) 0:03:49.672 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.044) 0:03:49.717 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.025) 0:03:49.742 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.022) 0:03:49.765 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.022) 0:03:49.787 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.025) 0:03:49.813 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.050) 0:03:49.863 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.041) 0:03:49.904 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.028) 0:03:49.933 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.044) 0:03:49.978 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.040) 0:03:50.018 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.042) 0:03:50.060 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.028) 0:03:50.088 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.025) 0:03:50.114 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.023) 0:03:50.138 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.033) 0:03:50.171 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.035) 0:03:50.206 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.049) 0:03:50.256 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.047) 0:03:50.303 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:18:16 +0000 (0:00:00.023) 0:03:50.326 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.023) 0:03:50.349 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.022) 0:03:50.372 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.026) 0:03:50.398 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.025) 0:03:50.423 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.025) 0:03:50.449 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.024) 0:03:50.474 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.039) 0:03:50.513 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.034) 0:03:50.548 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.040) 0:03:50.588 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.040) 0:03:50.628 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.139) 0:03:50.768 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.041) 0:03:50.809 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1222051, "block_size": 4096, "block_total": 1287592, "block_used": 65541, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005520896, "size_total": 5273976832, "uuid": "6cfe734c-2c5f-4482-aa96-7711703ffb23" } ], "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": "6cfe734c-2c5f-4482-aa96-7711703ffb23" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.049) 0:03:50.859 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.044) 0:03:50.904 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.040) 0:03:50.945 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.042) 0:03:50.987 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.024) 0:03:51.012 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.025) 0:03:51.038 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.024) 0:03:51.062 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.037) 0:03:51.099 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.053) 0:03:51.153 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.042) 0:03:51.195 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.040) 0:03:51.236 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.027) 0:03:51.263 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.035) 0:03:51.298 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:18:17 +0000 (0:00:00.040) 0:03:51.339 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:18:18 +0000 (0:00:00.043) 0:03:51.382 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658438290.6047485, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658438289.0917485, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1974, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658438289.0917485, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:18:18 +0000 (0:00:00.431) 0:03:51.814 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:18:18 +0000 (0:00:00.039) 0:03:51.854 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:18:18 +0000 (0:00:00.042) 0:03:51.896 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:18:18 +0000 (0:00:00.040) 0:03:51.936 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:18:18 +0000 (0:00:00.025) 0:03:51.962 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:18:18 +0000 (0:00:00.036) 0:03:51.999 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:18:18 +0000 (0:00:00.022) 0:03:52.021 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:18:20 +0000 (0:00:02.061) 0:03:54.083 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:18:20 +0000 (0:00:00.026) 0:03:54.109 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:18:20 +0000 (0:00:00.024) 0:03:54.134 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:18:20 +0000 (0:00:00.047) 0:03:54.182 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:18:20 +0000 (0:00:00.024) 0:03:54.207 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:18:20 +0000 (0:00:00.025) 0:03:54.232 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:18:20 +0000 (0:00:00.026) 0:03:54.259 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:18:20 +0000 (0:00:00.025) 0:03:54.285 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:18:20 +0000 (0:00:00.024) 0:03:54.309 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:18:21 +0000 (0:00:00.084) 0:03:54.394 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:18:21 +0000 (0:00:00.041) 0:03:54.435 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:18:21 +0000 (0:00:00.028) 0:03:54.464 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:18:21 +0000 (0:00:00.025) 0:03:54.489 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:18:21 +0000 (0:00:00.024) 0:03:54.513 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:18:21 +0000 (0:00:00.036) 0:03:54.549 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:18:21 +0000 (0:00:00.025) 0:03:54.575 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:18:21 +0000 (0:00:00.026) 0:03:54.601 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:18:21 +0000 (0:00:00.026) 0:03:54.628 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:18:21 +0000 (0:00:00.066) 0:03:54.694 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:18:21 +0000 (0:00:00.028) 0:03:54.722 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:18:21 +0000 (0:00:00.027) 0:03:54.749 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:18:21 +0000 (0:00:00.026) 0:03:54.776 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:18:21 +0000 (0:00:00.425) 0:03:55.202 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:18:22 +0000 (0:00:00.423) 0:03:55.625 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:18:22 +0000 (0:00:00.041) 0:03:55.666 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:18:22 +0000 (0:00:00.035) 0:03:55.701 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:18:22 +0000 (0:00:00.025) 0:03:55.727 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:18:22 +0000 (0:00:00.025) 0:03:55.752 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:18:22 +0000 (0:00:00.026) 0:03:55.778 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:18:22 +0000 (0:00:00.024) 0:03:55.803 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:18:22 +0000 (0:00:00.024) 0:03:55.827 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:18:22 +0000 (0:00:00.035) 0:03:55.863 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:18:22 +0000 (0:00:00.044) 0:03:55.908 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:18:22 +0000 (0:00:00.047) 0:03:55.956 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.049437", "end": "2022-07-21 21:18:22.454754", "rc": 0, "start": "2022-07-21 21:18:22.405317" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:18:23 +0000 (0:00:00.467) 0:03:56.423 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:18:23 +0000 (0:00:00.039) 0:03:56.463 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:18:23 +0000 (0:00:00.041) 0:03:56.504 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:18:23 +0000 (0:00:00.027) 0:03:56.531 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:18:23 +0000 (0:00:00.028) 0:03:56.560 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:18:23 +0000 (0:00:00.025) 0:03:56.585 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:18:23 +0000 (0:00:00.025) 0:03:56.611 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:18:23 +0000 (0:00:00.038) 0:03:56.650 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:18:23 +0000 (0:00:00.025) 0:03:56.676 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:324 Thursday 21 July 2022 21:18:23 +0000 (0:00:00.036) 0:03:56.713 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:18:23 +0000 (0:00:00.136) 0:03:56.849 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:18:23 +0000 (0:00:00.039) 0:03:56.889 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:18:24 +0000 (0:00:00.553) 0:03:57.443 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:18:24 +0000 (0:00:00.066) 0:03:57.510 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:18:24 +0000 (0:00:00.038) 0:03:57.549 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:18:24 +0000 (0:00:00.038) 0:03:57.587 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:18:24 +0000 (0:00:00.058) 0:03:57.646 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:18:24 +0000 (0:00:00.022) 0:03:57.668 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:18:24 +0000 (0:00:00.030) 0:03:57.699 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:18:24 +0000 (0:00:00.040) 0:03:57.740 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:18:24 +0000 (0:00:00.039) 0:03:57.779 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:18:24 +0000 (0:00:00.029) 0:03:57.809 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:18:24 +0000 (0:00:00.031) 0:03:57.840 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:18:24 +0000 (0:00:00.030) 0:03:57.871 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:18:24 +0000 (0:00:00.030) 0:03:57.901 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:18:24 +0000 (0:00:00.050) 0:03:57.952 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:18:24 +0000 (0:00:00.024) 0:03:57.976 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:18:27 +0000 (0:00:02.872) 0:04:00.849 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:18:27 +0000 (0:00:00.025) 0:04:00.875 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:18:27 +0000 (0:00:00.022) 0:04:00.897 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:18:27 +0000 (0:00:00.042) 0:04:00.940 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:18:27 +0000 (0:00:00.083) 0:04:01.023 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:18:27 +0000 (0:00:00.039) 0:04:01.062 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext2'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "fstype": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:18:28 +0000 (0:00:00.495) 0:04:01.558 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:18:29 +0000 (0:00:00.838) 0:04:02.396 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:18:29 +0000 (0:00:00.030) 0:04:02.426 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:18:29 +0000 (0:00:00.782) 0:04:03.209 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:18:30 +0000 (0:00:00.425) 0:04:03.634 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:18:30 +0000 (0:00:00.027) 0:04:03.662 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:337 Thursday 21 July 2022 21:18:31 +0000 (0:00:01.023) 0:04:04.685 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:18:31 +0000 (0:00:00.061) 0:04:04.746 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:18:31 +0000 (0:00:00.047) 0:04:04.794 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:18:31 +0000 (0:00:00.025) 0:04:04.819 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-14-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:18:31 +0000 (0:00:00.411) 0:04:05.231 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003737", "end": "2022-07-21 21:18:31.681159", "rc": 0, "start": "2022-07-21 21:18:31.677422" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:18:32 +0000 (0:00:00.420) 0:04:05.651 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003452", "end": "2022-07-21 21:18:32.134827", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:18:32.131375" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:18:32 +0000 (0:00:00.452) 0:04:06.103 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:18:32 +0000 (0:00:00.050) 0:04:06.154 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:18:32 +0000 (0:00:00.087) 0:04:06.241 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.135) 0:04:06.376 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.045) 0:04:06.421 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.024) 0:04:06.446 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.048) 0:04:06.494 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.039) 0:04:06.533 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.039) 0:04:06.573 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.038) 0:04:06.611 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.036) 0:04:06.648 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.023) 0:04:06.671 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.021) 0:04:06.693 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.042) 0:04:06.735 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.023) 0:04:06.758 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.022) 0:04:06.781 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.023) 0:04:06.805 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.023) 0:04:06.828 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.023) 0:04:06.851 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.025) 0:04:06.877 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.026) 0:04:06.904 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.036) 0:04:06.941 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.045) 0:04:06.987 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.046) 0:04:07.033 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.030) 0:04:07.063 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.029) 0:04:07.092 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.029) 0:04:07.122 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.046) 0:04:07.169 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.060) 0:04:07.230 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.027) 0:04:07.258 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.026) 0:04:07.284 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.025) 0:04:07.309 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:18:33 +0000 (0:00:00.024) 0:04:07.334 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.049) 0:04:07.384 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.042) 0:04:07.426 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.022) 0:04:07.449 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.025) 0:04:07.474 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.098) 0:04:07.573 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.105) 0:04:07.678 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.046) 0:04:07.725 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.025) 0:04:07.751 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.027) 0:04:07.778 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.026) 0:04:07.804 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.027) 0:04:07.832 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.025) 0:04:07.857 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.025) 0:04:07.883 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.026) 0:04:07.909 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.038) 0:04:07.948 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.032) 0:04:07.980 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.039) 0:04:08.020 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.044) 0:04:08.064 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.080) 0:04:08.145 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.038) 0:04:08.183 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.042) 0:04:08.226 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.022) 0:04:08.248 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.039) 0:04:08.288 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.025) 0:04:08.313 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:18:34 +0000 (0:00:00.025) 0:04:08.338 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:18:35 +0000 (0:00:00.023) 0:04:08.362 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:18:35 +0000 (0:00:00.026) 0:04:08.389 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:18:35 +0000 (0:00:00.035) 0:04:08.425 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:18:35 +0000 (0:00:00.054) 0:04:08.479 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:18:35 +0000 (0:00:00.023) 0:04:08.503 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:18:35 +0000 (0:00:00.041) 0:04:08.545 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:18:35 +0000 (0:00:00.026) 0:04:08.572 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:18:35 +0000 (0:00:00.035) 0:04:08.607 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:18:35 +0000 (0:00:00.022) 0:04:08.630 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:18:35 +0000 (0:00:00.025) 0:04:08.655 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:18:35 +0000 (0:00:00.404) 0:04:09.059 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:18:35 +0000 (0:00:00.144) 0:04:09.203 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:18:35 +0000 (0:00:00.031) 0:04:09.235 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:18:35 +0000 (0:00:00.041) 0:04:09.276 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:18:35 +0000 (0:00:00.026) 0:04:09.302 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:18:35 +0000 (0:00:00.026) 0:04:09.329 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:18:36 +0000 (0:00:00.025) 0:04:09.354 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:18:37 +0000 (0:00:01.977) 0:04:11.331 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.027) 0:04:11.359 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.027) 0:04:11.386 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.025) 0:04:11.412 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.025) 0:04:11.437 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.028) 0:04:11.466 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.025) 0:04:11.492 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.024) 0:04:11.517 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.024) 0:04:11.541 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.046) 0:04:11.588 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.041) 0:04:11.629 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.028) 0:04:11.657 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.028) 0:04:11.685 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.028) 0:04:11.713 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.032) 0:04:11.746 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.024) 0:04:11.771 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.024) 0:04:11.795 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.025) 0:04:11.821 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.024) 0:04:11.845 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.024) 0:04:11.869 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.024) 0:04:11.893 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.025) 0:04:11.919 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.023) 0:04:11.943 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.029) 0:04:11.972 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.027) 0:04:12.000 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.038) 0:04:12.039 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.025) 0:04:12.064 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.028) 0:04:12.093 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.027) 0:04:12.121 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.028) 0:04:12.149 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.026) 0:04:12.176 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.038) 0:04:12.215 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.087) 0:04:12.302 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:18:38 +0000 (0:00:00.025) 0:04:12.328 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:18:39 +0000 (0:00:00.025) 0:04:12.353 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:18:39 +0000 (0:00:00.024) 0:04:12.377 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:18:39 +0000 (0:00:00.024) 0:04:12.402 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:18:39 +0000 (0:00:00.069) 0:04:12.472 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:18:39 +0000 (0:00:00.025) 0:04:12.497 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:18:39 +0000 (0:00:00.023) 0:04:12.520 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:18:39 +0000 (0:00:00.026) 0:04:12.547 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:18:39 +0000 (0:00:00.040) 0:04:12.587 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:18:39 +0000 (0:00:00.024) 0:04:12.611 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=1246 changed=26 unreachable=0 failed=3 skipped=1005 rescued=3 ignored=0 Thursday 21 July 2022 21:18:39 +0000 (0:00:00.050) 0:04:12.662 ********* =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 3.19s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 3.11s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 3.05s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 3.03s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.93s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.87s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.86s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.82s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.81s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.69s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.64s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.61s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : make sure blivet is available ------- 2.55s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.55s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : get service facts ------------------- 2.18s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : make sure required packages are installed --- 2.15s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 2.14s /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.11s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.10s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 2.06s /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 -----------