ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpfdufgi2k executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_remove_mount_scsi_generated.yml ******************************** 2 plays in /tmp/tmprua6lrek/tests/tests_remove_mount_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmprua6lrek/tests/tests_remove_mount_scsi_generated.yml:3 Wednesday 06 July 2022 11:04:15 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmprua6lrek/tests/tests_remove_mount_scsi_generated.yml:7 Wednesday 06 July 2022 11:04:17 +0000 (0:00:01.336) 0:00:01.349 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/tests_remove_mount.yml:2 Wednesday 06 July 2022 11:04:17 +0000 (0:00:00.047) 0:00:01.396 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmprua6lrek/tests/tests_remove_mount.yml:12 Wednesday 06 July 2022 11:04:18 +0000 (0:00:00.938) 0:00:02.334 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:04:18 +0000 (0:00:00.034) 0:00:02.369 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:04:18 +0000 (0:00:00.032) 0:00:02.401 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:04:18 +0000 (0:00:00.529) 0:00:02.930 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:04:18 +0000 (0:00:00.055) 0:00:02.985 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:04:18 +0000 (0:00:00.032) 0:00:03.018 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:04:18 +0000 (0:00:00.031) 0:00:03.049 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:04:18 +0000 (0:00:00.048) 0:00:03.097 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:04:18 +0000 (0:00:00.017) 0:00:03.115 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:04:21 +0000 (0:00:02.592) 0:00:05.708 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:04:21 +0000 (0:00:00.082) 0:00:05.790 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:04:21 +0000 (0:00:00.032) 0:00:05.823 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:04:22 +0000 (0:00:00.765) 0:00:06.589 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Wednesday 06 July 2022 11:04:22 +0000 (0:00:00.078) 0:00:06.668 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Wednesday 06 July 2022 11:04:22 +0000 (0:00:00.045) 0:00:06.714 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Wednesday 06 July 2022 11:04:22 +0000 (0:00:00.036) 0:00:06.750 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:04:22 +0000 (0:00:00.044) 0:00:06.794 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:04:24 +0000 (0:00:01.963) 0:00:08.758 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "bluetooth.service": { "name": "bluetooth.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-os-release.service": { "name": "console-login-helper-messages-gensnippet-os-release.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-ssh-keys.service": { "name": "console-login-helper-messages-gensnippet-ssh-keys.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.bluez.service": { "name": "dbus-org.bluez.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.oom1.service": { "name": "dbus-org.freedesktop.oom1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.resolve1.service": { "name": "dbus-org.freedesktop.resolve1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "stopped", "status": "static" }, "fwupd-offline-update.service": { "name": "fwupd-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd-refresh.service": { "name": "fwupd-refresh.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd.service": { "name": "fwupd.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "pcscd.service": { "name": "pcscd.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "stopped", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "selinux-check-proper-disable.service": { "name": "selinux-check-proper-disable.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bless-boot.service": { "name": "systemd-bless-boot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-boot-system-token.service": { "name": "systemd-boot-system-token.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-disk-by\\x2duuid-5B84\\x2d6DD7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-5B84\\x2d6DD7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-disk-by\\x2duuid-5f2f82d0\\x2dae0a\\x2d4574\\x2d8811\\x2d62a31a51a870.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-5f2f82d0\\x2dae0a\\x2d4574\\x2d8811\\x2d62a31a51a870.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-homed-activate.service": { "name": "systemd-homed-activate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-homed.service": { "name": "systemd-homed.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-networkd.service": { "name": "systemd-networkd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-oomd.service": { "name": "systemd-oomd.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-time-wait-sync.service": { "name": "systemd-time-wait-sync.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-userdbd.service": { "name": "systemd-userdbd.service", "source": "systemd", "state": "running", "status": "indirect" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-zram-setup@.service": { "name": "systemd-zram-setup@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-zram-setup@zram0.service": { "name": "systemd-zram-setup@zram0.service", "source": "systemd", "state": "stopped", "status": "active" }, "udisks2.service": { "name": "udisks2.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:04:26 +0000 (0:00:01.969) 0:00:10.728 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:04:26 +0000 (0:00:00.054) 0:00:10.782 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:04:26 +0000 (0:00:00.022) 0:00:10.805 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:04:27 +0000 (0:00:00.543) 0:00:11.349 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:04:27 +0000 (0:00:00.038) 0:00:11.387 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:04:27 +0000 (0:00:00.023) 0:00:11.411 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:04:27 +0000 (0:00:00.036) 0:00:11.447 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:04:27 +0000 (0:00:00.036) 0:00:11.483 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:04:27 +0000 (0:00:00.036) 0:00:11.520 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:04:27 +0000 (0:00:00.037) 0:00:11.558 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:04:27 +0000 (0:00:00.023) 0:00:11.582 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:04:27 +0000 (0:00:00.038) 0:00:11.620 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:04:27 +0000 (0:00:00.028) 0:00:11.648 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:04:27 +0000 (0:00:00.532) 0:00:12.181 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:04:27 +0000 (0:00:00.022) 0:00:12.203 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmprua6lrek/tests/tests_remove_mount.yml:15 Wednesday 06 July 2022 11:04:28 +0000 (0:00:00.952) 0:00:13.155 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_remove_mount.yml:22 Wednesday 06 July 2022 11:04:29 +0000 (0:00:00.063) 0:00:13.218 ******** included: /tmp/tmprua6lrek/tests/get_unused_disk.yml for /cache/fedora-35.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmprua6lrek/tests/get_unused_disk.yml:2 Wednesday 06 July 2022 11:04:29 +0000 (0:00:00.061) 0:00:13.280 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmprua6lrek/tests/get_unused_disk.yml:9 Wednesday 06 July 2022 11:04:29 +0000 (0:00:00.519) 0:00:13.799 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/get_unused_disk.yml:14 Wednesday 06 July 2022 11:04:29 +0000 (0:00:00.035) 0:00:13.835 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmprua6lrek/tests/get_unused_disk.yml:19 Wednesday 06 July 2022 11:04:29 +0000 (0:00:00.037) 0:00:13.873 ******** ok: [/cache/fedora-35.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create a LVM logical volume mounted at "/opt/test1"] ********************* task path: /tmp/tmprua6lrek/tests/tests_remove_mount.yml:27 Wednesday 06 July 2022 11:04:29 +0000 (0:00:00.039) 0:00:13.912 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:04:29 +0000 (0:00:00.044) 0:00:13.957 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:04:29 +0000 (0:00:00.035) 0:00:13.993 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:04:30 +0000 (0:00:00.533) 0:00:14.526 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:04:30 +0000 (0:00:00.062) 0:00:14.589 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:04:30 +0000 (0:00:00.034) 0:00:14.623 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:04:30 +0000 (0:00:00.035) 0:00:14.659 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:04:30 +0000 (0:00:00.048) 0:00:14.708 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:04:30 +0000 (0:00:00.022) 0:00:14.731 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:04:30 +0000 (0:00:00.028) 0:00:14.759 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:04:30 +0000 (0:00:00.039) 0:00:14.799 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:04:30 +0000 (0:00:00.040) 0:00:14.839 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:04:30 +0000 (0:00:00.028) 0:00:14.868 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:04:30 +0000 (0:00:00.028) 0:00:14.896 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:04:30 +0000 (0:00:00.031) 0:00:14.928 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:04:30 +0000 (0:00:00.028) 0:00:14.957 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:04:30 +0000 (0:00:00.057) 0:00:15.015 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:04:30 +0000 (0:00:00.024) 0:00:15.039 ******** changed: [/cache/fedora-35.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": "xfs" } ], "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": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "btrfs-progs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:04:33 +0000 (0:00:02.556) 0:00:17.595 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:04:33 +0000 (0:00:00.038) 0:00:17.634 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:04:33 +0000 (0:00:00.022) 0:00:17.657 ******** ok: [/cache/fedora-35.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": "xfs" } ], "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": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "btrfs-progs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:04:33 +0000 (0:00:00.041) 0:00:17.699 ******** ok: [/cache/fedora-35.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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:04:33 +0000 (0:00:00.038) 0:00:17.737 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:04:33 +0000 (0:00:00.037) 0:00:17.775 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:04:33 +0000 (0:00:00.038) 0:00:17.814 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:04:34 +0000 (0:00:01.002) 0:00:18.817 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:04:35 +0000 (0:00:00.731) 0:00:19.548 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:04:36 +0000 (0:00:00.725) 0:00:20.274 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:04:36 +0000 (0:00:00.398) 0:00:20.672 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:04:36 +0000 (0:00:00.024) 0:00:20.697 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_remove_mount.yml:39 Wednesday 06 July 2022 11:04:37 +0000 (0:00:00.933) 0:00:21.630 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 11:04:37 +0000 (0:00:00.046) 0:00:21.677 ******** ok: [/cache/fedora-35.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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 11:04:37 +0000 (0:00:00.052) 0:00:21.729 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 11:04:37 +0000 (0:00:00.038) 0:00:21.768 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "05d46ac9-47a1-45b7-aab3-10fa0b99405a" }, "/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": "JK2zSk-pjBt-X6h2-5txF-LOZa-Fnzi-ffUJgL" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-11-04-03-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 11:04:38 +0000 (0:00:00.543) 0:00:22.311 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004088", "end": "2022-07-06 11:04:39.728696", "rc": 0, "start": "2022-07-06 11:04:38.724608" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 11:04:39 +0000 (0:00:01.517) 0:00:23.829 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003112", "end": "2022-07-06 11:04:40.170915", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:04:40.167803" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 11:04:40 +0000 (0:00:00.440) 0:00:24.269 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 11:04:40 +0000 (0:00:00.064) 0:00:24.334 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 11:04:40 +0000 (0:00:00.037) 0:00:24.372 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 11:04:40 +0000 (0:00:00.051) 0:00:24.423 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 11:04:40 +0000 (0:00:00.056) 0:00:24.479 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 11:04:40 +0000 (0:00:00.530) 0:00:25.010 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 11:04:40 +0000 (0:00:00.051) 0:00:25.062 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 11:04:40 +0000 (0:00:00.051) 0:00:25.113 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 11:04:40 +0000 (0:00:00.052) 0:00:25.166 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 11:04:40 +0000 (0:00:00.041) 0:00:25.207 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.051) 0:00:25.259 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.025) 0:00:25.285 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.049) 0:00:25.334 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.045) 0:00:25.379 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.024) 0:00:25.404 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.060) 0:00:25.465 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.025) 0:00:25.490 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.025) 0:00:25.516 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.025) 0:00:25.541 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.027) 0:00:25.569 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.023) 0:00:25.593 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.035) 0:00:25.628 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.047) 0:00:25.675 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.044) 0:00:25.719 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.029) 0:00:25.749 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.029) 0:00:25.779 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.027) 0:00:25.806 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.043) 0:00:25.850 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.043) 0:00:25.893 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.025) 0:00:25.918 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.024) 0:00:25.942 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.023) 0:00:25.966 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.024) 0:00:25.991 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.047) 0:00:26.038 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.049) 0:00:26.087 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.027) 0:00:26.114 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 11:04:41 +0000 (0:00:00.044) 0:00:26.159 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.049) 0:00:26.209 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.050) 0:00:26.260 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.043) 0:00:26.303 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.042) 0:00:26.346 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.038) 0:00:26.384 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.035) 0:00:26.420 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.034) 0:00:26.454 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.048) 0:00:26.503 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.048) 0:00:26.551 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.025) 0:00:26.577 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.023) 0:00:26.600 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.026) 0:00:26.627 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.058) 0:00:26.685 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.024) 0:00:26.710 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.023) 0:00:26.733 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.024) 0:00:26.758 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.038) 0:00:26.797 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.034) 0:00:26.832 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.045) 0:00:26.877 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.052) 0:00:26.929 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.085) 0:00:27.015 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.043) 0:00:27.059 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "05d46ac9-47a1-45b7-aab3-10fa0b99405a" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "05d46ac9-47a1-45b7-aab3-10fa0b99405a" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.058) 0:00:27.118 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 11:04:42 +0000 (0:00:00.049) 0:00:27.168 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 11:04:43 +0000 (0:00:00.048) 0:00:27.217 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 11:04:43 +0000 (0:00:00.051) 0:00:27.268 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 11:04:43 +0000 (0:00:00.024) 0:00:27.292 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 11:04:43 +0000 (0:00:00.026) 0:00:27.319 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 11:04:43 +0000 (0:00:00.023) 0:00:27.342 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 11:04:43 +0000 (0:00:00.036) 0:00:27.379 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 11:04:43 +0000 (0:00:00.061) 0:00:27.441 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 11:04:43 +0000 (0:00:00.054) 0:00:27.495 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 11:04:43 +0000 (0:00:00.053) 0:00:27.548 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 11:04:43 +0000 (0:00:00.037) 0:00:27.585 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 11:04:43 +0000 (0:00:00.034) 0:00:27.620 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 11:04:43 +0000 (0:00:00.038) 0:00:27.658 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 11:04:43 +0000 (0:00:00.041) 0:00:27.700 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657105475.4497097, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657105473.4427097, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 505, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657105473.4427097, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 11:04:43 +0000 (0:00:00.403) 0:00:28.103 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 11:04:43 +0000 (0:00:00.041) 0:00:28.144 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 11:04:43 +0000 (0:00:00.040) 0:00:28.185 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 11:04:44 +0000 (0:00:00.036) 0:00:28.222 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 11:04:44 +0000 (0:00:00.024) 0:00:28.247 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 11:04:44 +0000 (0:00:00.078) 0:00:28.325 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 11:04:44 +0000 (0:00:00.058) 0:00:28.383 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 11:04:46 +0000 (0:00:02.101) 0:00:30.485 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.023) 0:00:30.509 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.023) 0:00:30.532 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.055) 0:00:30.588 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.027) 0:00:30.615 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.025) 0:00:30.640 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.025) 0:00:30.666 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.026) 0:00:30.692 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.028) 0:00:30.721 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.052) 0:00:30.773 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.048) 0:00:30.822 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.039) 0:00:30.861 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.036) 0:00:30.898 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.039) 0:00:30.937 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.040) 0:00:30.978 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.047) 0:00:31.025 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.039) 0:00:31.064 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.039) 0:00:31.104 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.039) 0:00:31.143 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 11:04:46 +0000 (0:00:00.041) 0:00:31.184 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 11:04:47 +0000 (0:00:00.037) 0:00:31.221 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 11:04:47 +0000 (0:00:00.039) 0:00:31.260 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 11:04:47 +0000 (0:00:00.536) 0:00:31.797 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 11:04:47 +0000 (0:00:00.411) 0:00:32.208 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 11:04:48 +0000 (0:00:00.053) 0:00:32.262 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 11:04:48 +0000 (0:00:00.035) 0:00:32.297 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 11:04:48 +0000 (0:00:00.039) 0:00:32.337 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 11:04:48 +0000 (0:00:00.040) 0:00:32.377 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 11:04:48 +0000 (0:00:00.039) 0:00:32.417 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 11:04:48 +0000 (0:00:00.040) 0:00:32.458 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 11:04:48 +0000 (0:00:00.041) 0:00:32.499 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 11:04:48 +0000 (0:00:00.109) 0:00:32.608 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 11:04:48 +0000 (0:00:00.034) 0:00:32.643 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 11:04:48 +0000 (0:00:00.052) 0:00:32.696 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.043078", "end": "2022-07-06 11:04:49.040598", "rc": 0, "start": "2022-07-06 11:04:48.997520" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 11:04:48 +0000 (0:00:00.441) 0:00:33.137 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 11:04:48 +0000 (0:00:00.050) 0:00:33.188 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 11:04:49 +0000 (0:00:00.054) 0:00:33.242 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 11:04:49 +0000 (0:00:00.039) 0:00:33.282 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 11:04:49 +0000 (0:00:00.037) 0:00:33.320 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 11:04:49 +0000 (0:00:00.039) 0:00:33.359 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 11:04:49 +0000 (0:00:00.038) 0:00:33.398 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 11:04:49 +0000 (0:00:00.039) 0:00:33.437 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 11:04:49 +0000 (0:00:00.033) 0:00:33.471 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 11:04:49 +0000 (0:00:00.021) 0:00:33.492 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Change the mount location to ""] ***************************************** task path: /tmp/tmprua6lrek/tests/tests_remove_mount.yml:41 Wednesday 06 July 2022 11:04:49 +0000 (0:00:00.037) 0:00:33.529 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:04:49 +0000 (0:00:00.049) 0:00:33.579 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:04:49 +0000 (0:00:00.036) 0:00:33.616 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:04:49 +0000 (0:00:00.532) 0:00:34.148 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:04:50 +0000 (0:00:00.064) 0:00:34.213 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:04:50 +0000 (0:00:00.036) 0:00:34.250 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:04:50 +0000 (0:00:00.036) 0:00:34.287 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:04:50 +0000 (0:00:00.050) 0:00:34.337 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:04:50 +0000 (0:00:00.020) 0:00:34.357 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:04:50 +0000 (0:00:00.029) 0:00:34.387 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:04:50 +0000 (0:00:00.037) 0:00:34.425 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:04:50 +0000 (0:00:00.073) 0:00:34.498 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:04:50 +0000 (0:00:00.033) 0:00:34.532 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:04:50 +0000 (0:00:00.069) 0:00:34.602 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:04:50 +0000 (0:00:00.029) 0:00:34.632 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:04:50 +0000 (0:00:00.027) 0:00:34.659 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:04:50 +0000 (0:00:00.058) 0:00:34.718 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:04:50 +0000 (0:00:00.022) 0:00:34.741 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/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": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "lvm2", "e2fsprogs", "xfsprogs", "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:04:52 +0000 (0:00:02.013) 0:00:36.755 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:04:52 +0000 (0:00:00.037) 0:00:36.792 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:04:52 +0000 (0:00:00.021) 0:00:36.813 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/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": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "lvm2", "e2fsprogs", "xfsprogs", "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:04:52 +0000 (0:00:00.038) 0:00:36.852 ******** ok: [/cache/fedora-35.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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:04:52 +0000 (0:00:00.038) 0:00:36.891 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:04:52 +0000 (0:00:00.037) 0:00:36.928 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:04:53 +0000 (0:00:00.459) 0:00:37.387 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:04:53 +0000 (0:00:00.752) 0:00:38.140 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:04:53 +0000 (0:00:00.041) 0:00:38.181 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:04:54 +0000 (0:00:00.699) 0:00:38.880 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:04:55 +0000 (0:00:00.402) 0:00:39.283 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:04:55 +0000 (0:00:00.023) 0:00:39.306 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_remove_mount.yml:53 Wednesday 06 July 2022 11:04:56 +0000 (0:00:00.961) 0:00:40.268 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 11:04:56 +0000 (0:00:00.050) 0:00:40.318 ******** ok: [/cache/fedora-35.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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 11:04:56 +0000 (0:00:00.096) 0:00:40.415 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 11:04:56 +0000 (0:00:00.036) 0:00:40.451 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "05d46ac9-47a1-45b7-aab3-10fa0b99405a" }, "/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": "JK2zSk-pjBt-X6h2-5txF-LOZa-Fnzi-ffUJgL" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-11-04-03-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 11:04:56 +0000 (0:00:00.396) 0:00:40.848 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004238", "end": "2022-07-06 11:04:58.140465", "rc": 0, "start": "2022-07-06 11:04:57.136227" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 11:04:58 +0000 (0:00:01.391) 0:00:42.239 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003054", "end": "2022-07-06 11:04:58.537968", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:04:58.534914" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 11:04:58 +0000 (0:00:00.396) 0:00:42.636 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 11:04:58 +0000 (0:00:00.061) 0:00:42.698 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 11:04:58 +0000 (0:00:00.037) 0:00:42.736 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 11:04:58 +0000 (0:00:00.048) 0:00:42.784 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 11:04:58 +0000 (0:00:00.054) 0:00:42.839 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.384) 0:00:43.223 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.076) 0:00:43.299 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.048) 0:00:43.348 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.074) 0:00:43.423 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.064) 0:00:43.487 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.047) 0:00:43.535 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.025) 0:00:43.561 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.071) 0:00:43.633 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.042) 0:00:43.675 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.023) 0:00:43.699 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.026) 0:00:43.725 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.058) 0:00:43.784 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.025) 0:00:43.810 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.025) 0:00:43.835 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.025) 0:00:43.861 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.027) 0:00:43.888 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.035) 0:00:43.924 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.046) 0:00:43.971 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.045) 0:00:44.016 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.028) 0:00:44.045 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.030) 0:00:44.075 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.029) 0:00:44.105 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.046) 0:00:44.151 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 11:04:59 +0000 (0:00:00.044) 0:00:44.196 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.026) 0:00:44.222 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.027) 0:00:44.250 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.026) 0:00:44.276 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.026) 0:00:44.302 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.048) 0:00:44.350 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.051) 0:00:44.402 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.030) 0:00:44.432 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.047) 0:00:44.480 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.052) 0:00:44.532 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.053) 0:00:44.585 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.037) 0:00:44.623 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.040) 0:00:44.664 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.039) 0:00:44.703 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.038) 0:00:44.741 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.037) 0:00:44.779 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.049) 0:00:44.829 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.045) 0:00:44.874 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.023) 0:00:44.897 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.025) 0:00:44.923 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.025) 0:00:44.948 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.025) 0:00:44.974 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.057) 0:00:45.032 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.026) 0:00:45.058 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.026) 0:00:45.085 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.035) 0:00:45.120 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.042) 0:00:45.163 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 11:05:00 +0000 (0:00:00.045) 0:00:45.208 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.054) 0:00:45.263 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.081) 0:00:45.344 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.042) 0:00:45.387 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.056) 0:00:45.443 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.024) 0:00:45.467 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.049) 0:00:45.517 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.036) 0:00:45.553 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.026) 0:00:45.579 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.027) 0:00:45.607 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.025) 0:00:45.633 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.039) 0:00:45.672 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.065) 0:00:45.737 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.053) 0:00:45.790 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.052) 0:00:45.843 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.036) 0:00:45.880 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.045) 0:00:45.925 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.040) 0:00:45.966 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 11:05:01 +0000 (0:00:00.041) 0:00:46.007 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657105475.4497097, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657105473.4427097, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 505, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657105473.4427097, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 11:05:02 +0000 (0:00:00.408) 0:00:46.416 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 11:05:02 +0000 (0:00:00.037) 0:00:46.453 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 11:05:02 +0000 (0:00:00.039) 0:00:46.492 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 11:05:02 +0000 (0:00:00.035) 0:00:46.527 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 11:05:02 +0000 (0:00:00.024) 0:00:46.552 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 11:05:02 +0000 (0:00:00.037) 0:00:46.590 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 11:05:02 +0000 (0:00:00.024) 0:00:46.615 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 11:05:04 +0000 (0:00:02.116) 0:00:48.732 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 11:05:04 +0000 (0:00:00.024) 0:00:48.756 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 11:05:04 +0000 (0:00:00.025) 0:00:48.782 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 11:05:04 +0000 (0:00:00.052) 0:00:48.834 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 11:05:04 +0000 (0:00:00.026) 0:00:48.861 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 11:05:04 +0000 (0:00:00.026) 0:00:48.887 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 11:05:04 +0000 (0:00:00.027) 0:00:48.914 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 11:05:04 +0000 (0:00:00.025) 0:00:48.940 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 11:05:04 +0000 (0:00:00.024) 0:00:48.964 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 11:05:04 +0000 (0:00:00.057) 0:00:49.022 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 11:05:04 +0000 (0:00:00.057) 0:00:49.079 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 11:05:04 +0000 (0:00:00.039) 0:00:49.118 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 11:05:04 +0000 (0:00:00.038) 0:00:49.157 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 11:05:04 +0000 (0:00:00.037) 0:00:49.195 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 11:05:05 +0000 (0:00:00.037) 0:00:49.233 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 11:05:05 +0000 (0:00:00.038) 0:00:49.272 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 11:05:05 +0000 (0:00:00.039) 0:00:49.311 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 11:05:05 +0000 (0:00:00.039) 0:00:49.350 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 11:05:05 +0000 (0:00:00.043) 0:00:49.394 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 11:05:05 +0000 (0:00:00.047) 0:00:49.441 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 11:05:05 +0000 (0:00:00.044) 0:00:49.486 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 11:05:05 +0000 (0:00:00.043) 0:00:49.529 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 11:05:05 +0000 (0:00:00.396) 0:00:49.926 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 11:05:06 +0000 (0:00:00.407) 0:00:50.333 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 11:05:06 +0000 (0:00:00.054) 0:00:50.388 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 11:05:06 +0000 (0:00:00.041) 0:00:50.430 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 11:05:06 +0000 (0:00:00.040) 0:00:50.470 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 11:05:06 +0000 (0:00:00.039) 0:00:50.510 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 11:05:06 +0000 (0:00:00.041) 0:00:50.551 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 11:05:06 +0000 (0:00:00.044) 0:00:50.596 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 11:05:06 +0000 (0:00:00.042) 0:00:50.638 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 11:05:06 +0000 (0:00:00.041) 0:00:50.680 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 11:05:06 +0000 (0:00:00.041) 0:00:50.721 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 11:05:06 +0000 (0:00:00.102) 0:00:50.824 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.035616", "end": "2022-07-06 11:05:07.188488", "rc": 0, "start": "2022-07-06 11:05:07.152872" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 11:05:07 +0000 (0:00:00.463) 0:00:51.288 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 11:05:07 +0000 (0:00:00.092) 0:00:51.381 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 11:05:07 +0000 (0:00:00.114) 0:00:51.496 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 11:05:07 +0000 (0:00:00.041) 0:00:51.537 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 11:05:07 +0000 (0:00:00.040) 0:00:51.578 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 11:05:07 +0000 (0:00:00.042) 0:00:51.620 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 11:05:07 +0000 (0:00:00.083) 0:00:51.704 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 11:05:07 +0000 (0:00:00.036) 0:00:51.740 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 11:05:07 +0000 (0:00:00.036) 0:00:51.776 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 11:05:07 +0000 (0:00:00.023) 0:00:51.800 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmprua6lrek/tests/tests_remove_mount.yml:55 Wednesday 06 July 2022 11:05:07 +0000 (0:00:00.033) 0:00:51.834 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:05:07 +0000 (0:00:00.051) 0:00:51.885 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:05:07 +0000 (0:00:00.037) 0:00:51.923 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:05:08 +0000 (0:00:00.535) 0:00:52.459 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:05:08 +0000 (0:00:00.061) 0:00:52.520 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:05:08 +0000 (0:00:00.034) 0:00:52.555 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:05:08 +0000 (0:00:00.032) 0:00:52.587 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:05:08 +0000 (0:00:00.045) 0:00:52.632 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:05:08 +0000 (0:00:00.022) 0:00:52.655 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:05:08 +0000 (0:00:00.028) 0:00:52.683 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:05:08 +0000 (0:00:00.041) 0:00:52.724 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:05:08 +0000 (0:00:00.037) 0:00:52.762 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:05:08 +0000 (0:00:00.031) 0:00:52.793 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:05:08 +0000 (0:00:00.028) 0:00:52.821 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:05:08 +0000 (0:00:00.029) 0:00:52.851 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:05:08 +0000 (0:00:00.027) 0:00:52.878 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:05:08 +0000 (0:00:00.055) 0:00:52.934 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:05:08 +0000 (0:00:00.022) 0:00:52.957 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/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": [], "packages": [ "dosfstools", "btrfs-progs", "e2fsprogs", "lvm2", "xfsprogs" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:05:10 +0000 (0:00:01.970) 0:00:54.928 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:05:10 +0000 (0:00:00.047) 0:00:54.975 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:05:10 +0000 (0:00:00.022) 0:00:54.998 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/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": [], "packages": [ "dosfstools", "btrfs-progs", "e2fsprogs", "lvm2", "xfsprogs" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:05:10 +0000 (0:00:00.040) 0:00:55.038 ******** ok: [/cache/fedora-35.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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:05:10 +0000 (0:00:00.040) 0:00:55.078 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:05:10 +0000 (0:00:00.040) 0:00:55.119 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:05:10 +0000 (0:00:00.040) 0:00:55.159 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:05:10 +0000 (0:00:00.024) 0:00:55.184 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:05:11 +0000 (0:00:00.036) 0:00:55.221 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:05:11 +0000 (0:00:00.026) 0:00:55.248 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:05:11 +0000 (0:00:00.405) 0:00:55.653 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:05:11 +0000 (0:00:00.023) 0:00:55.677 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_remove_mount.yml:67 Wednesday 06 July 2022 11:05:12 +0000 (0:00:00.943) 0:00:56.620 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 11:05:12 +0000 (0:00:00.053) 0:00:56.674 ******** ok: [/cache/fedora-35.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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 11:05:12 +0000 (0:00:00.052) 0:00:56.727 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 11:05:12 +0000 (0:00:00.038) 0:00:56.766 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "05d46ac9-47a1-45b7-aab3-10fa0b99405a" }, "/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": "JK2zSk-pjBt-X6h2-5txF-LOZa-Fnzi-ffUJgL" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-11-04-03-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 11:05:12 +0000 (0:00:00.406) 0:00:57.172 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004496", "end": "2022-07-06 11:05:14.467184", "rc": 0, "start": "2022-07-06 11:05:13.462688" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 11:05:14 +0000 (0:00:01.398) 0:00:58.570 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003014", "end": "2022-07-06 11:05:14.875729", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:05:14.872715" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 11:05:14 +0000 (0:00:00.402) 0:00:58.973 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 11:05:14 +0000 (0:00:00.069) 0:00:59.043 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 11:05:14 +0000 (0:00:00.091) 0:00:59.135 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 11:05:14 +0000 (0:00:00.048) 0:00:59.183 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 11:05:15 +0000 (0:00:00.052) 0:00:59.236 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 11:05:15 +0000 (0:00:00.411) 0:00:59.648 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 11:05:15 +0000 (0:00:00.049) 0:00:59.698 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 11:05:15 +0000 (0:00:00.052) 0:00:59.750 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 11:05:15 +0000 (0:00:00.049) 0:00:59.800 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 11:05:15 +0000 (0:00:00.038) 0:00:59.838 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 11:05:15 +0000 (0:00:00.049) 0:00:59.888 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 11:05:15 +0000 (0:00:00.025) 0:00:59.914 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 11:05:15 +0000 (0:00:00.044) 0:00:59.958 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 11:05:15 +0000 (0:00:00.043) 0:01:00.002 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 11:05:15 +0000 (0:00:00.026) 0:01:00.028 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 11:05:15 +0000 (0:00:00.026) 0:01:00.055 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 11:05:15 +0000 (0:00:00.026) 0:01:00.082 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 11:05:15 +0000 (0:00:00.027) 0:01:00.110 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 11:05:15 +0000 (0:00:00.025) 0:01:00.135 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 11:05:15 +0000 (0:00:00.024) 0:01:00.160 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 11:05:15 +0000 (0:00:00.023) 0:01:00.183 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.033) 0:01:00.217 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.044) 0:01:00.262 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.043) 0:01:00.306 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.028) 0:01:00.334 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.030) 0:01:00.365 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.036) 0:01:00.401 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.046) 0:01:00.448 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.045) 0:01:00.493 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.024) 0:01:00.518 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.025) 0:01:00.544 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.061) 0:01:00.605 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.027) 0:01:00.632 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.049) 0:01:00.682 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.058) 0:01:00.741 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.029) 0:01:00.770 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.044) 0:01:00.815 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.047) 0:01:00.862 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.049) 0:01:00.911 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.038) 0:01:00.949 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.041) 0:01:00.991 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.036) 0:01:01.027 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.036) 0:01:01.064 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.038) 0:01:01.102 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.050) 0:01:01.153 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 11:05:16 +0000 (0:00:00.046) 0:01:01.200 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.026) 0:01:01.226 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.025) 0:01:01.252 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.026) 0:01:01.278 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.026) 0:01:01.304 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.026) 0:01:01.331 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.024) 0:01:01.355 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.024) 0:01:01.380 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.035) 0:01:01.415 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.037) 0:01:01.453 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.042) 0:01:01.496 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.048) 0:01:01.544 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.083) 0:01:01.628 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.045) 0:01:01.673 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.059) 0:01:01.732 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.026) 0:01:01.758 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.050) 0:01:01.809 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.039) 0:01:01.848 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.024) 0:01:01.873 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.026) 0:01:01.899 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.066) 0:01:01.966 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.037) 0:01:02.003 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.063) 0:01:02.066 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.053) 0:01:02.119 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 11:05:17 +0000 (0:00:00.053) 0:01:02.173 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 11:05:18 +0000 (0:00:00.039) 0:01:02.212 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 11:05:18 +0000 (0:00:00.038) 0:01:02.251 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 11:05:18 +0000 (0:00:00.043) 0:01:02.294 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 11:05:18 +0000 (0:00:00.050) 0:01:02.344 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657105475.4497097, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657105473.4427097, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 505, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657105473.4427097, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 11:05:18 +0000 (0:00:00.418) 0:01:02.763 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 11:05:18 +0000 (0:00:00.041) 0:01:02.804 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 11:05:18 +0000 (0:00:00.041) 0:01:02.846 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 11:05:18 +0000 (0:00:00.037) 0:01:02.883 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 11:05:18 +0000 (0:00:00.025) 0:01:02.909 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 11:05:18 +0000 (0:00:00.036) 0:01:02.946 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 11:05:18 +0000 (0:00:00.024) 0:01:02.970 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 11:05:20 +0000 (0:00:02.089) 0:01:05.059 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 11:05:20 +0000 (0:00:00.026) 0:01:05.086 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 11:05:20 +0000 (0:00:00.025) 0:01:05.111 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 11:05:20 +0000 (0:00:00.053) 0:01:05.165 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 11:05:20 +0000 (0:00:00.025) 0:01:05.190 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 11:05:21 +0000 (0:00:00.029) 0:01:05.219 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 11:05:21 +0000 (0:00:00.025) 0:01:05.245 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 11:05:21 +0000 (0:00:00.025) 0:01:05.271 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 11:05:21 +0000 (0:00:00.026) 0:01:05.297 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 11:05:21 +0000 (0:00:00.103) 0:01:05.401 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 11:05:21 +0000 (0:00:00.050) 0:01:05.451 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 11:05:21 +0000 (0:00:00.038) 0:01:05.489 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 11:05:21 +0000 (0:00:00.036) 0:01:05.526 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 11:05:21 +0000 (0:00:00.076) 0:01:05.603 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 11:05:21 +0000 (0:00:00.038) 0:01:05.641 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 11:05:21 +0000 (0:00:00.039) 0:01:05.681 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 11:05:21 +0000 (0:00:00.039) 0:01:05.721 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 11:05:21 +0000 (0:00:00.040) 0:01:05.761 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 11:05:21 +0000 (0:00:00.039) 0:01:05.800 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 11:05:21 +0000 (0:00:00.039) 0:01:05.840 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 11:05:21 +0000 (0:00:00.038) 0:01:05.878 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 11:05:21 +0000 (0:00:00.040) 0:01:05.919 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 11:05:22 +0000 (0:00:00.411) 0:01:06.331 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 11:05:22 +0000 (0:00:00.444) 0:01:06.775 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 11:05:22 +0000 (0:00:00.053) 0:01:06.828 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 11:05:22 +0000 (0:00:00.039) 0:01:06.868 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 11:05:22 +0000 (0:00:00.037) 0:01:06.905 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 11:05:22 +0000 (0:00:00.040) 0:01:06.946 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 11:05:22 +0000 (0:00:00.036) 0:01:06.982 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 11:05:22 +0000 (0:00:00.035) 0:01:07.018 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 11:05:22 +0000 (0:00:00.040) 0:01:07.058 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 11:05:22 +0000 (0:00:00.041) 0:01:07.100 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 11:05:22 +0000 (0:00:00.037) 0:01:07.137 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 11:05:22 +0000 (0:00:00.051) 0:01:07.189 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.036994", "end": "2022-07-06 11:05:23.524573", "rc": 0, "start": "2022-07-06 11:05:23.487579" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 11:05:23 +0000 (0:00:00.437) 0:01:07.626 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 11:05:23 +0000 (0:00:00.052) 0:01:07.679 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 11:05:23 +0000 (0:00:00.056) 0:01:07.736 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 11:05:23 +0000 (0:00:00.039) 0:01:07.775 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 11:05:23 +0000 (0:00:00.037) 0:01:07.813 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 11:05:23 +0000 (0:00:00.036) 0:01:07.849 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 11:05:23 +0000 (0:00:00.040) 0:01:07.890 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 11:05:23 +0000 (0:00:00.032) 0:01:07.923 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 11:05:23 +0000 (0:00:00.064) 0:01:07.987 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 11:05:23 +0000 (0:00:00.021) 0:01:08.008 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmprua6lrek/tests/tests_remove_mount.yml:69 Wednesday 06 July 2022 11:05:23 +0000 (0:00:00.071) 0:01:08.080 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:05:23 +0000 (0:00:00.099) 0:01:08.180 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:05:24 +0000 (0:00:00.036) 0:01:08.216 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:05:24 +0000 (0:00:00.548) 0:01:08.764 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:05:24 +0000 (0:00:00.062) 0:01:08.827 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:05:24 +0000 (0:00:00.038) 0:01:08.866 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:05:24 +0000 (0:00:00.037) 0:01:08.903 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:05:24 +0000 (0:00:00.052) 0:01:08.956 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:05:24 +0000 (0:00:00.022) 0:01:08.979 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:05:24 +0000 (0:00:00.032) 0:01:09.011 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:05:24 +0000 (0:00:00.040) 0:01:09.051 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:05:24 +0000 (0:00:00.039) 0:01:09.091 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:05:24 +0000 (0:00:00.029) 0:01:09.121 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:05:24 +0000 (0:00:00.031) 0:01:09.152 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:05:24 +0000 (0:00:00.031) 0:01:09.184 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:05:25 +0000 (0:00:00.031) 0:01:09.215 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:05:25 +0000 (0:00:00.060) 0:01:09.275 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:05:25 +0000 (0:00:00.022) 0:01:09.298 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/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": [], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:05:27 +0000 (0:00:02.438) 0:01:11.736 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:05:27 +0000 (0:00:00.038) 0:01:11.775 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:05:27 +0000 (0:00:00.021) 0:01:11.797 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/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": [], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:05:27 +0000 (0:00:00.039) 0:01:11.837 ******** ok: [/cache/fedora-35.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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:05:27 +0000 (0:00:00.095) 0:01:11.932 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:05:27 +0000 (0:00:00.041) 0:01:11.974 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:05:27 +0000 (0:00:00.037) 0:01:12.012 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:05:27 +0000 (0:00:00.025) 0:01:12.037 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:05:27 +0000 (0:00:00.037) 0:01:12.075 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:05:27 +0000 (0:00:00.025) 0:01:12.100 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:05:28 +0000 (0:00:00.401) 0:01:12.502 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:05:28 +0000 (0:00:00.024) 0:01:12.526 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_remove_mount.yml:82 Wednesday 06 July 2022 11:05:29 +0000 (0:00:00.996) 0:01:13.523 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 11:05:29 +0000 (0:00:00.049) 0:01:13.573 ******** ok: [/cache/fedora-35.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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 11:05:29 +0000 (0:00:00.049) 0:01:13.622 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 11:05:29 +0000 (0:00:00.034) 0:01:13.657 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-11-04-03-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 11:05:29 +0000 (0:00:00.416) 0:01:14.074 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002934", "end": "2022-07-06 11:05:30.378731", "rc": 0, "start": "2022-07-06 11:05:30.375797" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 11:05:30 +0000 (0:00:00.400) 0:01:14.475 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004218", "end": "2022-07-06 11:05:31.778201", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:05:30.773983" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 11:05:31 +0000 (0:00:01.405) 0:01:15.880 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 11:05:31 +0000 (0:00:00.061) 0:01:15.941 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 11:05:31 +0000 (0:00:00.038) 0:01:15.979 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 11:05:31 +0000 (0:00:00.048) 0:01:16.028 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 11:05:31 +0000 (0:00:00.054) 0:01:16.082 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 11:05:31 +0000 (0:00:00.023) 0:01:16.105 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 11:05:31 +0000 (0:00:00.083) 0:01:16.189 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.086) 0:01:16.276 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.100) 0:01:16.377 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.080) 0:01:16.458 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.085) 0:01:16.543 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.025) 0:01:16.569 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.026) 0:01:16.595 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.048) 0:01:16.643 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.027) 0:01:16.671 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.028) 0:01:16.700 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.029) 0:01:16.730 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.027) 0:01:16.757 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.027) 0:01:16.784 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.025) 0:01:16.810 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.027) 0:01:16.837 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.033) 0:01:16.870 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.045) 0:01:16.916 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.045) 0:01:16.962 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.037) 0:01:16.999 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.043) 0:01:17.043 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.031) 0:01:17.074 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.051) 0:01:17.126 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.047) 0:01:17.174 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 11:05:32 +0000 (0:00:00.025) 0:01:17.199 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.025) 0:01:17.225 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.026) 0:01:17.251 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.026) 0:01:17.278 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.047) 0:01:17.325 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.053) 0:01:17.379 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.021) 0:01:17.401 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.020) 0:01:17.421 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.034) 0:01:17.455 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.047) 0:01:17.503 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.044) 0:01:17.547 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.023) 0:01:17.571 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.026) 0:01:17.598 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.027) 0:01:17.625 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.026) 0:01:17.651 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.060) 0:01:17.712 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.027) 0:01:17.740 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.027) 0:01:17.767 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.035) 0:01:17.803 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.036) 0:01:17.839 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.041) 0:01:17.881 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.047) 0:01:17.928 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.081) 0:01:18.010 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.043) 0:01:18.053 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.055) 0:01:18.109 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.023) 0:01:18.133 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 11:05:33 +0000 (0:00:00.050) 0:01:18.184 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.035) 0:01:18.219 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.023) 0:01:18.243 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.023) 0:01:18.266 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.024) 0:01:18.291 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.033) 0:01:18.325 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.066) 0:01:18.391 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.026) 0:01:18.418 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.052) 0:01:18.470 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.039) 0:01:18.510 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.036) 0:01:18.547 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.024) 0:01:18.571 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.022) 0:01:18.593 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.397) 0:01:18.991 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.046) 0:01:19.037 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.023) 0:01:19.061 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.035) 0:01:19.097 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.023) 0:01:19.120 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.023) 0:01:19.143 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 11:05:34 +0000 (0:00:00.022) 0:01:19.166 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 11:05:37 +0000 (0:00:02.060) 0:01:21.227 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.024) 0:01:21.251 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.024) 0:01:21.276 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.022) 0:01:21.299 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.024) 0:01:21.323 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.026) 0:01:21.350 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.025) 0:01:21.375 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.024) 0:01:21.400 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.026) 0:01:21.426 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.051) 0:01:21.477 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.084) 0:01:21.562 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.039) 0:01:21.601 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.046) 0:01:21.647 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.042) 0:01:21.689 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.037) 0:01:21.727 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.037) 0:01:21.765 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.040) 0:01:21.805 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.036) 0:01:21.842 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.035) 0:01:21.878 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.036) 0:01:21.915 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.040) 0:01:21.955 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.037) 0:01:21.992 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.026) 0:01:22.019 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.040) 0:01:22.059 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.043) 0:01:22.102 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.037) 0:01:22.140 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 11:05:37 +0000 (0:00:00.038) 0:01:22.178 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.038) 0:01:22.217 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.044) 0:01:22.261 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.039) 0:01:22.300 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.039) 0:01:22.340 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.076) 0:01:22.416 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.038) 0:01:22.454 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.024) 0:01:22.479 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.024) 0:01:22.504 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.026) 0:01:22.531 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.062) 0:01:22.593 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.027) 0:01:22.620 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.025) 0:01:22.646 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.026) 0:01:22.673 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.028) 0:01:22.701 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.043) 0:01:22.744 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.044) 0:01:22.789 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.022) 0:01:22.812 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=385 changed=4 unreachable=0 failed=0 skipped=322 rescued=0 ignored=0 Wednesday 06 July 2022 11:05:38 +0000 (0:00:00.047) 0:01:22.859 ******** =============================================================================== linux-system-roles.storage : make sure blivet is available -------------- 2.59s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.56s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.44s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Ensure cryptsetup is present -------------------------------------------- 2.12s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 2.10s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 2.09s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 2.06s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.01s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.97s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 1.97s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : make sure required packages are installed --- 1.96s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Read the /etc/fstab file for volume existence --------------------------- 1.52s /tmp/tmprua6lrek/tests/verify-role-results.yml:19 ----------------------------- Read the /etc/crypttab file --------------------------------------------- 1.41s /tmp/tmprua6lrek/tests/verify-role-results.yml:24 ----------------------------- Read the /etc/fstab file for volume existence --------------------------- 1.40s /tmp/tmprua6lrek/tests/verify-role-results.yml:19 ----------------------------- Read the /etc/fstab file for volume existence --------------------------- 1.39s /tmp/tmprua6lrek/tests/verify-role-results.yml:19 ----------------------------- Gathering Facts --------------------------------------------------------- 1.34s /tmp/tmprua6lrek/tests/tests_remove_mount_scsi_generated.yml:3 ---------------- linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab --- 1.00s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 linux-system-roles.storage : Update facts ------------------------------- 1.00s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.96s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.95s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpfdufgi2k executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_remove_mount_scsi_generated.yml ******************************** 2 plays in /tmp/tmpus9dv81c/tests/storage/tests_remove_mount_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_remove_mount_scsi_generated.yml:3 Wednesday 06 July 2022 14:56:25 +0000 (0:00:00.013) 0:00:00.013 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_remove_mount_scsi_generated.yml:7 Wednesday 06 July 2022 14:56:26 +0000 (0:00:01.321) 0:00:01.335 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/tests_remove_mount.yml:2 Wednesday 06 July 2022 14:56:26 +0000 (0:00:00.047) 0:00:01.382 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpus9dv81c/tests/storage/tests_remove_mount.yml:12 Wednesday 06 July 2022 14:56:27 +0000 (0:00:00.990) 0:00:02.372 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 14:56:27 +0000 (0:00:00.036) 0:00:02.408 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 14:56:27 +0000 (0:00:00.029) 0:00:02.438 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 14:56:28 +0000 (0:00:00.555) 0:00:02.994 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 14:56:28 +0000 (0:00:00.055) 0:00:03.050 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 14:56:28 +0000 (0:00:00.029) 0:00:03.079 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 14:56:28 +0000 (0:00:00.032) 0:00:03.111 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 14:56:28 +0000 (0:00:00.056) 0:00:03.168 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 14:56:28 +0000 (0:00:00.018) 0:00:03.186 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 14:56:31 +0000 (0:00:02.594) 0:00:05.781 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 14:56:31 +0000 (0:00:00.040) 0:00:05.821 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 14:56:31 +0000 (0:00:00.041) 0:00:05.863 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 14:56:32 +0000 (0:00:00.779) 0:00:06.642 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Wednesday 06 July 2022 14:56:32 +0000 (0:00:00.042) 0:00:06.685 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Wednesday 06 July 2022 14:56:32 +0000 (0:00:00.043) 0:00:06.729 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Wednesday 06 July 2022 14:56:32 +0000 (0:00:00.036) 0:00:06.766 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 14:56:32 +0000 (0:00:00.044) 0:00:06.811 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 14:56:34 +0000 (0:00:02.053) 0:00:08.865 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "bluetooth.service": { "name": "bluetooth.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-os-release.service": { "name": "console-login-helper-messages-gensnippet-os-release.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-ssh-keys.service": { "name": "console-login-helper-messages-gensnippet-ssh-keys.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.bluez.service": { "name": "dbus-org.bluez.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.oom1.service": { "name": "dbus-org.freedesktop.oom1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.resolve1.service": { "name": "dbus-org.freedesktop.resolve1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "stopped", "status": "static" }, "fwupd-offline-update.service": { "name": "fwupd-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd-refresh.service": { "name": "fwupd-refresh.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd.service": { "name": "fwupd.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "pcscd.service": { "name": "pcscd.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "stopped", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "selinux-check-proper-disable.service": { "name": "selinux-check-proper-disable.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bless-boot.service": { "name": "systemd-bless-boot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-boot-system-token.service": { "name": "systemd-boot-system-token.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-disk-by\\x2duuid-5B84\\x2d6DD7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-5B84\\x2d6DD7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-disk-by\\x2duuid-5f2f82d0\\x2dae0a\\x2d4574\\x2d8811\\x2d62a31a51a870.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-5f2f82d0\\x2dae0a\\x2d4574\\x2d8811\\x2d62a31a51a870.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-homed-activate.service": { "name": "systemd-homed-activate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-homed.service": { "name": "systemd-homed.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-networkd.service": { "name": "systemd-networkd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-oomd.service": { "name": "systemd-oomd.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-time-wait-sync.service": { "name": "systemd-time-wait-sync.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-userdbd.service": { "name": "systemd-userdbd.service", "source": "systemd", "state": "running", "status": "indirect" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-zram-setup@.service": { "name": "systemd-zram-setup@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-zram-setup@zram0.service": { "name": "systemd-zram-setup@zram0.service", "source": "systemd", "state": "stopped", "status": "active" }, "udisks2.service": { "name": "udisks2.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 14:56:36 +0000 (0:00:01.955) 0:00:10.820 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 14:56:36 +0000 (0:00:00.057) 0:00:10.877 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 14:56:36 +0000 (0:00:00.022) 0:00:10.900 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 14:56:36 +0000 (0:00:00.546) 0:00:11.446 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 14:56:36 +0000 (0:00:00.035) 0:00:11.482 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 14:56:37 +0000 (0:00:00.020) 0:00:11.502 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 14:56:37 +0000 (0:00:00.033) 0:00:11.536 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 14:56:37 +0000 (0:00:00.033) 0:00:11.570 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 14:56:37 +0000 (0:00:00.033) 0:00:11.603 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 14:56:37 +0000 (0:00:00.036) 0:00:11.640 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 14:56:37 +0000 (0:00:00.034) 0:00:11.674 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 14:56:37 +0000 (0:00:00.035) 0:00:11.710 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 14:56:37 +0000 (0:00:00.022) 0:00:11.732 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 14:56:37 +0000 (0:00:00.540) 0:00:12.272 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 14:56:37 +0000 (0:00:00.024) 0:00:12.297 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/tests_remove_mount.yml:15 Wednesday 06 July 2022 14:56:38 +0000 (0:00:00.940) 0:00:13.238 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_remove_mount.yml:22 Wednesday 06 July 2022 14:56:38 +0000 (0:00:00.033) 0:00:13.271 ******** included: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml for /cache/fedora-35.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml:2 Wednesday 06 July 2022 14:56:38 +0000 (0:00:00.038) 0:00:13.309 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml:9 Wednesday 06 July 2022 14:56:39 +0000 (0:00:00.544) 0:00:13.854 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/get_unused_disk.yml:14 Wednesday 06 July 2022 14:56:39 +0000 (0:00:00.039) 0:00:13.893 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml:19 Wednesday 06 July 2022 14:56:39 +0000 (0:00:00.039) 0:00:13.933 ******** ok: [/cache/fedora-35.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create a LVM logical volume mounted at "/opt/test1"] ********************* task path: /tmp/tmpus9dv81c/tests/storage/tests_remove_mount.yml:27 Wednesday 06 July 2022 14:56:39 +0000 (0:00:00.038) 0:00:13.971 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 14:56:39 +0000 (0:00:00.045) 0:00:14.016 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 14:56:39 +0000 (0:00:00.058) 0:00:14.075 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 14:56:40 +0000 (0:00:00.553) 0:00:14.629 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 14:56:40 +0000 (0:00:00.063) 0:00:14.692 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 14:56:40 +0000 (0:00:00.037) 0:00:14.729 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 14:56:40 +0000 (0:00:00.037) 0:00:14.766 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 14:56:40 +0000 (0:00:00.056) 0:00:14.823 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 14:56:40 +0000 (0:00:00.022) 0:00:14.845 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 14:56:40 +0000 (0:00:00.030) 0:00:14.875 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 14:56:40 +0000 (0:00:00.037) 0:00:14.913 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 14:56:40 +0000 (0:00:00.039) 0:00:14.953 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 14:56:40 +0000 (0:00:00.029) 0:00:14.982 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 14:56:40 +0000 (0:00:00.029) 0:00:15.012 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 14:56:40 +0000 (0:00:00.029) 0:00:15.041 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 14:56:40 +0000 (0:00:00.027) 0:00:15.069 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 14:56:40 +0000 (0:00:00.057) 0:00:15.126 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 14:56:40 +0000 (0:00:00.021) 0:00:15.148 ******** changed: [/cache/fedora-35.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": "xfs" } ], "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": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "lvm2", "dosfstools", "xfsprogs", "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 14:56:43 +0000 (0:00:02.553) 0:00:17.702 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 14:56:43 +0000 (0:00:00.039) 0:00:17.741 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 14:56:43 +0000 (0:00:00.022) 0:00:17.764 ******** ok: [/cache/fedora-35.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": "xfs" } ], "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": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "lvm2", "dosfstools", "xfsprogs", "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 14:56:43 +0000 (0:00:00.069) 0:00:17.833 ******** ok: [/cache/fedora-35.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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 14:56:43 +0000 (0:00:00.064) 0:00:17.898 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 14:56:43 +0000 (0:00:00.063) 0:00:17.961 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 14:56:43 +0000 (0:00:00.038) 0:00:17.999 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 14:56:44 +0000 (0:00:00.961) 0:00:18.961 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 14:56:45 +0000 (0:00:00.732) 0:00:19.693 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 14:56:45 +0000 (0:00:00.720) 0:00:20.414 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 14:56:46 +0000 (0:00:00.422) 0:00:20.836 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 14:56:46 +0000 (0:00:00.024) 0:00:20.861 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_remove_mount.yml:39 Wednesday 06 July 2022 14:56:47 +0000 (0:00:00.938) 0:00:21.800 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 14:56:47 +0000 (0:00:00.044) 0:00:21.844 ******** ok: [/cache/fedora-35.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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 14:56:47 +0000 (0:00:00.058) 0:00:21.902 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 14:56:47 +0000 (0:00:00.042) 0:00:21.944 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "52302b50-36f9-4201-8f4b-6b1a4ade889e" }, "/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": "c20u8l-h1zK-sioV-524f-bTWA-bIIw-ruKzhH" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-14-56-12-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 14:56:47 +0000 (0:00:00.545) 0:00:22.489 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003043", "end": "2022-07-06 14:56:48.892469", "rc": 0, "start": "2022-07-06 14:56:48.889426" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 14:56:48 +0000 (0:00:00.518) 0:00:23.007 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003271", "end": "2022-07-06 14:56:49.303081", "failed_when_result": false, "rc": 0, "start": "2022-07-06 14:56:49.299810" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 14:56:48 +0000 (0:00:00.414) 0:00:23.422 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.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': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 14:56:48 +0000 (0:00:00.060) 0:00:23.482 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 14:56:49 +0000 (0:00:00.036) 0:00:23.518 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 14:56:49 +0000 (0:00:00.053) 0:00:23.572 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 14:56:49 +0000 (0:00:00.059) 0:00:23.632 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 14:56:49 +0000 (0:00:00.550) 0:00:24.182 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 14:56:49 +0000 (0:00:00.053) 0:00:24.236 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 14:56:49 +0000 (0:00:00.055) 0:00:24.292 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 14:56:49 +0000 (0:00:00.054) 0:00:24.346 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 14:56:49 +0000 (0:00:00.040) 0:00:24.387 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 14:56:49 +0000 (0:00:00.053) 0:00:24.441 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 14:56:49 +0000 (0:00:00.024) 0:00:24.465 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.040) 0:00:24.506 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.042) 0:00:24.548 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.025) 0:00:24.574 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.026) 0:00:24.601 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.025) 0:00:24.626 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.025) 0:00:24.651 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.026) 0:00:24.678 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.024) 0:00:24.703 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.025) 0:00:24.728 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.075) 0:00:24.804 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.077) 0:00:24.881 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.046) 0:00:24.927 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.029) 0:00:24.957 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.027) 0:00:24.984 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.026) 0:00:25.011 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.044) 0:00:25.055 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.041) 0:00:25.097 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.022) 0:00:25.119 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.021) 0:00:25.141 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.022) 0:00:25.164 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.021) 0:00:25.185 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.045) 0:00:25.231 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.050) 0:00:25.282 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.029) 0:00:25.311 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.045) 0:00:25.356 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.049) 0:00:25.406 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 14:56:50 +0000 (0:00:00.049) 0:00:25.456 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.037) 0:00:25.493 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.038) 0:00:25.532 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.038) 0:00:25.570 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.038) 0:00:25.608 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.033) 0:00:25.642 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.048) 0:00:25.690 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.045) 0:00:25.736 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.023) 0:00:25.759 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.027) 0:00:25.787 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.029) 0:00:25.816 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.026) 0:00:25.843 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.025) 0:00:25.869 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.027) 0:00:25.896 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.027) 0:00:25.923 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.093) 0:00:26.017 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.133) 0:00:26.150 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.043) 0:00:26.194 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.047) 0:00:26.242 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.084) 0:00:26.326 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.039) 0:00:26.366 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "52302b50-36f9-4201-8f4b-6b1a4ade889e" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "52302b50-36f9-4201-8f4b-6b1a4ade889e" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.059) 0:00:26.426 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 14:56:51 +0000 (0:00:00.049) 0:00:26.475 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 14:56:52 +0000 (0:00:00.048) 0:00:26.523 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 14:56:52 +0000 (0:00:00.057) 0:00:26.581 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 14:56:52 +0000 (0:00:00.027) 0:00:26.608 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 14:56:52 +0000 (0:00:00.028) 0:00:26.637 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 14:56:52 +0000 (0:00:00.024) 0:00:26.662 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 14:56:52 +0000 (0:00:00.038) 0:00:26.700 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 14:56:52 +0000 (0:00:00.064) 0:00:26.764 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 14:56:52 +0000 (0:00:00.058) 0:00:26.823 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 14:56:52 +0000 (0:00:00.054) 0:00:26.877 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 14:56:52 +0000 (0:00:00.040) 0:00:26.918 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 14:56:52 +0000 (0:00:00.039) 0:00:26.958 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 14:56:52 +0000 (0:00:00.049) 0:00:27.008 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 14:56:52 +0000 (0:00:00.043) 0:00:27.051 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657119405.572958, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657119403.519958, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 505, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657119403.519958, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 14:56:52 +0000 (0:00:00.400) 0:00:27.452 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 14:56:53 +0000 (0:00:00.041) 0:00:27.493 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 14:56:53 +0000 (0:00:00.047) 0:00:27.540 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 14:56:53 +0000 (0:00:00.036) 0:00:27.577 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 14:56:53 +0000 (0:00:00.025) 0:00:27.602 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 14:56:53 +0000 (0:00:00.041) 0:00:27.644 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 14:56:53 +0000 (0:00:00.026) 0:00:27.670 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 14:56:55 +0000 (0:00:02.212) 0:00:29.882 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 14:56:55 +0000 (0:00:00.026) 0:00:29.909 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 14:56:55 +0000 (0:00:00.025) 0:00:29.935 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 14:56:55 +0000 (0:00:00.052) 0:00:29.987 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 14:56:55 +0000 (0:00:00.023) 0:00:30.011 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 14:56:55 +0000 (0:00:00.024) 0:00:30.035 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 14:56:55 +0000 (0:00:00.025) 0:00:30.061 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 14:56:55 +0000 (0:00:00.027) 0:00:30.089 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 14:56:55 +0000 (0:00:00.024) 0:00:30.113 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 14:56:55 +0000 (0:00:00.052) 0:00:30.166 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 14:56:55 +0000 (0:00:00.052) 0:00:30.218 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 14:56:55 +0000 (0:00:00.037) 0:00:30.255 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 14:56:55 +0000 (0:00:00.036) 0:00:30.292 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 14:56:55 +0000 (0:00:00.036) 0:00:30.328 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 14:56:55 +0000 (0:00:00.038) 0:00:30.366 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 14:56:55 +0000 (0:00:00.037) 0:00:30.404 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 14:56:55 +0000 (0:00:00.037) 0:00:30.441 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 14:56:55 +0000 (0:00:00.038) 0:00:30.480 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 14:56:56 +0000 (0:00:00.040) 0:00:30.521 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 14:56:56 +0000 (0:00:00.039) 0:00:30.561 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 14:56:56 +0000 (0:00:00.038) 0:00:30.599 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 14:56:56 +0000 (0:00:00.039) 0:00:30.638 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 14:56:56 +0000 (0:00:00.542) 0:00:31.181 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 14:56:57 +0000 (0:00:00.442) 0:00:31.623 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 14:56:57 +0000 (0:00:00.118) 0:00:31.741 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 14:56:57 +0000 (0:00:00.072) 0:00:31.814 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 14:56:57 +0000 (0:00:00.038) 0:00:31.853 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 14:56:57 +0000 (0:00:00.041) 0:00:31.894 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 14:56:57 +0000 (0:00:00.044) 0:00:31.939 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 14:56:57 +0000 (0:00:00.079) 0:00:32.019 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 14:56:57 +0000 (0:00:00.040) 0:00:32.060 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 14:56:57 +0000 (0:00:00.040) 0:00:32.100 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 14:56:57 +0000 (0:00:00.040) 0:00:32.141 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 14:56:57 +0000 (0:00:00.056) 0:00:32.198 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.041088", "end": "2022-07-06 14:56:58.526200", "rc": 0, "start": "2022-07-06 14:56:58.485112" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 14:56:58 +0000 (0:00:00.448) 0:00:32.646 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 14:56:58 +0000 (0:00:00.055) 0:00:32.702 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 14:56:58 +0000 (0:00:00.052) 0:00:32.754 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 14:56:58 +0000 (0:00:00.039) 0:00:32.793 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 14:56:58 +0000 (0:00:00.038) 0:00:32.831 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 14:56:58 +0000 (0:00:00.040) 0:00:32.872 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 14:56:58 +0000 (0:00:00.037) 0:00:32.909 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 14:56:58 +0000 (0:00:00.033) 0:00:32.942 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 14:56:58 +0000 (0:00:00.034) 0:00:32.977 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 14:56:58 +0000 (0:00:00.025) 0:00:33.002 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Change the mount location to ""] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_remove_mount.yml:41 Wednesday 06 July 2022 14:56:58 +0000 (0:00:00.040) 0:00:33.043 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 14:56:58 +0000 (0:00:00.052) 0:00:33.096 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 14:56:58 +0000 (0:00:00.039) 0:00:33.135 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 14:56:59 +0000 (0:00:00.541) 0:00:33.677 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 14:56:59 +0000 (0:00:00.065) 0:00:33.742 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 14:56:59 +0000 (0:00:00.036) 0:00:33.779 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 14:56:59 +0000 (0:00:00.033) 0:00:33.812 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 14:56:59 +0000 (0:00:00.055) 0:00:33.867 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 14:56:59 +0000 (0:00:00.020) 0:00:33.888 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 14:56:59 +0000 (0:00:00.027) 0:00:33.916 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 14:56:59 +0000 (0:00:00.070) 0:00:33.987 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 14:56:59 +0000 (0:00:00.096) 0:00:34.083 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 14:56:59 +0000 (0:00:00.028) 0:00:34.112 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 14:56:59 +0000 (0:00:00.030) 0:00:34.142 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 14:56:59 +0000 (0:00:00.030) 0:00:34.173 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 14:56:59 +0000 (0:00:00.030) 0:00:34.204 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 14:56:59 +0000 (0:00:00.057) 0:00:34.261 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 14:56:59 +0000 (0:00:00.023) 0:00:34.284 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/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": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools", "lvm2", "xfsprogs" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 14:57:01 +0000 (0:00:01.909) 0:00:36.194 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 14:57:01 +0000 (0:00:00.039) 0:00:36.233 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 14:57:01 +0000 (0:00:00.024) 0:00:36.257 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/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": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools", "lvm2", "xfsprogs" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 14:57:01 +0000 (0:00:00.050) 0:00:36.307 ******** ok: [/cache/fedora-35.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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 14:57:01 +0000 (0:00:00.044) 0:00:36.352 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 14:57:01 +0000 (0:00:00.040) 0:00:36.392 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 14:57:02 +0000 (0:00:00.455) 0:00:36.847 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 14:57:03 +0000 (0:00:00.771) 0:00:37.619 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 14:57:03 +0000 (0:00:00.042) 0:00:37.661 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 14:57:03 +0000 (0:00:00.723) 0:00:38.384 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 14:57:04 +0000 (0:00:00.404) 0:00:38.789 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 14:57:04 +0000 (0:00:00.024) 0:00:38.814 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_remove_mount.yml:53 Wednesday 06 July 2022 14:57:05 +0000 (0:00:00.960) 0:00:39.774 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 14:57:05 +0000 (0:00:00.083) 0:00:39.858 ******** ok: [/cache/fedora-35.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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 14:57:05 +0000 (0:00:00.061) 0:00:39.919 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 14:57:05 +0000 (0:00:00.057) 0:00:39.976 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "52302b50-36f9-4201-8f4b-6b1a4ade889e" }, "/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": "c20u8l-h1zK-sioV-524f-bTWA-bIIw-ruKzhH" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-14-56-12-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 14:57:06 +0000 (0:00:00.544) 0:00:40.521 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003031", "end": "2022-07-06 14:57:06.793647", "rc": 0, "start": "2022-07-06 14:57:06.790616" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 14:57:06 +0000 (0:00:00.390) 0:00:40.911 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002709", "end": "2022-07-06 14:57:07.193497", "failed_when_result": false, "rc": 0, "start": "2022-07-06 14:57:07.190788" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 14:57:06 +0000 (0:00:00.397) 0:00:41.309 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 14:57:06 +0000 (0:00:00.061) 0:00:41.370 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 14:57:06 +0000 (0:00:00.033) 0:00:41.404 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 14:57:06 +0000 (0:00:00.045) 0:00:41.450 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 14:57:07 +0000 (0:00:00.052) 0:00:41.502 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 14:57:07 +0000 (0:00:00.388) 0:00:41.891 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 14:57:07 +0000 (0:00:00.055) 0:00:41.947 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 14:57:07 +0000 (0:00:00.057) 0:00:42.004 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 14:57:07 +0000 (0:00:00.051) 0:00:42.055 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 14:57:07 +0000 (0:00:00.040) 0:00:42.095 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 14:57:07 +0000 (0:00:00.048) 0:00:42.144 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 14:57:07 +0000 (0:00:00.025) 0:00:42.169 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 14:57:07 +0000 (0:00:00.073) 0:00:42.242 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 14:57:07 +0000 (0:00:00.071) 0:00:42.313 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 14:57:07 +0000 (0:00:00.024) 0:00:42.338 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 14:57:07 +0000 (0:00:00.024) 0:00:42.362 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 14:57:07 +0000 (0:00:00.025) 0:00:42.387 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 14:57:07 +0000 (0:00:00.024) 0:00:42.412 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 14:57:07 +0000 (0:00:00.024) 0:00:42.437 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 14:57:07 +0000 (0:00:00.033) 0:00:42.471 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.027) 0:00:42.498 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.037) 0:00:42.536 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.045) 0:00:42.581 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.044) 0:00:42.625 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.028) 0:00:42.654 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.027) 0:00:42.681 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.026) 0:00:42.708 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.044) 0:00:42.752 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.043) 0:00:42.795 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.024) 0:00:42.820 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.026) 0:00:42.846 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.027) 0:00:42.874 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.023) 0:00:42.897 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.047) 0:00:42.945 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.055) 0:00:43.000 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.030) 0:00:43.030 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.048) 0:00:43.079 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.052) 0:00:43.131 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.054) 0:00:43.185 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.035) 0:00:43.221 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.038) 0:00:43.259 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.037) 0:00:43.297 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.036) 0:00:43.333 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.037) 0:00:43.370 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.048) 0:00:43.419 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 14:57:08 +0000 (0:00:00.044) 0:00:43.463 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.059) 0:00:43.523 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.023) 0:00:43.547 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.022) 0:00:43.570 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.022) 0:00:43.592 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.022) 0:00:43.615 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.025) 0:00:43.640 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.026) 0:00:43.666 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.034) 0:00:43.700 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.034) 0:00:43.735 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.041) 0:00:43.777 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.047) 0:00:43.825 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.082) 0:00:43.907 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.042) 0:00:43.949 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.057) 0:00:44.006 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.024) 0:00:44.030 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.055) 0:00:44.086 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.042) 0:00:44.128 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.026) 0:00:44.155 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.029) 0:00:44.185 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.024) 0:00:44.210 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.037) 0:00:44.247 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.064) 0:00:44.311 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.074) 0:00:44.386 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.051) 0:00:44.437 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 14:57:09 +0000 (0:00:00.038) 0:00:44.476 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 14:57:10 +0000 (0:00:00.040) 0:00:44.516 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 14:57:10 +0000 (0:00:00.041) 0:00:44.557 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 14:57:10 +0000 (0:00:00.041) 0:00:44.599 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657119405.572958, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657119403.519958, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 505, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657119403.519958, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 14:57:10 +0000 (0:00:00.393) 0:00:44.992 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 14:57:10 +0000 (0:00:00.039) 0:00:45.031 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 14:57:10 +0000 (0:00:00.088) 0:00:45.120 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 14:57:10 +0000 (0:00:00.109) 0:00:45.229 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 14:57:10 +0000 (0:00:00.024) 0:00:45.254 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 14:57:10 +0000 (0:00:00.037) 0:00:45.292 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 14:57:10 +0000 (0:00:00.022) 0:00:45.314 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 14:57:12 +0000 (0:00:01.846) 0:00:47.161 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 14:57:12 +0000 (0:00:00.023) 0:00:47.185 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 14:57:12 +0000 (0:00:00.022) 0:00:47.207 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 14:57:12 +0000 (0:00:00.049) 0:00:47.256 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 14:57:12 +0000 (0:00:00.021) 0:00:47.278 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 14:57:12 +0000 (0:00:00.022) 0:00:47.301 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 14:57:12 +0000 (0:00:00.021) 0:00:47.323 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 14:57:12 +0000 (0:00:00.022) 0:00:47.345 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 14:57:12 +0000 (0:00:00.026) 0:00:47.372 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 14:57:12 +0000 (0:00:00.051) 0:00:47.423 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 14:57:12 +0000 (0:00:00.053) 0:00:47.477 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 14:57:13 +0000 (0:00:00.039) 0:00:47.516 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 14:57:13 +0000 (0:00:00.041) 0:00:47.558 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 14:57:13 +0000 (0:00:00.040) 0:00:47.598 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 14:57:13 +0000 (0:00:00.037) 0:00:47.636 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 14:57:13 +0000 (0:00:00.039) 0:00:47.675 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 14:57:13 +0000 (0:00:00.044) 0:00:47.720 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 14:57:13 +0000 (0:00:00.039) 0:00:47.759 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 14:57:13 +0000 (0:00:00.036) 0:00:47.796 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 14:57:13 +0000 (0:00:00.038) 0:00:47.834 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 14:57:13 +0000 (0:00:00.043) 0:00:47.878 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 14:57:13 +0000 (0:00:00.036) 0:00:47.914 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 14:57:13 +0000 (0:00:00.394) 0:00:48.309 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 14:57:14 +0000 (0:00:00.422) 0:00:48.731 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 14:57:14 +0000 (0:00:00.087) 0:00:48.819 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 14:57:14 +0000 (0:00:00.048) 0:00:48.867 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 14:57:14 +0000 (0:00:00.042) 0:00:48.910 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 14:57:14 +0000 (0:00:00.041) 0:00:48.952 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 14:57:14 +0000 (0:00:00.042) 0:00:48.994 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 14:57:14 +0000 (0:00:00.039) 0:00:49.034 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 14:57:14 +0000 (0:00:00.040) 0:00:49.074 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 14:57:14 +0000 (0:00:00.037) 0:00:49.111 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 14:57:14 +0000 (0:00:00.085) 0:00:49.196 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 14:57:14 +0000 (0:00:00.054) 0:00:49.251 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.035042", "end": "2022-07-06 14:57:15.579853", "rc": 0, "start": "2022-07-06 14:57:15.544811" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 14:57:15 +0000 (0:00:00.451) 0:00:49.702 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 14:57:15 +0000 (0:00:00.050) 0:00:49.753 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 14:57:15 +0000 (0:00:00.052) 0:00:49.806 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 14:57:15 +0000 (0:00:00.037) 0:00:49.844 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 14:57:15 +0000 (0:00:00.042) 0:00:49.887 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 14:57:15 +0000 (0:00:00.042) 0:00:49.929 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 14:57:15 +0000 (0:00:00.040) 0:00:49.970 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 14:57:15 +0000 (0:00:00.036) 0:00:50.006 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 14:57:15 +0000 (0:00:00.036) 0:00:50.043 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 14:57:15 +0000 (0:00:00.023) 0:00:50.066 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpus9dv81c/tests/storage/tests_remove_mount.yml:55 Wednesday 06 July 2022 14:57:15 +0000 (0:00:00.035) 0:00:50.102 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 14:57:15 +0000 (0:00:00.053) 0:00:50.156 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 14:57:15 +0000 (0:00:00.036) 0:00:50.192 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 14:57:16 +0000 (0:00:00.552) 0:00:50.745 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 14:57:16 +0000 (0:00:00.065) 0:00:50.810 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 14:57:16 +0000 (0:00:00.037) 0:00:50.848 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 14:57:16 +0000 (0:00:00.036) 0:00:50.884 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 14:57:16 +0000 (0:00:00.059) 0:00:50.943 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 14:57:16 +0000 (0:00:00.022) 0:00:50.966 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 14:57:16 +0000 (0:00:00.033) 0:00:50.999 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 14:57:16 +0000 (0:00:00.050) 0:00:51.049 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 14:57:16 +0000 (0:00:00.045) 0:00:51.094 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 14:57:16 +0000 (0:00:00.032) 0:00:51.127 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 14:57:16 +0000 (0:00:00.028) 0:00:51.155 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 14:57:16 +0000 (0:00:00.027) 0:00:51.183 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 14:57:16 +0000 (0:00:00.028) 0:00:51.212 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 14:57:16 +0000 (0:00:00.061) 0:00:51.273 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 14:57:16 +0000 (0:00:00.022) 0:00:51.296 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/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": [], "packages": [ "lvm2", "btrfs-progs", "e2fsprogs", "dosfstools", "xfsprogs" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 14:57:18 +0000 (0:00:02.082) 0:00:53.378 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 14:57:18 +0000 (0:00:00.036) 0:00:53.415 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 14:57:18 +0000 (0:00:00.021) 0:00:53.436 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/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": [], "packages": [ "lvm2", "btrfs-progs", "e2fsprogs", "dosfstools", "xfsprogs" ], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 14:57:18 +0000 (0:00:00.038) 0:00:53.475 ******** ok: [/cache/fedora-35.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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 14:57:19 +0000 (0:00:00.036) 0:00:53.511 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 14:57:19 +0000 (0:00:00.036) 0:00:53.548 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 14:57:19 +0000 (0:00:00.037) 0:00:53.585 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 14:57:19 +0000 (0:00:00.025) 0:00:53.611 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 14:57:19 +0000 (0:00:00.033) 0:00:53.645 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 14:57:19 +0000 (0:00:00.022) 0:00:53.667 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 14:57:19 +0000 (0:00:00.400) 0:00:54.067 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 14:57:19 +0000 (0:00:00.025) 0:00:54.093 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_remove_mount.yml:67 Wednesday 06 July 2022 14:57:20 +0000 (0:00:00.961) 0:00:55.055 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 14:57:20 +0000 (0:00:00.047) 0:00:55.102 ******** ok: [/cache/fedora-35.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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 14:57:20 +0000 (0:00:00.053) 0:00:55.156 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 14:57:20 +0000 (0:00:00.038) 0:00:55.195 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "52302b50-36f9-4201-8f4b-6b1a4ade889e" }, "/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": "c20u8l-h1zK-sioV-524f-bTWA-bIIw-ruKzhH" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-14-56-12-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 14:57:21 +0000 (0:00:00.392) 0:00:55.588 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003025", "end": "2022-07-06 14:57:21.919025", "rc": 0, "start": "2022-07-06 14:57:21.916000" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 14:57:21 +0000 (0:00:00.448) 0:00:56.036 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003072", "end": "2022-07-06 14:57:22.310505", "failed_when_result": false, "rc": 0, "start": "2022-07-06 14:57:22.307433" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 14:57:21 +0000 (0:00:00.392) 0:00:56.429 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 14:57:22 +0000 (0:00:00.090) 0:00:56.520 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 14:57:22 +0000 (0:00:00.035) 0:00:56.556 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 14:57:22 +0000 (0:00:00.055) 0:00:56.611 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 14:57:22 +0000 (0:00:00.057) 0:00:56.668 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 14:57:22 +0000 (0:00:00.406) 0:00:57.075 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 14:57:22 +0000 (0:00:00.055) 0:00:57.130 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 14:57:22 +0000 (0:00:00.048) 0:00:57.179 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 14:57:22 +0000 (0:00:00.050) 0:00:57.230 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 14:57:22 +0000 (0:00:00.038) 0:00:57.268 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 14:57:22 +0000 (0:00:00.048) 0:00:57.316 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 14:57:22 +0000 (0:00:00.027) 0:00:57.344 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 14:57:22 +0000 (0:00:00.046) 0:00:57.390 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 14:57:22 +0000 (0:00:00.044) 0:00:57.435 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 14:57:22 +0000 (0:00:00.025) 0:00:57.460 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 14:57:22 +0000 (0:00:00.027) 0:00:57.487 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.027) 0:00:57.514 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.025) 0:00:57.540 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.025) 0:00:57.565 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.027) 0:00:57.593 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.025) 0:00:57.618 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.036) 0:00:57.654 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.048) 0:00:57.703 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.046) 0:00:57.750 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.029) 0:00:57.779 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.030) 0:00:57.810 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.027) 0:00:57.838 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.043) 0:00:57.882 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.045) 0:00:57.927 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.024) 0:00:57.952 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.023) 0:00:57.975 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.057) 0:00:58.032 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.024) 0:00:58.056 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.047) 0:00:58.104 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.055) 0:00:58.159 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.030) 0:00:58.189 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.045) 0:00:58.235 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.048) 0:00:58.284 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.050) 0:00:58.334 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.038) 0:00:58.373 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.040) 0:00:58.413 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.039) 0:00:58.453 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 14:57:23 +0000 (0:00:00.034) 0:00:58.488 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.035) 0:00:58.523 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.048) 0:00:58.571 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.044) 0:00:58.616 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.026) 0:00:58.642 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.024) 0:00:58.667 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.023) 0:00:58.691 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.030) 0:00:58.721 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.028) 0:00:58.749 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.024) 0:00:58.774 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.024) 0:00:58.798 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.034) 0:00:58.832 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.040) 0:00:58.873 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.046) 0:00:58.920 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.056) 0:00:58.977 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.081) 0:00:59.058 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.042) 0:00:59.101 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.060) 0:00:59.161 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.024) 0:00:59.186 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.052) 0:00:59.238 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.039) 0:00:59.277 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.025) 0:00:59.302 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.027) 0:00:59.330 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.061) 0:00:59.391 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.033) 0:00:59.425 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 14:57:24 +0000 (0:00:00.058) 0:00:59.483 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 14:57:25 +0000 (0:00:00.049) 0:00:59.533 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 14:57:25 +0000 (0:00:00.047) 0:00:59.580 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 14:57:25 +0000 (0:00:00.038) 0:00:59.618 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 14:57:25 +0000 (0:00:00.038) 0:00:59.657 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 14:57:25 +0000 (0:00:00.041) 0:00:59.698 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 14:57:25 +0000 (0:00:00.040) 0:00:59.739 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657119405.572958, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657119403.519958, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 505, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657119403.519958, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 14:57:25 +0000 (0:00:00.402) 0:01:00.142 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 14:57:25 +0000 (0:00:00.040) 0:01:00.183 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 14:57:25 +0000 (0:00:00.041) 0:01:00.224 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 14:57:25 +0000 (0:00:00.040) 0:01:00.265 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 14:57:25 +0000 (0:00:00.026) 0:01:00.291 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 14:57:25 +0000 (0:00:00.042) 0:01:00.334 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 14:57:25 +0000 (0:00:00.026) 0:01:00.360 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 14:57:27 +0000 (0:00:02.031) 0:01:02.391 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 14:57:27 +0000 (0:00:00.026) 0:01:02.418 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 14:57:27 +0000 (0:00:00.025) 0:01:02.444 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.056) 0:01:02.500 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.025) 0:01:02.525 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.025) 0:01:02.551 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.025) 0:01:02.577 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.027) 0:01:02.604 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.027) 0:01:02.631 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.091) 0:01:02.723 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.055) 0:01:02.778 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.039) 0:01:02.818 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.038) 0:01:02.856 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.038) 0:01:02.895 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.074) 0:01:02.969 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.037) 0:01:03.006 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.039) 0:01:03.045 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.038) 0:01:03.084 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.102) 0:01:03.187 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.040) 0:01:03.227 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.036) 0:01:03.264 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 14:57:28 +0000 (0:00:00.040) 0:01:03.305 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 14:57:29 +0000 (0:00:00.391) 0:01:03.696 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 14:57:29 +0000 (0:00:00.414) 0:01:04.110 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 14:57:29 +0000 (0:00:00.049) 0:01:04.160 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 14:57:29 +0000 (0:00:00.034) 0:01:04.195 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 14:57:29 +0000 (0:00:00.035) 0:01:04.231 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 14:57:29 +0000 (0:00:00.038) 0:01:04.269 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 14:57:29 +0000 (0:00:00.039) 0:01:04.309 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 14:57:29 +0000 (0:00:00.038) 0:01:04.347 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 14:57:29 +0000 (0:00:00.036) 0:01:04.384 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 14:57:29 +0000 (0:00:00.040) 0:01:04.425 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 14:57:29 +0000 (0:00:00.042) 0:01:04.468 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 14:57:30 +0000 (0:00:00.056) 0:01:04.524 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.036342", "end": "2022-07-06 14:57:30.836676", "rc": 0, "start": "2022-07-06 14:57:30.800334" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 14:57:30 +0000 (0:00:00.431) 0:01:04.956 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 14:57:30 +0000 (0:00:00.053) 0:01:05.009 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 14:57:30 +0000 (0:00:00.053) 0:01:05.063 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 14:57:30 +0000 (0:00:00.044) 0:01:05.107 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 14:57:30 +0000 (0:00:00.039) 0:01:05.147 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 14:57:30 +0000 (0:00:00.036) 0:01:05.183 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 14:57:30 +0000 (0:00:00.036) 0:01:05.219 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 14:57:30 +0000 (0:00:00.040) 0:01:05.260 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 14:57:30 +0000 (0:00:00.032) 0:01:05.292 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 14:57:30 +0000 (0:00:00.020) 0:01:05.313 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_remove_mount.yml:69 Wednesday 06 July 2022 14:57:30 +0000 (0:00:00.082) 0:01:05.395 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 14:57:30 +0000 (0:00:00.092) 0:01:05.488 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 14:57:31 +0000 (0:00:00.041) 0:01:05.529 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 14:57:31 +0000 (0:00:00.561) 0:01:06.090 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 14:57:31 +0000 (0:00:00.063) 0:01:06.154 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 14:57:31 +0000 (0:00:00.039) 0:01:06.193 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 14:57:31 +0000 (0:00:00.036) 0:01:06.230 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 14:57:31 +0000 (0:00:00.057) 0:01:06.287 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 14:57:31 +0000 (0:00:00.022) 0:01:06.309 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 14:57:31 +0000 (0:00:00.030) 0:01:06.340 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 14:57:31 +0000 (0:00:00.041) 0:01:06.381 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 14:57:31 +0000 (0:00:00.043) 0:01:06.424 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 14:57:31 +0000 (0:00:00.029) 0:01:06.454 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 14:57:31 +0000 (0:00:00.031) 0:01:06.486 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 14:57:32 +0000 (0:00:00.028) 0:01:06.515 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 14:57:32 +0000 (0:00:00.029) 0:01:06.544 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 14:57:32 +0000 (0:00:00.068) 0:01:06.613 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 14:57:32 +0000 (0:00:00.026) 0:01:06.639 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/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": [], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 14:57:34 +0000 (0:00:02.576) 0:01:09.216 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 14:57:34 +0000 (0:00:00.039) 0:01:09.255 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 14:57:34 +0000 (0:00:00.023) 0:01:09.279 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/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": [], "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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 14:57:34 +0000 (0:00:00.079) 0:01:09.358 ******** ok: [/cache/fedora-35.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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 14:57:34 +0000 (0:00:00.106) 0:01:09.465 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 14:57:35 +0000 (0:00:00.037) 0:01:09.502 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 14:57:35 +0000 (0:00:00.037) 0:01:09.540 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 14:57:35 +0000 (0:00:00.025) 0:01:09.566 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 14:57:35 +0000 (0:00:00.037) 0:01:09.604 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 14:57:35 +0000 (0:00:00.030) 0:01:09.634 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 14:57:35 +0000 (0:00:00.421) 0:01:10.056 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 14:57:35 +0000 (0:00:00.024) 0:01:10.081 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_remove_mount.yml:82 Wednesday 06 July 2022 14:57:36 +0000 (0:00:00.962) 0:01:11.043 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 14:57:36 +0000 (0:00:00.050) 0:01:11.094 ******** ok: [/cache/fedora-35.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": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 14:57:36 +0000 (0:00:00.056) 0:01:11.150 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 14:57:36 +0000 (0:00:00.043) 0:01:11.194 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-14-56-12-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 14:57:37 +0000 (0:00:00.397) 0:01:11.591 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003897", "end": "2022-07-06 14:57:37.872515", "rc": 0, "start": "2022-07-06 14:57:37.868618" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 14:57:37 +0000 (0:00:00.411) 0:01:12.003 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003743", "end": "2022-07-06 14:57:38.298462", "failed_when_result": false, "rc": 0, "start": "2022-07-06 14:57:38.294719" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 14:57:37 +0000 (0:00:00.411) 0:01:12.415 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 14:57:37 +0000 (0:00:00.059) 0:01:12.475 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.035) 0:01:12.510 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.050) 0:01:12.561 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.054) 0:01:12.615 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.022) 0:01:12.638 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.052) 0:01:12.691 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.054) 0:01:12.745 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.052) 0:01:12.798 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.039) 0:01:12.838 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.049) 0:01:12.888 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.023) 0:01:12.911 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.022) 0:01:12.933 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.043) 0:01:12.977 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.026) 0:01:13.003 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.025) 0:01:13.029 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.025) 0:01:13.055 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.026) 0:01:13.082 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.023) 0:01:13.105 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.024) 0:01:13.130 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.023) 0:01:13.154 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.042) 0:01:13.196 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.052) 0:01:13.248 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.046) 0:01:13.295 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.026) 0:01:13.321 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.026) 0:01:13.348 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.028) 0:01:13.377 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.045) 0:01:13.422 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 14:57:38 +0000 (0:00:00.046) 0:01:13.469 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.026) 0:01:13.496 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.026) 0:01:13.522 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.025) 0:01:13.548 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.028) 0:01:13.576 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.095) 0:01:13.672 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.050) 0:01:13.722 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.028) 0:01:13.750 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.023) 0:01:13.774 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.034) 0:01:13.808 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.047) 0:01:13.856 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.044) 0:01:13.900 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.023) 0:01:13.924 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.025) 0:01:13.950 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.026) 0:01:13.977 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.026) 0:01:14.003 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.024) 0:01:14.027 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.024) 0:01:14.052 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.024) 0:01:14.076 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.034) 0:01:14.110 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.036) 0:01:14.147 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['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/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.045) 0:01:14.192 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.048) 0:01:14.240 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.079) 0:01:14.319 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.044) 0:01:14.363 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.056) 0:01:14.419 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 14:57:39 +0000 (0:00:00.023) 0:01:14.443 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.047) 0:01:14.491 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.038) 0:01:14.529 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.023) 0:01:14.553 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.023) 0:01:14.576 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.026) 0:01:14.602 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.033) 0:01:14.636 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.059) 0:01:14.695 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.022) 0:01:14.717 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.048) 0:01:14.766 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.035) 0:01:14.801 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.069) 0:01:14.871 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.024) 0:01:14.896 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.061) 0:01:14.957 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.403) 0:01:15.360 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.039) 0:01:15.400 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.024) 0:01:15.424 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.035) 0:01:15.460 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 14:57:40 +0000 (0:00:00.027) 0:01:15.487 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 14:57:41 +0000 (0:00:00.025) 0:01:15.512 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 14:57:41 +0000 (0:00:00.025) 0:01:15.538 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 14:57:43 +0000 (0:00:02.094) 0:01:17.632 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.026) 0:01:17.659 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.025) 0:01:17.684 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.024) 0:01:17.708 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.024) 0:01:17.733 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.028) 0:01:17.761 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.023) 0:01:17.784 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.022) 0:01:17.807 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.022) 0:01:17.830 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.046) 0:01:17.876 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.045) 0:01:17.922 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.034) 0:01:17.957 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.039) 0:01:17.996 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.035) 0:01:18.031 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.034) 0:01:18.066 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.040) 0:01:18.106 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.038) 0:01:18.145 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.036) 0:01:18.182 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.035) 0:01:18.217 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.036) 0:01:18.254 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.039) 0:01:18.294 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.039) 0:01:18.334 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.024) 0:01:18.358 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.039) 0:01:18.397 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 14:57:43 +0000 (0:00:00.071) 0:01:18.469 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.038) 0:01:18.507 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.036) 0:01:18.544 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.043) 0:01:18.587 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.038) 0:01:18.626 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.039) 0:01:18.665 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.046) 0:01:18.711 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.040) 0:01:18.752 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.039) 0:01:18.792 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.023) 0:01:18.815 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.027) 0:01:18.843 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.028) 0:01:18.872 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.025) 0:01:18.897 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.026) 0:01:18.923 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.027) 0:01:18.950 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.028) 0:01:18.979 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.025) 0:01:19.004 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.039) 0:01:19.043 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.038) 0:01:19.082 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.025) 0:01:19.107 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=385 changed=4 unreachable=0 failed=0 skipped=322 rescued=0 ignored=0 Wednesday 06 July 2022 14:57:44 +0000 (0:00:00.046) 0:01:19.153 ******** =============================================================================== fedora.linux_system_roles.storage : make sure blivet is available ------- 2.59s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.58s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.55s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 2.21s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 2.09s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.08s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : make sure required packages are installed --- 2.05s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 2.03s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : get service facts ------------------- 1.96s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.91s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 1.85s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- Gathering Facts --------------------------------------------------------- 1.32s /tmp/tmpus9dv81c/tests/storage/tests_remove_mount_scsi_generated.yml:3 -------- Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmpus9dv81c/tests/storage/tests_remove_mount.yml:2 ----------------------- fedora.linux_system_roles.storage : Update facts ------------------------ 0.96s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.96s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.96s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 fedora.linux_system_roles.storage : Update facts ------------------------ 0.96s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.94s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.94s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : get required packages --------------- 0.78s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23