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 statically imported: /tmp/tmprua6lrek/tests/create-test-file.yml statically imported: /tmp/tmprua6lrek/tests/verify-data-preservation.yml statically imported: /tmp/tmprua6lrek/tests/create-test-file.yml statically imported: /tmp/tmprua6lrek/tests/verify-data-preservation.yml statically imported: /tmp/tmprua6lrek/tests/create-test-file.yml statically imported: /tmp/tmprua6lrek/tests/verify-data-preservation.yml 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_luks_pool.yml ************************************************** 1 plays in /tmp/tmprua6lrek/tests/tests_luks_pool.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:2 Wednesday 06 July 2022 09:33:25 +0000 (0:00:00.016) 0:00:00.016 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:14 Wednesday 06 July 2022 09:33:27 +0000 (0:00:01.343) 0:00:01.359 ******** 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 09:33:27 +0000 (0:00:00.033) 0:00:01.392 ******** 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 09:33:27 +0000 (0:00:00.030) 0:00:01.423 ******** 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 09:33:27 +0000 (0:00:00.567) 0:00:01.991 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/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 09:33:27 +0000 (0:00:00.057) 0:00:02.049 ******** 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 09:33:28 +0000 (0:00:00.030) 0:00:02.079 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 09:33:28 +0000 (0:00:00.029) 0:00:02.109 ******** 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 09:33:28 +0000 (0:00:00.045) 0:00:02.154 ******** 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 09:33:28 +0000 (0:00:00.017) 0:00:02.171 ******** 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 09:33:30 +0000 (0:00:02.598) 0:00:04.769 ******** 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 09:33:30 +0000 (0:00:00.061) 0:00:04.831 ******** 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 09:33:30 +0000 (0:00:00.032) 0:00:04.863 ******** 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 09:33:31 +0000 (0:00:00.738) 0:00:05.602 ******** 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 09:33:31 +0000 (0:00:00.047) 0:00:05.650 ******** 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 09:33:31 +0000 (0:00:00.044) 0:00:05.694 ******** 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 09:33:31 +0000 (0:00:00.037) 0:00:05.731 ******** 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 09:33:31 +0000 (0:00:00.049) 0:00:05.781 ******** 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 09:33:33 +0000 (0:00:01.896) 0:00:07.677 ******** 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 09:33:35 +0000 (0:00:01.980) 0:00:09.658 ******** 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 09:33:35 +0000 (0:00:00.059) 0:00:09.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 09:33:35 +0000 (0:00:00.022) 0:00:09.740 ******** 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 09:33:36 +0000 (0:00:00.566) 0:00:10.306 ******** 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 09:33:36 +0000 (0:00:00.037) 0:00:10.343 ******** 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 09:33:36 +0000 (0:00:00.022) 0:00:10.366 ******** 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 09:33:36 +0000 (0:00:00.037) 0:00:10.404 ******** 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 09:33:36 +0000 (0:00:00.037) 0:00:10.441 ******** 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 09:33:36 +0000 (0:00:00.036) 0:00:10.478 ******** 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 09:33:36 +0000 (0:00:00.035) 0:00:10.513 ******** 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 09:33:36 +0000 (0:00:00.024) 0:00:10.537 ******** 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 09:33:36 +0000 (0:00:00.037) 0:00:10.575 ******** 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 09:33:36 +0000 (0:00:00.023) 0:00:10.599 ******** 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 09:33:37 +0000 (0:00:00.524) 0:00:11.123 ******** 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 09:33:37 +0000 (0:00:00.022) 0:00:11.146 ******** 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_luks_pool.yml:17 Wednesday 06 July 2022 09:33:38 +0000 (0:00:00.978) 0:00:12.124 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:23 Wednesday 06 July 2022 09:33:38 +0000 (0:00:00.034) 0:00:12.158 ******** 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 09:33:38 +0000 (0:00:00.035) 0:00:12.194 ******** 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 09:33:38 +0000 (0:00:00.529) 0:00:12.723 ******** 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 09:33:38 +0000 (0:00:00.070) 0:00:12.793 ******** 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 09:33:38 +0000 (0:00:00.071) 0:00:12.865 ******** ok: [/cache/fedora-35.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create an encrypted lvm pool] ******************************************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:34 Wednesday 06 July 2022 09:33:38 +0000 (0:00:00.033) 0:00:12.899 ******** 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 09:33:38 +0000 (0:00:00.037) 0:00:12.937 ******** 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 09:33:38 +0000 (0:00:00.033) 0:00:12.970 ******** 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 09:33:39 +0000 (0:00:00.535) 0:00:13.506 ******** 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 09:33:39 +0000 (0:00:00.059) 0:00:13.566 ******** 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 09:33:39 +0000 (0:00:00.033) 0:00:13.599 ******** 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 09:33:39 +0000 (0:00:00.034) 0:00:13.633 ******** 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 09:33:39 +0000 (0:00:00.048) 0:00:13.682 ******** 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 09:33:39 +0000 (0:00:00.021) 0:00:13.704 ******** 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 09:33:39 +0000 (0:00:00.026) 0:00:13.730 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } 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 09:33:39 +0000 (0:00:00.035) 0:00:13.765 ******** 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 09:33:39 +0000 (0:00:00.034) 0:00:13.800 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [ "cryptsetup", "lvm2" ], "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 09:33:41 +0000 (0:00:01.819) 0:00:15.619 ******** 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 09:33:41 +0000 (0:00:00.044) 0:00:15.664 ******** 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 09:33:41 +0000 (0:00:00.047) 0:00:15.711 ******** 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 09:33:41 +0000 (0:00:00.069) 0:00:15.781 ******** 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 09:33:41 +0000 (0:00:00.047) 0:00:15.828 ******** 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 09:33:43 +0000 (0:00:01.864) 0:00:17.693 ******** 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 09:33:43 +0000 (0:00:00.027) 0:00:17.720 ******** 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 09:33:43 +0000 (0:00:00.052) 0:00:17.772 ******** 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 09:33:43 +0000 (0:00:00.020) 0:00:17.793 ******** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: encrypted pool 'foo' missing key/password TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Wednesday 06 July 2022 09:33:45 +0000 (0:00:01.702) 0:00:19.495 ******** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "encrypted pool 'foo' missing key/password", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': True, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 09:33:45 +0000 (0:00:00.040) 0:00:19.536 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:53 Wednesday 06 July 2022 09:33:45 +0000 (0:00:00.023) 0:00:19.559 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the keyless luks test] ****************************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:59 Wednesday 06 July 2022 09:33:45 +0000 (0:00:00.038) 0:00:19.598 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:66 Wednesday 06 July 2022 09:33:45 +0000 (0:00:00.048) 0:00:19.647 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [Create a key file] ******************************************************* task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:75 Wednesday 06 July 2022 09:33:45 +0000 (0:00:00.034) 0:00:19.681 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/storage_testughmulmulukskey", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Write the key into the key file] ***************************************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:82 Wednesday 06 July 2022 09:33:46 +0000 (0:00:00.503) 0:00:20.185 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "checksum": "7a4dff3752e2baf5617c57eaac048e2b95e8af91", "dest": "/tmp/storage_testughmulmulukskey", "gid": 0, "group": "root", "md5sum": "4ac07b967150835c00d0865161e48744", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 32, "src": "/root/.ansible/tmp/ansible-tmp-1657100026.1922219-299388-37670736750867/source", "state": "file", "uid": 0 } TASK [Create an encrypted lvm pool using a key file] *************************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:89 Wednesday 06 July 2022 09:33:46 +0000 (0:00:00.858) 0:00:21.044 ******** 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 09:33:47 +0000 (0:00:00.039) 0:00:21.083 ******** 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 09:33:47 +0000 (0:00:00.037) 0:00:21.121 ******** 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 09:33:47 +0000 (0:00:00.589) 0:00:21.710 ******** 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 09:33:47 +0000 (0:00:00.100) 0:00:21.810 ******** 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 09:33:47 +0000 (0:00:00.035) 0:00:21.846 ******** 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 09:33:47 +0000 (0:00:00.033) 0:00:21.879 ******** 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 09:33:47 +0000 (0:00:00.047) 0:00:21.926 ******** 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 09:33:47 +0000 (0:00:00.051) 0:00:21.977 ******** 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 09:33:47 +0000 (0:00:00.029) 0:00:22.007 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_key": "/tmp/storage_testughmulmulukskey", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } 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 09:33:47 +0000 (0:00:00.040) 0:00:22.048 ******** 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 09:33:48 +0000 (0:00:00.037) 0:00:22.086 ******** 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 09:33:48 +0000 (0:00:00.029) 0:00:22.115 ******** 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 09:33:48 +0000 (0:00:00.025) 0:00:22.141 ******** 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 09:33:48 +0000 (0:00:00.026) 0:00:22.168 ******** 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 09:33:48 +0000 (0:00:00.026) 0:00:22.194 ******** 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 09:33:48 +0000 (0:00:00.054) 0:00:22.249 ******** 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 09:33:48 +0000 (0:00:00.022) 0:00:22.271 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-01171350-b293-4860-914d-439bebd524aa", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-01171350-b293-4860-914d-439bebd524aa", "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": [ { "backing_device": "/dev/sda", "name": "luks-01171350-b293-4860-914d-439bebd524aa", "password": "/tmp/storage_testughmulmulukskey", "state": "present" } ], "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", "xfsprogs", "cryptsetup", "dosfstools", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_testughmulmulukskey", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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 09:33:58 +0000 (0:00:10.175) 0:00:32.447 ******** 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 09:33:58 +0000 (0:00:00.041) 0:00:32.488 ******** 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 09:33:58 +0000 (0:00:00.023) 0:00:32.511 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-01171350-b293-4860-914d-439bebd524aa", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-01171350-b293-4860-914d-439bebd524aa", "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": [ { "backing_device": "/dev/sda", "name": "luks-01171350-b293-4860-914d-439bebd524aa", "password": "/tmp/storage_testughmulmulukskey", "state": "present" } ], "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", "xfsprogs", "cryptsetup", "dosfstools", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_testughmulmulukskey", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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 09:33:58 +0000 (0:00:00.044) 0:00:32.556 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_testughmulmulukskey", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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 09:33:58 +0000 (0:00:00.041) 0:00:32.597 ******** 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 09:33:58 +0000 (0:00:00.039) 0:00:32.636 ******** 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 09:33:58 +0000 (0:00:00.041) 0:00:32.677 ******** 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 09:33:59 +0000 (0:00:01.026) 0:00:33.704 ******** 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 09:34:00 +0000 (0:00:00.723) 0:00:34.428 ******** 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 09:34:01 +0000 (0:00:00.719) 0:00:35.147 ******** 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 09:34:01 +0000 (0:00:00.396) 0:00:35.543 ******** changed: [/cache/fedora-35.qcow2.snap] => (item={'backing_device': '/dev/sda', 'name': 'luks-01171350-b293-4860-914d-439bebd524aa', 'password': '/tmp/storage_testughmulmulukskey', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-01171350-b293-4860-914d-439bebd524aa", "password": "/tmp/storage_testughmulmulukskey", "state": "present" } } MSG: line added 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 09:34:02 +0000 (0:00:00.553) 0:00:36.097 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:104 Wednesday 06 July 2022 09:34:03 +0000 (0:00:01.008) 0:00:37.105 ******** 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 09:34:03 +0000 (0:00:00.079) 0:00:37.185 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_testughmulmulukskey", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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 09:34:03 +0000 (0:00:00.053) 0:00:37.238 ******** 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 09:34:03 +0000 (0:00:00.042) 0:00:37.281 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "235349b2-2fd8-4047-9590-4a418dac5df5" }, "/dev/mapper/luks-01171350-b293-4860-914d-439bebd524aa": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-01171350-b293-4860-914d-439bebd524aa", "size": "10G", "type": "crypt", "uuid": "3zIWg9-8wsn-ajRV-vGKY-1CfD-KA2r-W7STdi" }, "/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": "crypto_LUKS", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "01171350-b293-4860-914d-439bebd524aa" }, "/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-09-33-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "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 09:34:03 +0000 (0:00:00.507) 0:00:37.789 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003400", "end": "2022-07-06 09:34:03.318802", "rc": 0, "start": "2022-07-06 09:34:03.315402" } 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 09:34:04 +0000 (0:00:00.505) 0:00:38.294 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.004162", "end": "2022-07-06 09:34:03.712596", "failed_when_result": false, "rc": 0, "start": "2022-07-06 09:34:03.708434" } STDOUT: luks-01171350-b293-4860-914d-439bebd524aa /dev/sda /tmp/storage_testughmulmulukskey 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 09:34:04 +0000 (0:00:00.391) 0:00:38.686 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda'], 'encryption': True, 'encryption_cipher': None, 'encryption_key': '/tmp/storage_testughmulmulukskey', '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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 09:34:04 +0000 (0:00:00.061) 0:00:38.748 ******** 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 09:34:04 +0000 (0:00:00.034) 0:00:38.783 ******** 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 09:34:04 +0000 (0:00:00.050) 0:00:38.833 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-01171350-b293-4860-914d-439bebd524aa" ] }, "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 09:34:04 +0000 (0:00:00.059) 0:00:38.892 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/mapper/luks-01171350-b293-4860-914d-439bebd524aa) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-01171350-b293-4860-914d-439bebd524aa", "pv": "/dev/mapper/luks-01171350-b293-4860-914d-439bebd524aa" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 09:34:05 +0000 (0:00:00.528) 0:00:39.420 ******** 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 09:34:05 +0000 (0:00:00.049) 0:00:39.470 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-01171350-b293-4860-914d-439bebd524aa" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 09:34:05 +0000 (0:00:00.079) 0:00:39.549 ******** 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 09:34:05 +0000 (0:00:00.084) 0:00:39.633 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 09:34:05 +0000 (0:00:00.038) 0:00:39.672 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 09:34:05 +0000 (0:00:00.026) 0:00:39.699 ******** 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 09:34:05 +0000 (0:00:00.025) 0:00:39.724 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/mapper/luks-01171350-b293-4860-914d-439bebd524aa) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-01171350-b293-4860-914d-439bebd524aa" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 09:34:05 +0000 (0:00:00.134) 0:00:39.859 ******** 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 09:34:05 +0000 (0:00:00.042) 0:00:39.902 ******** 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 09:34:05 +0000 (0:00:00.026) 0:00:39.929 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 09:34:05 +0000 (0:00:00.025) 0:00:39.954 ******** 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 09:34:05 +0000 (0:00:00.023) 0:00:39.978 ******** 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 09:34:05 +0000 (0:00:00.025) 0:00:40.003 ******** 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 09:34:05 +0000 (0:00:00.026) 0:00:40.029 ******** 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 09:34:05 +0000 (0:00:00.024) 0:00:40.054 ******** 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 09:34:06 +0000 (0:00:00.025) 0:00:40.080 ******** 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 09:34:06 +0000 (0:00:00.037) 0:00:40.117 ******** 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 09:34:06 +0000 (0:00:00.048) 0:00:40.166 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 09:34:06 +0000 (0:00:00.044) 0:00:40.210 ******** 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 09:34:06 +0000 (0:00:00.037) 0:00:40.248 ******** 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 09:34:06 +0000 (0:00:00.031) 0:00:40.279 ******** 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 09:34:06 +0000 (0:00:00.029) 0:00:40.308 ******** 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 09:34:06 +0000 (0:00:00.048) 0:00:40.357 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 09:34:06 +0000 (0:00:00.045) 0:00:40.402 ******** 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 09:34:06 +0000 (0:00:00.025) 0:00:40.427 ******** 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 09:34:06 +0000 (0:00:00.025) 0:00:40.453 ******** 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 09:34:06 +0000 (0:00:00.024) 0:00:40.477 ******** 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 09:34:06 +0000 (0:00:00.022) 0:00:40.500 ******** 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 09:34:06 +0000 (0:00:00.047) 0:00:40.547 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_storage_test_expected_crypttab_key_file": "/tmp/storage_testughmulmulukskey" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 09:34:06 +0000 (0:00:00.051) 0:00:40.598 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml for /cache/fedora-35.qcow2.snap => (item=/dev/mapper/luks-01171350-b293-4860-914d-439bebd524aa) TASK [Get the backing device path] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:1 Wednesday 06 July 2022 09:34:06 +0000 (0:00:00.046) 0:00:40.645 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/01171350-b293-4860-914d-439bebd524aa" ], "delta": "0:00:00.004061", "end": "2022-07-06 09:34:06.084409", "rc": 0, "start": "2022-07-06 09:34:06.080348" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:6 Wednesday 06 July 2022 09:34:06 +0000 (0:00:00.405) 0:00:41.051 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:11 Wednesday 06 July 2022 09:34:08 +0000 (0:00:01.876) 0:00:42.927 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.009955", "end": "2022-07-06 09:34:08.363956", "rc": 0, "start": "2022-07-06 09:34:08.354001" } STDOUT: LUKS header information Version: 2 Epoch: 3 Metadata area: 16384 [bytes] Keyslots area: 16744448 [bytes] UUID: 01171350-b293-4860-914d-439bebd524aa Label: (no label) Subsystem: (no subsystem) Flags: (no flags) Data segments: 0: crypt offset: 16777216 [bytes] length: (whole device) cipher: aes-xts-plain64 sector: 512 [bytes] Keyslots: 0: luks2 Key: 512 bits Priority: normal Cipher: aes-xts-plain64 Cipher key: 512 bits PBKDF: argon2id Time cost: 6 Memory: 1007870 Threads: 4 Salt: 22 c7 c1 11 0e 9f 34 35 f0 13 1c 79 33 c9 f2 d9 2c e1 da 5b 80 99 16 7b c2 7a 1e 10 ad 9c 44 86 AF stripes: 4000 AF hash: sha256 Area offset:32768 [bytes] Area length:258048 [bytes] Digest ID: 0 Tokens: Digests: 0: pbkdf2 Hash: sha256 Iterations: 114774 Salt: f5 e6 b5 c9 66 de c9 17 74 89 ff 32 33 4b 7c e5 f6 54 5b 79 77 5c 90 86 77 d9 60 73 a0 37 8c 10 Digest: f5 2a d0 96 c1 71 d5 8f 43 c7 24 68 56 05 ab 62 2a 37 81 e9 f2 85 1e 93 33 12 34 ab 2b 0d 07 76 TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:17 Wednesday 06 July 2022 09:34:09 +0000 (0:00:00.407) 0:00:43.335 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:23 Wednesday 06 July 2022 09:34:09 +0000 (0:00:00.027) 0:00:43.362 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:29 Wednesday 06 July 2022 09:34:09 +0000 (0:00:00.024) 0:00:43.386 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "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 09:34:09 +0000 (0:00:00.023) 0:00:43.410 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/mapper/luks-01171350-b293-4860-914d-439bebd524aa) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 09:34:09 +0000 (0:00:00.051) 0:00:43.461 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-01171350-b293-4860-914d-439bebd524aa /dev/sda /tmp/storage_testughmulmulukskey" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 09:34:09 +0000 (0:00:00.052) 0:00:43.514 ******** 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 09:34:09 +0000 (0:00:00.052) 0:00:43.566 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 09:34:09 +0000 (0:00:00.052) 0:00:43.619 ******** 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 09:34:09 +0000 (0:00:00.037) 0:00:43.656 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 09:34:09 +0000 (0:00:00.053) 0:00:43.710 ******** 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 09:34:09 +0000 (0:00:00.032) 0:00:43.742 ******** 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 09:34:09 +0000 (0:00:00.033) 0:00:43.775 ******** 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 09:34:09 +0000 (0:00:00.047) 0:00:43.823 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 09:34:09 +0000 (0:00:00.044) 0:00:43.867 ******** 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 09:34:09 +0000 (0:00:00.026) 0:00:43.894 ******** 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 09:34:09 +0000 (0:00:00.025) 0:00:43.920 ******** 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 09:34:09 +0000 (0:00:00.025) 0:00:43.946 ******** 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 09:34:09 +0000 (0:00:00.022) 0:00:43.969 ******** 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 09:34:09 +0000 (0:00:00.023) 0:00:43.992 ******** 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 09:34:09 +0000 (0:00:00.023) 0:00:44.015 ******** 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 09:34:09 +0000 (0:00:00.024) 0:00:44.040 ******** 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 09:34:10 +0000 (0:00:00.078) 0:00:44.118 ******** 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 09:34:10 +0000 (0:00:00.068) 0:00:44.187 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 09:34:10 +0000 (0:00:00.044) 0:00:44.232 ******** 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 09:34:10 +0000 (0:00:00.115) 0:00:44.347 ******** 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 09:34:10 +0000 (0:00:00.082) 0:00:44.430 ******** 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 09:34:10 +0000 (0:00:00.042) 0:00:44.472 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "235349b2-2fd8-4047-9590-4a418dac5df5" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "235349b2-2fd8-4047-9590-4a418dac5df5" } ], "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 09:34:10 +0000 (0:00:00.059) 0:00:44.532 ******** 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 09:34:10 +0000 (0:00:00.050) 0:00:44.583 ******** 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 09:34:10 +0000 (0:00:00.049) 0:00:44.633 ******** 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 09:34:10 +0000 (0:00:00.050) 0:00:44.683 ******** 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 09:34:10 +0000 (0:00:00.024) 0:00:44.708 ******** 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 09:34:10 +0000 (0:00:00.024) 0:00:44.732 ******** 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 09:34:10 +0000 (0:00:00.025) 0:00:44.758 ******** 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 09:34:10 +0000 (0:00:00.039) 0:00:44.797 ******** 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 09:34:10 +0000 (0:00:00.061) 0:00:44.859 ******** 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 09:34:10 +0000 (0:00:00.050) 0:00:44.910 ******** 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 09:34:10 +0000 (0:00:00.052) 0:00:44.963 ******** 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 09:34:10 +0000 (0:00:00.036) 0:00:45.000 ******** 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 09:34:10 +0000 (0:00:00.036) 0:00:45.036 ******** 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 09:34:11 +0000 (0:00:00.041) 0:00:45.078 ******** 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 09:34:11 +0000 (0:00:00.044) 0:00:45.122 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657100041.12785, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657100037.41085, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 511, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657100037.41085, "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 09:34:11 +0000 (0:00:00.406) 0:00:45.528 ******** 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 09:34:11 +0000 (0:00:00.040) 0:00:45.568 ******** 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 09:34:11 +0000 (0:00:00.040) 0:00:45.609 ******** 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 09:34:11 +0000 (0:00:00.037) 0:00:45.646 ******** 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 09:34:11 +0000 (0:00:00.024) 0:00:45.670 ******** 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 09:34:11 +0000 (0:00:00.040) 0:00:45.710 ******** 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 09:34:11 +0000 (0:00:00.026) 0:00:45.736 ******** 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 09:34:13 +0000 (0:00:01.847) 0:00:47.584 ******** 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 09:34:13 +0000 (0:00:00.023) 0:00:47.608 ******** 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 09:34:13 +0000 (0:00:00.022) 0:00:47.631 ******** 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 09:34:13 +0000 (0:00:00.048) 0:00:47.680 ******** 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 09:34:13 +0000 (0:00:00.026) 0:00:47.706 ******** 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 09:34:13 +0000 (0:00:00.023) 0:00:47.730 ******** 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 09:34:13 +0000 (0:00:00.022) 0:00:47.752 ******** 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 09:34:13 +0000 (0:00:00.022) 0:00:47.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-encryption.yml:67 Wednesday 06 July 2022 09:34:13 +0000 (0:00:00.023) 0:00:47.799 ******** 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 09:34:13 +0000 (0:00:00.051) 0:00:47.850 ******** 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 09:34:13 +0000 (0:00:00.055) 0:00:47.905 ******** 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 09:34:13 +0000 (0:00:00.038) 0:00:47.944 ******** 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 09:34:13 +0000 (0:00:00.035) 0:00:47.979 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 09:34:13 +0000 (0:00:00.038) 0:00:48.018 ******** 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 09:34:13 +0000 (0:00:00.034) 0:00:48.053 ******** 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 09:34:14 +0000 (0:00:00.039) 0:00:48.092 ******** 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 09:34:14 +0000 (0:00:00.034) 0:00:48.127 ******** 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 09:34:14 +0000 (0:00:00.034) 0:00:48.162 ******** 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 09:34:14 +0000 (0:00:00.034) 0:00:48.197 ******** 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 09:34:14 +0000 (0:00:00.035) 0:00:48.233 ******** 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 09:34:14 +0000 (0:00:00.035) 0:00:48.268 ******** 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 09:34:14 +0000 (0:00:00.038) 0:00:48.307 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 09:34:14 +0000 (0:00:00.535) 0:00:48.842 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 09:34:15 +0000 (0:00:00.442) 0:00:49.285 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 09:34:15 +0000 (0:00:00.051) 0:00:49.336 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 09:34:15 +0000 (0:00:00.067) 0:00:49.404 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 09:34:15 +0000 (0:00:00.037) 0:00:49.442 ******** 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 09:34:15 +0000 (0:00:00.072) 0:00:49.514 ******** 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 09:34:15 +0000 (0:00:00.039) 0:00:49.554 ******** 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 09:34:15 +0000 (0:00:00.039) 0:00:49.593 ******** 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 09:34:15 +0000 (0:00:00.040) 0:00:49.633 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 09:34:15 +0000 (0:00:00.036) 0:00:49.669 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 09:34:15 +0000 (0:00:00.036) 0:00:49.706 ******** 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 09:34:15 +0000 (0:00:00.049) 0:00:49.756 ******** 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.039584", "end": "2022-07-06 09:34:15.223455", "rc": 0, "start": "2022-07-06 09:34:15.183871" } 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 09:34:16 +0000 (0:00:00.440) 0:00:50.196 ******** 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 09:34:16 +0000 (0:00:00.054) 0:00:50.251 ******** 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 09:34:16 +0000 (0:00:00.051) 0:00:50.303 ******** 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 09:34:16 +0000 (0:00:00.039) 0:00:50.342 ******** 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 09:34:16 +0000 (0:00:00.038) 0:00:50.380 ******** 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 09:34:16 +0000 (0:00:00.037) 0:00:50.418 ******** 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 09:34:16 +0000 (0:00:00.042) 0:00:50.461 ******** 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 09:34:16 +0000 (0:00:00.034) 0:00:50.496 ******** 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 09:34:16 +0000 (0:00:00.034) 0:00:50.531 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 09:34:16 +0000 (0:00:00.023) 0:00:50.554 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Remove the key file] ***************************************************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:106 Wednesday 06 July 2022 09:34:16 +0000 (0:00:00.038) 0:00:50.593 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "path": "/tmp/storage_testughmulmulukskey", "state": "absent" } TASK [create a file] *********************************************************** task path: /tmp/tmprua6lrek/tests/create-test-file.yml:10 Wednesday 06 July 2022 09:34:17 +0000 (0:00:00.524) 0:00:51.118 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Remove the encryption layer] ********************************************* task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:116 Wednesday 06 July 2022 09:34:17 +0000 (0:00:00.397) 0:00:51.515 ******** 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 09:34:17 +0000 (0:00:00.040) 0:00:51.556 ******** 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 09:34:17 +0000 (0:00:00.037) 0:00:51.593 ******** 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 09:34:18 +0000 (0:00:00.560) 0:00:52.154 ******** 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 09:34:18 +0000 (0:00:00.103) 0:00:52.257 ******** 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 09:34:18 +0000 (0:00:00.040) 0:00:52.298 ******** 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 09:34:18 +0000 (0:00:00.043) 0:00:52.341 ******** 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 09:34:18 +0000 (0:00:00.090) 0:00:52.432 ******** 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 09:34:18 +0000 (0:00:00.021) 0:00:52.454 ******** 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 09:34:18 +0000 (0:00:00.028) 0:00:52.482 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } 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 09:34:18 +0000 (0:00:00.038) 0:00:52.521 ******** 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 09:34:18 +0000 (0:00:00.037) 0:00:52.559 ******** 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 09:34:18 +0000 (0:00:00.027) 0:00:52.587 ******** 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 09:34:18 +0000 (0:00:00.026) 0:00:52.613 ******** 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 09:34:18 +0000 (0:00:00.026) 0:00:52.640 ******** 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 09:34:18 +0000 (0:00:00.027) 0:00:52.668 ******** 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 09:34:18 +0000 (0:00:00.053) 0:00:52.721 ******** 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 09:34:18 +0000 (0:00:00.020) 0:00:52.742 ******** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove and recreate existing pool 'foo' in safe mode TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Wednesday 06 July 2022 09:34:20 +0000 (0:00:02.023) 0:00:54.765 ******** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove and recreate existing pool 'foo' in safe mode", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks2', 'encryption_password': 'yabbadabbadoo', 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 09:34:20 +0000 (0:00:00.042) 0:00:54.807 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:134 Wednesday 06 July 2022 09:34:20 +0000 (0:00:00.023) 0:00:54.831 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the safe_mode test] ********************************* task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:140 Wednesday 06 July 2022 09:34:20 +0000 (0:00:00.040) 0:00:54.872 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmprua6lrek/tests/verify-data-preservation.yml:10 Wednesday 06 July 2022 09:34:20 +0000 (0:00:00.049) 0:00:54.921 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657100056.5408502, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657100056.5408502, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1657100056.5408502, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "1064469379", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmprua6lrek/tests/verify-data-preservation.yml:15 Wednesday 06 July 2022 09:34:21 +0000 (0:00:00.409) 0:00:55.331 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Remove the encryption layer] ********************************************* task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:151 Wednesday 06 July 2022 09:34:21 +0000 (0:00:00.039) 0:00:55.371 ******** 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 09:34:21 +0000 (0:00:00.040) 0:00:55.411 ******** 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 09:34:21 +0000 (0:00:00.036) 0:00:55.448 ******** 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 09:34:21 +0000 (0:00:00.573) 0:00:56.021 ******** 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 09:34:22 +0000 (0:00:00.098) 0:00:56.120 ******** 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 09:34:22 +0000 (0:00:00.104) 0:00:56.225 ******** 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 09:34:22 +0000 (0:00:00.038) 0:00:56.264 ******** 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 09:34:22 +0000 (0:00:00.048) 0:00:56.313 ******** 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 09:34:22 +0000 (0:00:00.022) 0:00:56.335 ******** 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 09:34:22 +0000 (0:00:00.031) 0:00:56.367 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } 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 09:34:22 +0000 (0:00:00.040) 0:00:56.407 ******** 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 09:34:22 +0000 (0:00:00.042) 0:00:56.450 ******** 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 09:34:22 +0000 (0:00:00.034) 0:00:56.485 ******** 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 09:34:22 +0000 (0:00:00.034) 0:00:56.519 ******** 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 09:34:22 +0000 (0:00:00.030) 0:00:56.550 ******** 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 09:34:22 +0000 (0:00:00.031) 0:00:56.581 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 09:34:22 +0000 (0:00:00.057) 0:00:56.639 ******** 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 09:34:22 +0000 (0:00:00.024) 0:00:56.663 ******** 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/mapper/luks-01171350-b293-4860-914d-439bebd524aa", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-01171350-b293-4860-914d-439bebd524aa", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" }, { "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": [ { "backing_device": "/dev/sda", "name": "luks-01171350-b293-4860-914d-439bebd524aa", "password": "-", "state": "absent" } ], "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": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "e2fsprogs", "btrfs-progs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/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": "4g", "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 09:34:25 +0000 (0:00:03.397) 0:01:00.061 ******** 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 09:34:26 +0000 (0:00:00.040) 0:01:00.101 ******** 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 09:34:26 +0000 (0:00:00.023) 0:01:00.124 ******** 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/mapper/luks-01171350-b293-4860-914d-439bebd524aa", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-01171350-b293-4860-914d-439bebd524aa", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" }, { "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": [ { "backing_device": "/dev/sda", "name": "luks-01171350-b293-4860-914d-439bebd524aa", "password": "-", "state": "absent" } ], "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": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "e2fsprogs", "btrfs-progs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/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": "4g", "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 09:34:26 +0000 (0:00:00.041) 0:01:00.166 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/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": "4g", "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 09:34:26 +0000 (0:00:00.041) 0:01:00.207 ******** 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 09:34:26 +0000 (0:00:00.045) 0:01:00.253 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 09:34:26 +0000 (0:00:00.454) 0:01:00.708 ******** 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 09:34:27 +0000 (0:00:00.772) 0:01:01.480 ******** 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 09:34:27 +0000 (0:00:00.513) 0:01:01.993 ******** 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 09:34:28 +0000 (0:00:00.767) 0:01:02.761 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657100041.14085, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8940fe8663a1920bb3f4d7013d6b5eda558e032e", "ctime": 1657100041.11785, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36509, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1657100041.1158502, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 84, "uid": 0, "version": "45", "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 09:34:29 +0000 (0:00:00.414) 0:01:03.175 ******** changed: [/cache/fedora-35.qcow2.snap] => (item={'backing_device': '/dev/sda', 'name': 'luks-01171350-b293-4860-914d-439bebd524aa', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-01171350-b293-4860-914d-439bebd524aa", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed 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 09:34:29 +0000 (0:00:00.424) 0:01:03.599 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:167 Wednesday 06 July 2022 09:34:30 +0000 (0:00:00.915) 0:01:04.515 ******** 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 09:34:30 +0000 (0:00:00.039) 0:01:04.554 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/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": "4g", "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 09:34:30 +0000 (0:00:00.053) 0:01:04.607 ******** 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 09:34:30 +0000 (0:00:00.035) 0:01:04.643 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "cd1fd4ef-186a-479c-8525-bbcf3d2e3a4b" }, "/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": "d8m48z-u4e0-Wtec-DrcD-6orz-Y2cP-4bVQs5" }, "/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-09-33-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "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 09:34:30 +0000 (0:00:00.393) 0:01:05.037 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003112", "end": "2022-07-06 09:34:30.449723", "rc": 0, "start": "2022-07-06 09:34:30.446611" } 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 09:34:31 +0000 (0:00:00.388) 0:01:05.425 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003941", "end": "2022-07-06 09:34:30.858703", "failed_when_result": false, "rc": 0, "start": "2022-07-06 09:34:30.854762" } 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 09:34:31 +0000 (0:00:00.404) 0:01:05.829 ******** [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': 0, 'encryption_luks_version': 'luks2', 'encryption_password': 'yabbadabbadoo', '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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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 09:34:31 +0000 (0:00:00.067) 0:01:05.897 ******** 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 09:34:31 +0000 (0:00:00.079) 0:01:05.976 ******** 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 09:34:31 +0000 (0:00:00.049) 0:01:06.026 ******** 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 09:34:32 +0000 (0:00:00.092) 0:01:06.119 ******** 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 09:34:32 +0000 (0:00:00.448) 0:01:06.568 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 09:34:32 +0000 (0:00:00.048) 0:01:06.617 ******** 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 09:34:32 +0000 (0:00:00.054) 0:01:06.671 ******** 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 09:34:32 +0000 (0:00:00.050) 0:01:06.722 ******** 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 09:34:32 +0000 (0:00:00.039) 0:01:06.762 ******** 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 09:34:32 +0000 (0:00:00.052) 0:01:06.814 ******** 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 09:34:32 +0000 (0:00:00.026) 0:01:06.841 ******** 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 09:34:32 +0000 (0:00:00.046) 0:01:06.887 ******** 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 09:34:32 +0000 (0:00:00.043) 0:01:06.931 ******** 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 09:34:32 +0000 (0:00:00.024) 0:01:06.956 ******** 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 09:34:32 +0000 (0:00:00.025) 0:01:06.982 ******** 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 09:34:32 +0000 (0:00:00.025) 0:01:07.007 ******** 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 09:34:32 +0000 (0:00:00.026) 0:01:07.034 ******** 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 09:34:32 +0000 (0:00:00.024) 0:01:07.058 ******** 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 09:34:33 +0000 (0:00:00.023) 0:01:07.081 ******** 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 09:34:33 +0000 (0:00:00.024) 0:01:07.105 ******** 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 09:34:33 +0000 (0:00:00.039) 0:01:07.145 ******** 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 09:34:33 +0000 (0:00:00.045) 0:01:07.190 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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 09:34:33 +0000 (0:00:00.044) 0:01:07.234 ******** 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 09:34:33 +0000 (0:00:00.027) 0:01:07.262 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 09:34:33 +0000 (0:00:00.030) 0:01:07.292 ******** 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 09:34:33 +0000 (0:00:00.027) 0:01:07.320 ******** 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 09:34:33 +0000 (0:00:00.047) 0:01:07.367 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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 09:34:33 +0000 (0:00:00.045) 0:01:07.413 ******** 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 09:34:33 +0000 (0:00:00.025) 0:01:07.439 ******** 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 09:34:33 +0000 (0:00:00.024) 0:01:07.464 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 09:34:33 +0000 (0:00:00.022) 0:01:07.486 ******** 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 09:34:33 +0000 (0:00:00.023) 0:01:07.510 ******** 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 09:34:33 +0000 (0:00:00.046) 0:01:07.556 ******** 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 09:34:33 +0000 (0:00:00.048) 0:01:07.605 ******** 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 09:34:33 +0000 (0:00:00.027) 0:01:07.632 ******** 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 09:34:33 +0000 (0:00:00.044) 0:01:07.676 ******** 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 09:34:33 +0000 (0:00:00.114) 0:01:07.791 ******** 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 09:34:33 +0000 (0:00:00.048) 0:01:07.839 ******** 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 09:34:33 +0000 (0:00:00.042) 0:01:07.882 ******** 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 09:34:33 +0000 (0:00:00.045) 0:01:07.927 ******** 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 09:34:33 +0000 (0:00:00.047) 0:01:07.974 ******** 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 09:34:33 +0000 (0:00:00.036) 0:01:08.011 ******** 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 09:34:33 +0000 (0:00:00.038) 0:01:08.049 ******** 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 09:34:34 +0000 (0:00:00.053) 0:01:08.103 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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 09:34:34 +0000 (0:00:00.047) 0:01:08.151 ******** 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 09:34:34 +0000 (0:00:00.027) 0:01:08.178 ******** 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 09:34:34 +0000 (0:00:00.025) 0:01:08.203 ******** 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 09:34:34 +0000 (0:00:00.036) 0:01:08.240 ******** 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 09:34:34 +0000 (0:00:00.036) 0:01:08.276 ******** 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 09:34:34 +0000 (0:00:00.033) 0:01:08.310 ******** 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 09:34:34 +0000 (0:00:00.025) 0:01:08.336 ******** 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 09:34:34 +0000 (0:00:00.023) 0:01:08.359 ******** 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 09:34:34 +0000 (0:00:00.034) 0:01:08.394 ******** 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 09:34:34 +0000 (0:00:00.036) 0:01:08.431 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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 09:34:34 +0000 (0:00:00.044) 0:01:08.476 ******** 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 09:34:34 +0000 (0:00:00.052) 0:01:08.528 ******** 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 09:34:34 +0000 (0:00:00.081) 0:01:08.610 ******** 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 09:34:34 +0000 (0:00:00.043) 0:01:08.654 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "cd1fd4ef-186a-479c-8525-bbcf3d2e3a4b" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "cd1fd4ef-186a-479c-8525-bbcf3d2e3a4b" } ], "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 09:34:34 +0000 (0:00:00.057) 0:01:08.711 ******** 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 09:34:34 +0000 (0:00:00.054) 0:01:08.766 ******** 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 09:34:34 +0000 (0:00:00.055) 0:01:08.821 ******** 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 09:34:34 +0000 (0:00:00.057) 0:01:08.878 ******** 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 09:34:34 +0000 (0:00:00.028) 0:01:08.907 ******** 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 09:34:34 +0000 (0:00:00.026) 0:01:08.933 ******** 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 09:34:34 +0000 (0:00:00.026) 0:01:08.959 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 09:34:34 +0000 (0:00:00.038) 0:01:08.997 ******** 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 09:34:35 +0000 (0:00:00.085) 0:01:09.083 ******** 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 09:34:35 +0000 (0:00:00.053) 0:01:09.137 ******** 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 09:34:35 +0000 (0:00:00.110) 0:01:09.247 ******** 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 09:34:35 +0000 (0:00:00.039) 0:01:09.287 ******** 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 09:34:35 +0000 (0:00:00.080) 0:01:09.367 ******** 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 09:34:35 +0000 (0:00:00.038) 0:01:09.406 ******** 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 09:34:35 +0000 (0:00:00.043) 0:01:09.450 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657100068.6328502, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657100065.0298502, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 520, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657100065.0298502, "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 09:34:35 +0000 (0:00:00.405) 0:01:09.856 ******** 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 09:34:35 +0000 (0:00:00.040) 0:01:09.896 ******** 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 09:34:35 +0000 (0:00:00.040) 0:01:09.937 ******** 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 09:34:35 +0000 (0:00:00.039) 0:01:09.976 ******** 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 09:34:35 +0000 (0:00:00.025) 0:01:10.002 ******** 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 09:34:35 +0000 (0:00:00.040) 0:01:10.043 ******** 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 09:34:36 +0000 (0:00:00.024) 0:01:10.068 ******** 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 09:34:37 +0000 (0:00:01.884) 0:01:11.952 ******** 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 09:34:37 +0000 (0:00:00.029) 0:01:11.982 ******** 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 09:34:37 +0000 (0:00:00.026) 0:01:12.008 ******** 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 09:34:38 +0000 (0:00:00.057) 0:01:12.066 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 09:34:38 +0000 (0:00:00.029) 0:01:12.095 ******** 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 09:34:38 +0000 (0:00:00.025) 0:01:12.121 ******** 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 09:34:38 +0000 (0:00:00.026) 0:01:12.148 ******** 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 09:34:38 +0000 (0:00:00.023) 0:01:12.171 ******** 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 09:34:38 +0000 (0:00:00.026) 0:01:12.198 ******** 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 09:34:38 +0000 (0:00:00.056) 0:01:12.255 ******** 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 09:34:38 +0000 (0:00:00.052) 0:01:12.308 ******** 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 09:34:38 +0000 (0:00:00.040) 0:01:12.348 ******** 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 09:34:38 +0000 (0:00:00.039) 0:01:12.388 ******** 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 09:34:38 +0000 (0:00:00.037) 0:01:12.425 ******** 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 09:34:38 +0000 (0:00:00.084) 0:01:12.509 ******** 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 09:34:38 +0000 (0:00:00.041) 0:01:12.551 ******** 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 09:34:38 +0000 (0:00:00.037) 0:01:12.588 ******** 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 09:34:38 +0000 (0:00:00.038) 0:01:12.626 ******** 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 09:34:38 +0000 (0:00:00.038) 0:01:12.664 ******** 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 09:34:38 +0000 (0:00:00.041) 0:01:12.706 ******** 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 09:34:38 +0000 (0:00:00.038) 0:01:12.744 ******** 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 09:34:38 +0000 (0:00:00.038) 0:01:12.783 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 09:34:39 +0000 (0:00:00.431) 0:01:13.215 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 09:34:39 +0000 (0:00:00.431) 0:01:13.647 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 09:34:39 +0000 (0:00:00.132) 0:01:13.779 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 09:34:39 +0000 (0:00:00.036) 0:01:13.815 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 09:34:39 +0000 (0:00:00.036) 0:01:13.851 ******** 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 09:34:39 +0000 (0:00:00.038) 0:01:13.889 ******** 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 09:34:39 +0000 (0:00:00.042) 0:01:13.932 ******** 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 09:34:39 +0000 (0:00:00.038) 0:01:13.970 ******** 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 09:34:39 +0000 (0:00:00.039) 0:01:14.010 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 09:34:39 +0000 (0:00:00.036) 0:01:14.046 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 09:34:40 +0000 (0:00:00.036) 0:01:14.082 ******** 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 09:34:40 +0000 (0:00:00.058) 0:01:14.141 ******** 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.034757", "end": "2022-07-06 09:34:39.627964", "rc": 0, "start": "2022-07-06 09:34:39.593207" } 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 09:34:40 +0000 (0:00:00.460) 0:01:14.602 ******** 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 09:34:40 +0000 (0:00:00.052) 0:01:14.655 ******** 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 09:34:40 +0000 (0:00:00.053) 0:01:14.708 ******** 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 09:34:40 +0000 (0:00:00.040) 0:01:14.749 ******** 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 09:34:40 +0000 (0:00:00.036) 0:01:14.786 ******** 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 09:34:40 +0000 (0:00:00.036) 0:01:14.822 ******** 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 09:34:40 +0000 (0:00:00.036) 0:01:14.859 ******** 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 09:34:40 +0000 (0:00:00.039) 0:01:14.899 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 09:34:40 +0000 (0:00:00.035) 0:01:14.934 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 09:34:40 +0000 (0:00:00.024) 0:01:14.959 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [create a file] *********************************************************** task path: /tmp/tmprua6lrek/tests/create-test-file.yml:10 Wednesday 06 July 2022 09:34:40 +0000 (0:00:00.037) 0:01:14.996 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Add encryption to the pool] ********************************************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:173 Wednesday 06 July 2022 09:34:41 +0000 (0:00:00.400) 0:01:15.396 ******** 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 09:34:41 +0000 (0:00:00.040) 0:01:15.436 ******** 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 09:34:41 +0000 (0:00:00.042) 0:01:15.478 ******** 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 09:34:41 +0000 (0:00:00.535) 0:01:16.014 ******** 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 09:34:42 +0000 (0:00:00.066) 0:01:16.081 ******** 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 09:34:42 +0000 (0:00:00.037) 0:01:16.119 ******** 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 09:34:42 +0000 (0:00:00.044) 0:01:16.163 ******** 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 09:34:42 +0000 (0:00:00.049) 0:01:16.213 ******** 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 09:34:42 +0000 (0:00:00.022) 0:01:16.236 ******** 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 09:34:42 +0000 (0:00:00.035) 0:01:16.271 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } 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 09:34:42 +0000 (0:00:00.087) 0:01:16.358 ******** 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 09:34:42 +0000 (0:00:00.128) 0:01:16.487 ******** 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 09:34:42 +0000 (0:00:00.033) 0:01:16.520 ******** 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 09:34:42 +0000 (0:00:00.031) 0:01:16.551 ******** 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 09:34:42 +0000 (0:00:00.029) 0:01:16.581 ******** 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 09:34:42 +0000 (0:00:00.029) 0:01:16.611 ******** 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 09:34:42 +0000 (0:00:00.056) 0:01:16.668 ******** 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 09:34:42 +0000 (0:00:00.022) 0:01:16.691 ******** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove and recreate existing pool 'foo' in safe mode TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Wednesday 06 July 2022 09:34:44 +0000 (0:00:01.906) 0:01:18.597 ******** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove and recreate existing pool 'foo' in safe mode", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': True, 'encryption_cipher': 'serpent-xts-plain64', 'encryption_key': None, 'encryption_key_size': 512, 'encryption_luks_version': 'luks1', 'encryption_password': 'yabbadabbadoo', 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 09:34:44 +0000 (0:00:00.042) 0:01:18.640 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:194 Wednesday 06 July 2022 09:34:44 +0000 (0:00:00.021) 0:01:18.661 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the safe_mode test] ********************************* task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:200 Wednesday 06 July 2022 09:34:44 +0000 (0:00:00.036) 0:01:18.697 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmprua6lrek/tests/verify-data-preservation.yml:10 Wednesday 06 July 2022 09:34:44 +0000 (0:00:00.047) 0:01:18.745 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657100080.4258502, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657100080.4258502, "dev": 64768, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1657100080.4258502, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "306282779", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmprua6lrek/tests/verify-data-preservation.yml:15 Wednesday 06 July 2022 09:34:45 +0000 (0:00:00.413) 0:01:19.159 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add encryption to the pool] ********************************************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:211 Wednesday 06 July 2022 09:34:45 +0000 (0:00:00.042) 0:01:19.202 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 09:34:45 +0000 (0:00:00.043) 0:01:19.246 ******** 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 09:34:45 +0000 (0:00:00.036) 0:01:19.282 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 09:34:45 +0000 (0:00:00.546) 0:01:19.829 ******** 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 09:34:45 +0000 (0:00:00.068) 0:01:19.898 ******** 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 09:34:45 +0000 (0:00:00.066) 0:01:19.965 ******** 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 09:34:45 +0000 (0:00:00.088) 0:01:20.053 ******** 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 09:34:46 +0000 (0:00:00.050) 0:01:20.103 ******** 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 09:34:46 +0000 (0:00:00.055) 0:01:20.159 ******** 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 09:34:46 +0000 (0:00:00.030) 0:01:20.190 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } 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 09:34:46 +0000 (0:00:00.039) 0:01:20.229 ******** 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 09:34:46 +0000 (0:00:00.039) 0:01:20.269 ******** 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 09:34:46 +0000 (0:00:00.029) 0:01:20.299 ******** 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 09:34:46 +0000 (0:00:00.026) 0:01:20.326 ******** 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 09:34:46 +0000 (0:00:00.031) 0:01:20.357 ******** 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 09:34:46 +0000 (0:00:00.031) 0:01:20.388 ******** 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 09:34:46 +0000 (0:00:00.061) 0:01:20.450 ******** 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 09:34:46 +0000 (0:00:00.024) 0:01:20.474 ******** 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" }, { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "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": [ { "backing_device": "/dev/sda", "name": "luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "password": "-", "state": "present" } ], "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": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "xfsprogs", "lvm2", "cryptsetup", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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 09:34:55 +0000 (0:00:08.846) 0:01:29.320 ******** 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 09:34:55 +0000 (0:00:00.042) 0:01:29.363 ******** 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 09:34:55 +0000 (0:00:00.022) 0:01:29.386 ******** 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" }, { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "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": [ { "backing_device": "/dev/sda", "name": "luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "password": "-", "state": "present" } ], "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": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "xfsprogs", "lvm2", "cryptsetup", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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 09:34:55 +0000 (0:00:00.044) 0:01:29.430 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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 09:34:55 +0000 (0:00:00.043) 0:01:29.474 ******** 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 09:34:55 +0000 (0:00:00.041) 0:01:29.515 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 09:34:55 +0000 (0:00:00.411) 0:01:29.927 ******** 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 09:34:56 +0000 (0:00:00.729) 0:01:30.657 ******** 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 09:34:57 +0000 (0:00:00.457) 0:01:31.114 ******** 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 09:34:57 +0000 (0:00:00.768) 0:01:31.882 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657100070.85785, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657100068.6218503, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36569, "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": 1657100068.61785, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "46", "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 09:34:58 +0000 (0:00:00.413) 0:01:32.295 ******** changed: [/cache/fedora-35.qcow2.snap] => (item={'backing_device': '/dev/sda', 'name': 'luks-6eb67241-8615-49f6-9ee2-20f3270949a1', 'password': '-', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "password": "-", "state": "present" } } MSG: line added 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 09:34:58 +0000 (0:00:00.481) 0:01:32.777 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:230 Wednesday 06 July 2022 09:34:59 +0000 (0:00:00.997) 0:01:33.775 ******** 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 09:34:59 +0000 (0:00:00.041) 0:01:33.816 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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 09:34:59 +0000 (0:00:00.053) 0:01:33.870 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 09:34:59 +0000 (0:00:00.038) 0:01:33.909 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "f5d7e18d-9c83-4ae0-8e3a-817175b321d5" }, "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "size": "10G", "type": "crypt", "uuid": "OeQ7Wq-Mvo5-PtGw-U4Xc-somZ-992I-uJtCB8" }, "/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": "crypto_LUKS", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "6eb67241-8615-49f6-9ee2-20f3270949a1" }, "/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-09-33-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "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 09:35:00 +0000 (0:00:00.398) 0:01:34.308 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002661", "end": "2022-07-06 09:34:59.731241", "rc": 0, "start": "2022-07-06 09:34:59.728580" } 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 09:35:00 +0000 (0:00:00.392) 0:01:34.700 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003386", "end": "2022-07-06 09:35:00.120060", "failed_when_result": false, "rc": 0, "start": "2022-07-06 09:35:00.116674" } STDOUT: luks-6eb67241-8615-49f6-9ee2-20f3270949a1 /dev/sda - 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 09:35:01 +0000 (0:00:00.393) 0:01:35.094 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda'], 'encryption': True, 'encryption_cipher': 'serpent-xts-plain64', 'encryption_key': None, 'encryption_key_size': 512, 'encryption_luks_version': 'luks1', 'encryption_password': 'yabbadabbadoo', '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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 09:35:01 +0000 (0:00:00.061) 0:01:35.156 ******** 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 09:35:01 +0000 (0:00:00.035) 0:01:35.191 ******** 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 09:35:01 +0000 (0:00:00.049) 0:01:35.240 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1" ] }, "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 09:35:01 +0000 (0:00:00.058) 0:01:35.299 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "pv": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 09:35:01 +0000 (0:00:00.395) 0:01:35.695 ******** 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 09:35:01 +0000 (0:00:00.082) 0:01:35.777 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 09:35:01 +0000 (0:00:00.049) 0:01:35.827 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 09:35:01 +0000 (0:00:00.095) 0:01:35.922 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 09:35:01 +0000 (0:00:00.079) 0:01:36.002 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 09:35:01 +0000 (0:00:00.029) 0:01:36.031 ******** 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 09:35:01 +0000 (0:00:00.024) 0:01:36.056 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 09:35:02 +0000 (0:00:00.143) 0:01:36.200 ******** 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 09:35:02 +0000 (0:00:00.046) 0:01:36.246 ******** 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 09:35:02 +0000 (0:00:00.028) 0:01:36.274 ******** 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 09:35:02 +0000 (0:00:00.024) 0:01:36.299 ******** 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 09:35:02 +0000 (0:00:00.023) 0:01:36.323 ******** 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 09:35:02 +0000 (0:00:00.023) 0:01:36.346 ******** 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 09:35:02 +0000 (0:00:00.024) 0:01:36.371 ******** 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 09:35:02 +0000 (0:00:00.024) 0:01:36.395 ******** 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 09:35:02 +0000 (0:00:00.030) 0:01:36.425 ******** 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 09:35:02 +0000 (0:00:00.037) 0:01:36.462 ******** 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 09:35:02 +0000 (0:00:00.054) 0:01:36.517 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 09:35:02 +0000 (0:00:00.047) 0:01:36.565 ******** 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 09:35:02 +0000 (0:00:00.031) 0:01:36.596 ******** 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 09:35:02 +0000 (0:00:00.029) 0:01:36.626 ******** 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 09:35:02 +0000 (0:00:00.028) 0:01:36.654 ******** 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 09:35:02 +0000 (0:00:00.045) 0:01:36.700 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 09:35:02 +0000 (0:00:00.045) 0:01:36.746 ******** 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 09:35:02 +0000 (0:00:00.023) 0:01:36.770 ******** 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 09:35:02 +0000 (0:00:00.025) 0:01:36.795 ******** 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 09:35:02 +0000 (0:00:00.024) 0:01:36.820 ******** 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 09:35:02 +0000 (0:00:00.024) 0:01:36.844 ******** 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 09:35:02 +0000 (0:00:00.049) 0:01:36.894 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_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 09:35:02 +0000 (0:00:00.048) 0:01:36.943 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml for /cache/fedora-35.qcow2.snap => (item=/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1) TASK [Get the backing device path] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:1 Wednesday 06 July 2022 09:35:02 +0000 (0:00:00.043) 0:01:36.987 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/6eb67241-8615-49f6-9ee2-20f3270949a1" ], "delta": "0:00:00.003142", "end": "2022-07-06 09:35:02.429514", "rc": 0, "start": "2022-07-06 09:35:02.426372" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:6 Wednesday 06 July 2022 09:35:03 +0000 (0:00:00.412) 0:01:37.400 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:11 Wednesday 06 July 2022 09:35:05 +0000 (0:00:01.888) 0:01:39.288 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.008454", "end": "2022-07-06 09:35:04.722171", "rc": 0, "start": "2022-07-06 09:35:04.713717" } STDOUT: LUKS header information for /dev/sda Version: 1 Cipher name: serpent Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: 96 87 0d 4d 89 7d 7e 99 d0 49 ca 35 db 01 7b 4d 40 ae 9b 6c MK salt: 5e e0 2d 3c 5f 4e 04 88 e7 24 7c 71 53 16 d2 c2 40 f3 fe 5e de 8f 26 a4 d8 f4 df c0 43 c2 65 09 MK iterations: 115177 UUID: 6eb67241-8615-49f6-9ee2-20f3270949a1 Key Slot 0: ENABLED Iterations: 1839606 Salt: bb 30 46 d6 7c a3 3d bc 3a ff 99 69 66 4b 71 af b2 39 23 b3 52 20 f6 8e c6 11 54 5b 56 96 6d 66 Key material offset: 8 AF stripes: 4000 Key Slot 1: DISABLED Key Slot 2: DISABLED Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:17 Wednesday 06 July 2022 09:35:05 +0000 (0:00:00.405) 0:01:39.693 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:23 Wednesday 06 July 2022 09:35:05 +0000 (0:00:00.053) 0:01:39.747 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:29 Wednesday 06 July 2022 09:35:05 +0000 (0:00:00.054) 0:01:39.802 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 09:35:05 +0000 (0:00:00.057) 0:01:39.859 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 09:35:05 +0000 (0:00:00.048) 0:01:39.907 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-6eb67241-8615-49f6-9ee2-20f3270949a1 /dev/sda -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 09:35:05 +0000 (0:00:00.053) 0:01:39.961 ******** 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 09:35:05 +0000 (0:00:00.048) 0:01:40.009 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 09:35:06 +0000 (0:00:00.059) 0:01:40.068 ******** 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 09:35:06 +0000 (0:00:00.044) 0:01:40.113 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 09:35:06 +0000 (0:00:00.056) 0:01:40.169 ******** 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 09:35:06 +0000 (0:00:00.049) 0:01:40.218 ******** 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 09:35:06 +0000 (0:00:00.040) 0:01:40.259 ******** 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 09:35:06 +0000 (0:00:00.051) 0:01:40.310 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 09:35:06 +0000 (0:00:00.045) 0:01:40.356 ******** 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 09:35:06 +0000 (0:00:00.026) 0:01:40.382 ******** 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 09:35:06 +0000 (0:00:00.023) 0:01:40.406 ******** 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 09:35:06 +0000 (0:00:00.023) 0:01:40.430 ******** 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 09:35:06 +0000 (0:00:00.023) 0:01:40.453 ******** 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 09:35:06 +0000 (0:00:00.023) 0:01:40.476 ******** 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 09:35:06 +0000 (0:00:00.022) 0:01:40.498 ******** 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 09:35:06 +0000 (0:00:00.023) 0:01:40.522 ******** 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 09:35:06 +0000 (0:00:00.099) 0:01:40.621 ******** 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 09:35:06 +0000 (0:00:00.035) 0:01:40.657 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 09:35:06 +0000 (0:00:00.044) 0:01:40.701 ******** 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 09:35:06 +0000 (0:00:00.052) 0:01:40.754 ******** 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 09:35:06 +0000 (0:00:00.113) 0:01:40.868 ******** 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 09:35:06 +0000 (0:00:00.043) 0:01:40.912 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "f5d7e18d-9c83-4ae0-8e3a-817175b321d5" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "f5d7e18d-9c83-4ae0-8e3a-817175b321d5" } ], "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 09:35:06 +0000 (0:00:00.059) 0:01:40.971 ******** 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 09:35:06 +0000 (0:00:00.057) 0:01:41.028 ******** 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 09:35:07 +0000 (0:00:00.050) 0:01:41.078 ******** 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 09:35:07 +0000 (0:00:00.056) 0:01:41.135 ******** 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 09:35:07 +0000 (0:00:00.025) 0:01:41.160 ******** 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 09:35:07 +0000 (0:00:00.026) 0:01:41.187 ******** 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 09:35:07 +0000 (0:00:00.025) 0:01:41.212 ******** 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 09:35:07 +0000 (0:00:00.040) 0:01:41.252 ******** 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 09:35:07 +0000 (0:00:00.061) 0:01:41.314 ******** 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 09:35:07 +0000 (0:00:00.062) 0:01:41.377 ******** 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 09:35:07 +0000 (0:00:00.053) 0:01:41.430 ******** 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 09:35:07 +0000 (0:00:00.039) 0:01:41.470 ******** 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 09:35:07 +0000 (0:00:00.041) 0:01:41.511 ******** 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 09:35:07 +0000 (0:00:00.046) 0:01:41.558 ******** 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 09:35:07 +0000 (0:00:00.050) 0:01:41.608 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657100097.8058503, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657100094.2878501, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 535, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657100094.2878501, "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 09:35:07 +0000 (0:00:00.415) 0:01:42.023 ******** 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 09:35:07 +0000 (0:00:00.037) 0:01:42.061 ******** 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 09:35:08 +0000 (0:00:00.040) 0:01:42.101 ******** 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 09:35:08 +0000 (0:00:00.039) 0:01:42.140 ******** 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 09:35:08 +0000 (0:00:00.025) 0:01:42.166 ******** 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 09:35:08 +0000 (0:00:00.039) 0:01:42.205 ******** 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 09:35:08 +0000 (0:00:00.025) 0:01:42.231 ******** 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 09:35:09 +0000 (0:00:01.769) 0:01:44.001 ******** 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 09:35:09 +0000 (0:00:00.029) 0:01:44.030 ******** 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 09:35:09 +0000 (0:00:00.026) 0:01:44.057 ******** 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 09:35:10 +0000 (0:00:00.152) 0:01:44.209 ******** 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 09:35:10 +0000 (0:00:00.026) 0:01:44.236 ******** 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 09:35:10 +0000 (0:00:00.026) 0:01:44.262 ******** 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 09:35:10 +0000 (0:00:00.026) 0:01:44.289 ******** 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 09:35:10 +0000 (0:00:00.025) 0:01:44.314 ******** 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 09:35:10 +0000 (0:00:00.025) 0:01:44.340 ******** 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 09:35:10 +0000 (0:00:00.055) 0:01:44.395 ******** 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 09:35:10 +0000 (0:00:00.051) 0:01:44.447 ******** 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 09:35:10 +0000 (0:00:00.040) 0:01:44.487 ******** 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 09:35:10 +0000 (0:00:00.035) 0:01:44.523 ******** 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 09:35:10 +0000 (0:00:00.035) 0:01:44.558 ******** 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 09:35:10 +0000 (0:00:00.037) 0:01:44.595 ******** 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 09:35:10 +0000 (0:00:00.041) 0:01:44.637 ******** 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 09:35:10 +0000 (0:00:00.038) 0:01:44.675 ******** 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 09:35:10 +0000 (0:00:00.038) 0:01:44.714 ******** 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 09:35:10 +0000 (0:00:00.039) 0:01:44.754 ******** 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 09:35:10 +0000 (0:00:00.042) 0:01:44.796 ******** 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 09:35:10 +0000 (0:00:00.040) 0:01:44.836 ******** 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 09:35:10 +0000 (0:00:00.038) 0:01:44.875 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 09:35:11 +0000 (0:00:00.398) 0:01:45.273 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 09:35:11 +0000 (0:00:00.398) 0:01:45.672 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 09:35:11 +0000 (0:00:00.054) 0:01:45.726 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 09:35:11 +0000 (0:00:00.039) 0:01:45.765 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 09:35:11 +0000 (0:00:00.039) 0:01:45.805 ******** 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 09:35:11 +0000 (0:00:00.042) 0:01:45.847 ******** 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 09:35:11 +0000 (0:00:00.041) 0:01:45.889 ******** 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 09:35:11 +0000 (0:00:00.040) 0:01:45.929 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 09:35:11 +0000 (0:00:00.042) 0:01:45.972 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 09:35:11 +0000 (0:00:00.041) 0:01:46.013 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 09:35:11 +0000 (0:00:00.036) 0:01:46.049 ******** 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 09:35:12 +0000 (0:00:00.058) 0:01:46.108 ******** 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.042493", "end": "2022-07-06 09:35:11.579734", "rc": 0, "start": "2022-07-06 09:35:11.537241" } 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 09:35:12 +0000 (0:00:00.447) 0:01:46.555 ******** 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 09:35:12 +0000 (0:00:00.053) 0:01:46.609 ******** 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 09:35:12 +0000 (0:00:00.089) 0:01:46.698 ******** 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 09:35:12 +0000 (0:00:00.040) 0:01:46.739 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 09:35:12 +0000 (0:00:00.042) 0:01:46.781 ******** 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 09:35:12 +0000 (0:00:00.036) 0:01:46.818 ******** 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 09:35:12 +0000 (0:00:00.038) 0:01:46.857 ******** 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 09:35:12 +0000 (0:00:00.075) 0:01:46.932 ******** 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 09:35:12 +0000 (0:00:00.070) 0:01:47.003 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 09:35:12 +0000 (0:00:00.022) 0:01:47.026 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [create a file] *********************************************************** task path: /tmp/tmprua6lrek/tests/create-test-file.yml:10 Wednesday 06 July 2022 09:35:12 +0000 (0:00:00.034) 0:01:47.060 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Change the mountpoint, leaving encryption in place] ********************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:234 Wednesday 06 July 2022 09:35:13 +0000 (0:00:00.386) 0:01:47.447 ******** 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 09:35:13 +0000 (0:00:00.055) 0:01:47.502 ******** 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 09:35:13 +0000 (0:00:00.042) 0:01:47.544 ******** 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 09:35:14 +0000 (0:00:00.550) 0:01:48.095 ******** 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 09:35:14 +0000 (0:00:00.067) 0:01:48.162 ******** 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 09:35:14 +0000 (0:00:00.039) 0:01:48.202 ******** 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 09:35:14 +0000 (0:00:00.041) 0:01:48.243 ******** 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 09:35:14 +0000 (0:00:00.052) 0:01:48.296 ******** 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 09:35:14 +0000 (0:00:00.023) 0:01:48.320 ******** 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 09:35:14 +0000 (0:00:00.031) 0:01:48.352 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test2", "name": "test1" } ] } ] } 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 09:35:14 +0000 (0:00:00.040) 0:01:48.393 ******** 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 09:35:14 +0000 (0:00:00.042) 0:01:48.435 ******** 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 09:35:14 +0000 (0:00:00.031) 0:01:48.466 ******** 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 09:35:14 +0000 (0:00:00.030) 0:01:48.497 ******** 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 09:35:14 +0000 (0:00:00.032) 0:01:48.529 ******** 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 09:35:14 +0000 (0:00:00.032) 0:01:48.562 ******** 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 09:35:14 +0000 (0:00:00.059) 0:01:48.622 ******** 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 09:35:14 +0000 (0:00:00.024) 0:01:48.646 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "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": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "xfsprogs", "dosfstools", "cryptsetup", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "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": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "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 09:35:16 +0000 (0:00:02.021) 0:01:50.667 ******** 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 09:35:16 +0000 (0:00:00.040) 0:01:50.707 ******** 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 09:35:16 +0000 (0:00:00.024) 0:01:50.732 ******** 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/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": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "xfsprogs", "dosfstools", "cryptsetup", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "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": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "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 09:35:16 +0000 (0:00:00.128) 0:01:50.860 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "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": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "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 09:35:16 +0000 (0:00:00.039) 0:01:50.900 ******** 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 09:35:16 +0000 (0:00:00.036) 0:01:50.937 ******** 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 09:35:17 +0000 (0:00:00.432) 0:01:51.370 ******** 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 09:35:18 +0000 (0:00:00.708) 0:01:52.078 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test2", "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 09:35:18 +0000 (0:00:00.446) 0:01:52.525 ******** 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 09:35:19 +0000 (0:00:00.699) 0:01:53.225 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657100097.8198502, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0f8f5aff459d73837f7d693df8179467efddffa8", "ctime": 1657100097.79585, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36621, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1657100097.7938502, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "47", "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 09:35:19 +0000 (0:00:00.407) 0:01:53.632 ******** 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 09:35:19 +0000 (0:00:00.024) 0:01:53.656 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [Assert to implicitly preserve encryption on existing pool] *************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:246 Wednesday 06 July 2022 09:35:20 +0000 (0:00:00.935) 0:01:54.591 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmprua6lrek/tests/verify-data-preservation.yml:10 Wednesday 06 July 2022 09:35:20 +0000 (0:00:00.043) 0:01:54.635 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657100112.4778502, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657100112.4778502, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1657100112.4778502, "nlink": 1, "path": "/opt/test2/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "1500907652", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmprua6lrek/tests/verify-data-preservation.yml:15 Wednesday 06 July 2022 09:35:20 +0000 (0:00:00.381) 0:01:55.017 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:255 Wednesday 06 July 2022 09:35:21 +0000 (0:00:00.048) 0:01:55.065 ******** 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 09:35:21 +0000 (0:00:00.044) 0:01:55.109 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "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": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "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 09:35:21 +0000 (0:00:00.135) 0:01:55.244 ******** 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 09:35:21 +0000 (0:00:00.038) 0:01:55.282 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "f5d7e18d-9c83-4ae0-8e3a-817175b321d5" }, "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "size": "10G", "type": "crypt", "uuid": "OeQ7Wq-Mvo5-PtGw-U4Xc-somZ-992I-uJtCB8" }, "/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": "crypto_LUKS", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "6eb67241-8615-49f6-9ee2-20f3270949a1" }, "/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-09-33-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "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 09:35:21 +0000 (0:00:00.401) 0:01:55.684 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002993", "end": "2022-07-06 09:35:21.093800", "rc": 0, "start": "2022-07-06 09:35:21.090807" } 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/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 09:35:22 +0000 (0:00:00.384) 0:01:56.068 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002933", "end": "2022-07-06 09:35:21.504529", "failed_when_result": false, "rc": 0, "start": "2022-07-06 09:35:21.501596" } STDOUT: luks-6eb67241-8615-49f6-9ee2-20f3270949a1 /dev/sda - 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 09:35:22 +0000 (0:00:00.412) 0:01:56.481 ******** [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': True, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks1', '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/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_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-1', '_raw_kernel_device': '/dev/dm-1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 09:35:22 +0000 (0:00:00.069) 0:01:56.550 ******** 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 09:35:22 +0000 (0:00:00.037) 0:01:56.587 ******** 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 09:35:22 +0000 (0:00:00.048) 0:01:56.636 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1" ] }, "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 09:35:22 +0000 (0:00:00.057) 0:01:56.693 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "pv": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 09:35:23 +0000 (0:00:00.409) 0:01:57.103 ******** 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 09:35:23 +0000 (0:00:00.054) 0:01:57.157 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 09:35:23 +0000 (0:00:00.055) 0:01:57.212 ******** 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 09:35:23 +0000 (0:00:00.055) 0:01:57.268 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 09:35:23 +0000 (0:00:00.039) 0:01:57.308 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 09:35:23 +0000 (0:00:00.026) 0:01:57.334 ******** 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 09:35:23 +0000 (0:00:00.025) 0:01:57.360 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 09:35:23 +0000 (0:00:00.046) 0:01:57.406 ******** 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 09:35:23 +0000 (0:00:00.043) 0:01:57.450 ******** 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 09:35:23 +0000 (0:00:00.025) 0:01:57.476 ******** 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 09:35:23 +0000 (0:00:00.060) 0:01:57.537 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 09:35:23 +0000 (0:00:00.026) 0:01:57.563 ******** 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 09:35:23 +0000 (0:00:00.026) 0:01:57.590 ******** 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 09:35:23 +0000 (0:00:00.026) 0:01:57.617 ******** 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 09:35:23 +0000 (0:00:00.025) 0:01:57.642 ******** 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 09:35:23 +0000 (0:00:00.023) 0:01:57.666 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 09:35:23 +0000 (0:00:00.034) 0:01:57.701 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 09:35:23 +0000 (0:00:00.048) 0:01:57.750 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 09:35:23 +0000 (0:00:00.046) 0:01:57.796 ******** 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 09:35:23 +0000 (0:00:00.030) 0:01:57.826 ******** 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 09:35:23 +0000 (0:00:00.031) 0:01:57.858 ******** 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 09:35:23 +0000 (0:00:00.029) 0:01:57.888 ******** 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 09:35:23 +0000 (0:00:00.049) 0:01:57.937 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 09:35:23 +0000 (0:00:00.045) 0:01:57.982 ******** 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 09:35:23 +0000 (0:00:00.026) 0:01:58.009 ******** 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 09:35:23 +0000 (0:00:00.025) 0:01:58.034 ******** 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 09:35:23 +0000 (0:00:00.023) 0:01:58.057 ******** 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 09:35:24 +0000 (0:00:00.022) 0:01:58.080 ******** 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 09:35:24 +0000 (0:00:00.050) 0:01:58.130 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_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 09:35:24 +0000 (0:00:00.057) 0:01:58.188 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml for /cache/fedora-35.qcow2.snap => (item=/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1) TASK [Get the backing device path] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:1 Wednesday 06 July 2022 09:35:24 +0000 (0:00:00.051) 0:01:58.239 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/6eb67241-8615-49f6-9ee2-20f3270949a1" ], "delta": "0:00:00.002929", "end": "2022-07-06 09:35:23.682220", "rc": 0, "start": "2022-07-06 09:35:23.679291" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:6 Wednesday 06 July 2022 09:35:24 +0000 (0:00:00.414) 0:01:58.653 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:11 Wednesday 06 July 2022 09:35:26 +0000 (0:00:01.903) 0:02:00.557 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.008936", "end": "2022-07-06 09:35:26.043708", "rc": 0, "start": "2022-07-06 09:35:26.034772" } STDOUT: LUKS header information for /dev/sda Version: 1 Cipher name: serpent Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: 96 87 0d 4d 89 7d 7e 99 d0 49 ca 35 db 01 7b 4d 40 ae 9b 6c MK salt: 5e e0 2d 3c 5f 4e 04 88 e7 24 7c 71 53 16 d2 c2 40 f3 fe 5e de 8f 26 a4 d8 f4 df c0 43 c2 65 09 MK iterations: 115177 UUID: 6eb67241-8615-49f6-9ee2-20f3270949a1 Key Slot 0: ENABLED Iterations: 1839606 Salt: bb 30 46 d6 7c a3 3d bc 3a ff 99 69 66 4b 71 af b2 39 23 b3 52 20 f6 8e c6 11 54 5b 56 96 6d 66 Key material offset: 8 AF stripes: 4000 Key Slot 1: DISABLED Key Slot 2: DISABLED Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:17 Wednesday 06 July 2022 09:35:26 +0000 (0:00:00.457) 0:02:01.014 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:23 Wednesday 06 July 2022 09:35:27 +0000 (0:00:00.055) 0:02:01.070 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:29 Wednesday 06 July 2022 09:35:27 +0000 (0:00:00.027) 0:02:01.097 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "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 09:35:27 +0000 (0:00:00.028) 0:02:01.126 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 09:35:27 +0000 (0:00:00.048) 0:02:01.175 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-6eb67241-8615-49f6-9ee2-20f3270949a1 /dev/sda -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 09:35:27 +0000 (0:00:00.055) 0:02:01.230 ******** 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 09:35:27 +0000 (0:00:00.050) 0:02:01.281 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 09:35:27 +0000 (0:00:00.054) 0:02:01.336 ******** 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 09:35:27 +0000 (0:00:00.039) 0:02:01.375 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 09:35:27 +0000 (0:00:00.056) 0:02:01.431 ******** 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 09:35:27 +0000 (0:00:00.036) 0:02:01.468 ******** 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 09:35:27 +0000 (0:00:00.042) 0:02:01.511 ******** 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 09:35:27 +0000 (0:00:00.054) 0:02:01.565 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 09:35:27 +0000 (0:00:00.047) 0:02:01.613 ******** 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 09:35:27 +0000 (0:00:00.028) 0:02:01.641 ******** 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 09:35:27 +0000 (0:00:00.026) 0:02:01.668 ******** 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 09:35:27 +0000 (0:00:00.027) 0:02:01.695 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 09:35:27 +0000 (0:00:00.026) 0:02:01.721 ******** 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 09:35:27 +0000 (0:00:00.027) 0:02:01.749 ******** 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 09:35:27 +0000 (0:00:00.025) 0:02:01.775 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 09:35:27 +0000 (0:00:00.026) 0:02:01.801 ******** 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 09:35:27 +0000 (0:00:00.036) 0:02:01.838 ******** 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 09:35:27 +0000 (0:00:00.038) 0:02:01.876 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 09:35:27 +0000 (0:00:00.045) 0:02:01.922 ******** 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 09:35:27 +0000 (0:00:00.052) 0:02:01.974 ******** 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 09:35:27 +0000 (0:00:00.080) 0:02:02.054 ******** 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 09:35:28 +0000 (0:00:00.044) 0:02:02.098 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097148, "inode_total": 2097152, "inode_used": 4, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "f5d7e18d-9c83-4ae0-8e3a-817175b321d5" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097148, "inode_total": 2097152, "inode_used": 4, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "f5d7e18d-9c83-4ae0-8e3a-817175b321d5" } ], "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 09:35:28 +0000 (0:00:00.094) 0:02:02.193 ******** 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 09:35:28 +0000 (0:00:00.088) 0:02:02.282 ******** 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 09:35:28 +0000 (0:00:00.094) 0:02:02.376 ******** 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 09:35:28 +0000 (0:00:00.055) 0:02:02.431 ******** 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 09:35:28 +0000 (0:00:00.025) 0:02:02.457 ******** 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 09:35:28 +0000 (0:00:00.026) 0:02:02.483 ******** 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 09:35:28 +0000 (0:00:00.025) 0:02:02.509 ******** 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 09:35:28 +0000 (0:00:00.036) 0:02:02.545 ******** 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/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 09:35:28 +0000 (0:00:00.066) 0:02:02.611 ******** 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 09:35:28 +0000 (0:00:00.053) 0:02:02.665 ******** 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 09:35:28 +0000 (0:00:00.052) 0:02:02.717 ******** 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 09:35:28 +0000 (0:00:00.040) 0:02:02.758 ******** 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 09:35:28 +0000 (0:00:00.040) 0:02:02.798 ******** 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 09:35:28 +0000 (0:00:00.040) 0:02:02.839 ******** 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 09:35:28 +0000 (0:00:00.042) 0:02:02.882 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657100117.54885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657100094.2878501, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 535, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657100094.2878501, "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 09:35:29 +0000 (0:00:00.390) 0:02:03.272 ******** 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 09:35:29 +0000 (0:00:00.040) 0:02:03.313 ******** 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 09:35:29 +0000 (0:00:00.039) 0:02:03.353 ******** 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 09:35:29 +0000 (0:00:00.037) 0:02:03.390 ******** 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 09:35:29 +0000 (0:00:00.025) 0:02:03.415 ******** 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 09:35:29 +0000 (0:00:00.040) 0:02:03.456 ******** 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 09:35:29 +0000 (0:00:00.025) 0:02:03.482 ******** 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 09:35:31 +0000 (0:00:02.077) 0:02:05.559 ******** 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 09:35:31 +0000 (0:00:00.028) 0:02:05.588 ******** 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 09:35:31 +0000 (0:00:00.023) 0:02:05.611 ******** 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 09:35:31 +0000 (0:00:00.058) 0:02:05.670 ******** 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 09:35:31 +0000 (0:00:00.025) 0:02:05.695 ******** 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 09:35:31 +0000 (0:00:00.023) 0:02:05.718 ******** 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 09:35:31 +0000 (0:00:00.025) 0:02:05.744 ******** 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 09:35:31 +0000 (0:00:00.028) 0:02:05.773 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 09:35:31 +0000 (0:00:00.025) 0:02:05.799 ******** 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 09:35:31 +0000 (0:00:00.102) 0:02:05.901 ******** 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 09:35:31 +0000 (0:00:00.090) 0:02:05.991 ******** 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 09:35:31 +0000 (0:00:00.041) 0:02:06.032 ******** 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 09:35:32 +0000 (0:00:00.037) 0:02:06.070 ******** 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 09:35:32 +0000 (0:00:00.036) 0:02:06.107 ******** 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 09:35:32 +0000 (0:00:00.106) 0:02:06.214 ******** 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 09:35:32 +0000 (0:00:00.043) 0:02:06.257 ******** 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 09:35:32 +0000 (0:00:00.041) 0:02:06.299 ******** 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 09:35:32 +0000 (0:00:00.042) 0:02:06.341 ******** 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 09:35:32 +0000 (0:00:00.038) 0:02:06.379 ******** 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 09:35:32 +0000 (0:00:00.041) 0:02:06.421 ******** 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 09:35:32 +0000 (0:00:00.038) 0:02:06.460 ******** 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 09:35:32 +0000 (0:00:00.045) 0:02:06.506 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 09:35:32 +0000 (0:00:00.424) 0:02:06.930 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 09:35:33 +0000 (0:00:00.409) 0:02:07.339 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 09:35:33 +0000 (0:00:00.051) 0:02:07.391 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 09:35:33 +0000 (0:00:00.036) 0:02:07.428 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 09:35:33 +0000 (0:00:00.036) 0:02:07.465 ******** 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 09:35:33 +0000 (0:00:00.037) 0:02:07.502 ******** 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 09:35:33 +0000 (0:00:00.040) 0:02:07.543 ******** 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 09:35:33 +0000 (0:00:00.039) 0:02:07.583 ******** 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 09:35:33 +0000 (0:00:00.039) 0:02:07.622 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 09:35:33 +0000 (0:00:00.043) 0:02:07.666 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 09:35:33 +0000 (0:00:00.037) 0:02:07.704 ******** 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 09:35:33 +0000 (0:00:00.052) 0:02:07.756 ******** 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.045040", "end": "2022-07-06 09:35:33.219659", "rc": 0, "start": "2022-07-06 09:35:33.174619" } 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 09:35:34 +0000 (0:00:00.440) 0:02:08.196 ******** 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 09:35:34 +0000 (0:00:00.058) 0:02:08.255 ******** 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 09:35:34 +0000 (0:00:00.055) 0:02:08.310 ******** 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 09:35:34 +0000 (0:00:00.041) 0:02:08.351 ******** 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 09:35:34 +0000 (0:00:00.036) 0:02:08.388 ******** 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 09:35:34 +0000 (0:00:00.037) 0:02:08.425 ******** 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 09:35:34 +0000 (0:00:00.039) 0:02:08.465 ******** 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 09:35:34 +0000 (0:00:00.039) 0:02:08.505 ******** 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 09:35:34 +0000 (0:00:00.035) 0:02:08.541 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 09:35:34 +0000 (0:00:00.022) 0:02:08.563 ******** 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_luks_pool.yml:257 Wednesday 06 July 2022 09:35:34 +0000 (0:00:00.077) 0:02:08.640 ******** 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 09:35:34 +0000 (0:00:00.106) 0:02:08.746 ******** 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 09:35:34 +0000 (0:00:00.040) 0:02:08.787 ******** 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 09:35:35 +0000 (0:00:00.560) 0:02:09.348 ******** 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 09:35:35 +0000 (0:00:00.066) 0:02:09.415 ******** 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 09:35:35 +0000 (0:00:00.048) 0:02:09.464 ******** 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 09:35:35 +0000 (0:00:00.036) 0:02:09.500 ******** 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 09:35:35 +0000 (0:00:00.051) 0:02:09.552 ******** 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 09:35:35 +0000 (0:00:00.024) 0:02:09.576 ******** 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 09:35:35 +0000 (0:00:00.032) 0:02:09.608 ******** 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 09:35:35 +0000 (0:00:00.037) 0:02:09.646 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "disk" } ] } 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 09:35:35 +0000 (0:00:00.041) 0:02:09.687 ******** 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 09:35:35 +0000 (0:00:00.032) 0:02:09.720 ******** 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 09:35:35 +0000 (0:00:00.027) 0:02:09.748 ******** 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 09:35:35 +0000 (0:00:00.027) 0:02:09.776 ******** 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 09:35:35 +0000 (0:00:00.027) 0:02:09.804 ******** 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 09:35:35 +0000 (0:00:00.062) 0:02:09.866 ******** 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 09:35:35 +0000 (0:00:00.022) 0:02:09.888 ******** 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/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "password": "-", "state": "absent" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "_mount_id": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } 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 09:35:38 +0000 (0:00:02.816) 0:02:12.705 ******** 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 09:35:38 +0000 (0:00:00.038) 0:02:12.744 ******** 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 09:35:38 +0000 (0:00:00.021) 0:02:12.766 ******** 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/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "password": "-", "state": "absent" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "_mount_id": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } 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 09:35:38 +0000 (0:00:00.082) 0:02:12.848 ******** 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 09:35:38 +0000 (0:00:00.125) 0:02:12.974 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "_mount_id": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "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 09:35:38 +0000 (0:00:00.040) 0:02:13.014 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 09:35:39 +0000 (0:00:00.417) 0:02:13.431 ******** 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 09:35:40 +0000 (0:00:00.720) 0:02:14.152 ******** 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 09:35:40 +0000 (0:00:00.041) 0:02:14.194 ******** 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 09:35:40 +0000 (0:00:00.741) 0:02:14.935 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657100097.8198502, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0f8f5aff459d73837f7d693df8179467efddffa8", "ctime": 1657100097.79585, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36621, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1657100097.7938502, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "47", "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 09:35:41 +0000 (0:00:00.414) 0:02:15.350 ******** changed: [/cache/fedora-35.qcow2.snap] => (item={'backing_device': '/dev/sda', 'name': 'luks-6eb67241-8615-49f6-9ee2-20f3270949a1', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed 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 09:35:41 +0000 (0:00:00.423) 0:02:15.773 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_luks_pool.yml:267 Wednesday 06 July 2022 09:35:42 +0000 (0:00:00.983) 0:02:16.757 ******** 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 09:35:42 +0000 (0:00:00.044) 0:02:16.802 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 09:35:42 +0000 (0:00:00.037) 0:02:16.839 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "_mount_id": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 09:35:42 +0000 (0:00:00.051) 0:02:16.890 ******** 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-09-33-13-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "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 09:35:43 +0000 (0:00:00.403) 0:02:17.294 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002948", "end": "2022-07-06 09:35:42.751385", "rc": 0, "start": "2022-07-06 09:35:42.748437" } 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 09:35:43 +0000 (0:00:00.429) 0:02:17.723 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002729", "end": "2022-07-06 09:35:43.143773", "failed_when_result": false, "rc": 0, "start": "2022-07-06 09:35:43.141044" } 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 09:35:44 +0000 (0:00:00.395) 0:02:18.119 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 09:35:44 +0000 (0:00:00.023) 0:02:18.142 ******** 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 09:35:44 +0000 (0:00:00.083) 0:02:18.226 ******** [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': True, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks1', 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'lvmpv', 'mount_options': 'defaults', 'mount_point': None, 'name': 'foo', 'raid_level': None, 'size': 10735321088, 'state': 'absent', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1', '_raw_device': '/dev/sda', '_mount_id': '/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 09:35:44 +0000 (0:00:00.063) 0:02:18.289 ******** 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 09:35:44 +0000 (0:00:00.130) 0:02:18.419 ******** 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 09:35:44 +0000 (0:00:00.076) 0:02:18.496 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/luks-6eb67241-8615-49f6-9ee2-20f3270949a1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 09:35:44 +0000 (0:00:00.043) 0:02:18.540 ******** 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 09:35:44 +0000 (0:00:00.059) 0:02:18.599 ******** 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 09:35:44 +0000 (0:00:00.027) 0:02:18.627 ******** 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 09:35:44 +0000 (0:00:00.049) 0:02:18.677 ******** 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 09:35:44 +0000 (0:00:00.043) 0:02:18.720 ******** 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 09:35:44 +0000 (0:00:00.032) 0:02:18.753 ******** 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 09:35:44 +0000 (0:00:00.028) 0:02:18.782 ******** 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 09:35:44 +0000 (0:00:00.026) 0:02:18.808 ******** 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 09:35:44 +0000 (0:00:00.037) 0:02:18.845 ******** 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 09:35:44 +0000 (0:00:00.067) 0:02:18.913 ******** 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 09:35:44 +0000 (0:00:00.026) 0:02:18.940 ******** 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 09:35:44 +0000 (0:00:00.055) 0:02:18.995 ******** 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 09:35:44 +0000 (0:00:00.039) 0:02:19.034 ******** 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 09:35:45 +0000 (0:00:00.039) 0:02:19.074 ******** 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 09:35:45 +0000 (0:00:00.025) 0:02:19.099 ******** 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 09:35:45 +0000 (0:00:00.023) 0:02:19.123 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657100137.6518502, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657100137.6518502, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 234, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657100137.6518502, "nlink": 1, "path": "/dev/sda", "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 09:35:45 +0000 (0:00:00.407) 0:02:19.530 ******** 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 09:35:45 +0000 (0:00:00.045) 0:02:19.576 ******** 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 09:35:45 +0000 (0:00:00.026) 0:02:19.602 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 09:35:45 +0000 (0:00:00.040) 0:02:19.642 ******** 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 09:35:45 +0000 (0:00:00.026) 0:02:19.669 ******** 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 09:35:45 +0000 (0:00:00.024) 0:02:19.693 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 09:35:46 +0000 (0:00:00.385) 0:02:20.078 ******** 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 09:35:47 +0000 (0:00:01.892) 0:02:21.971 ******** 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 09:35:47 +0000 (0:00:00.025) 0:02:21.997 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed 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 09:35:47 +0000 (0:00:00.038) 0:02:22.035 ******** 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 09:35:47 +0000 (0:00:00.025) 0:02:22.061 ******** 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 09:35:48 +0000 (0:00:00.026) 0:02:22.087 ******** 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 09:35:48 +0000 (0:00:00.026) 0:02:22.114 ******** 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 09:35:48 +0000 (0:00:00.025) 0:02:22.139 ******** 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 09:35:48 +0000 (0:00:00.024) 0:02:22.164 ******** 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 09:35:48 +0000 (0:00:00.025) 0:02:22.189 ******** 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 09:35:48 +0000 (0:00:00.055) 0:02:22.244 ******** 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 09:35:48 +0000 (0:00:00.050) 0:02:22.295 ******** 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 09:35:48 +0000 (0:00:00.039) 0:02:22.334 ******** 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 09:35:48 +0000 (0:00:00.036) 0:02:22.371 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 09:35:48 +0000 (0:00:00.038) 0:02:22.410 ******** 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 09:35:48 +0000 (0:00:00.033) 0:02:22.443 ******** 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 09:35:48 +0000 (0:00:00.035) 0:02:22.478 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 09:35:48 +0000 (0:00:00.035) 0:02:22.514 ******** 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 09:35:48 +0000 (0:00:00.038) 0:02:22.553 ******** 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 09:35:48 +0000 (0:00:00.037) 0:02:22.590 ******** 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 09:35:48 +0000 (0:00:00.039) 0:02:22.630 ******** 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 09:35:48 +0000 (0:00:00.037) 0:02:22.668 ******** 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 09:35:48 +0000 (0:00:00.043) 0:02:22.711 ******** 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 09:35:48 +0000 (0:00:00.026) 0:02:22.738 ******** 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 09:35:48 +0000 (0:00:00.038) 0:02:22.777 ******** 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 09:35:48 +0000 (0:00:00.038) 0:02:22.815 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 09:35:48 +0000 (0:00:00.040) 0:02:22.855 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 09:35:48 +0000 (0:00:00.038) 0:02:22.894 ******** 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 09:35:48 +0000 (0:00:00.037) 0:02:22.932 ******** 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 09:35:48 +0000 (0:00:00.035) 0:02:22.967 ******** 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 09:35:48 +0000 (0:00:00.039) 0:02:23.006 ******** 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 09:35:48 +0000 (0:00:00.047) 0:02:23.054 ******** 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 09:35:49 +0000 (0:00:00.039) 0:02:23.093 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 09:35:49 +0000 (0:00:00.040) 0:02:23.134 ******** 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 09:35:49 +0000 (0:00:00.031) 0:02:23.165 ******** 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 09:35:49 +0000 (0:00:00.026) 0:02:23.191 ******** 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 09:35:49 +0000 (0:00:00.024) 0:02:23.216 ******** 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 09:35:49 +0000 (0:00:00.025) 0:02:23.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 09:35:49 +0000 (0:00:00.028) 0:02:23.270 ******** 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 09:35:49 +0000 (0:00:00.025) 0:02:23.296 ******** 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 09:35:49 +0000 (0:00:00.025) 0:02:23.322 ******** 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 09:35:49 +0000 (0:00:00.024) 0:02:23.347 ******** 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:57 Wednesday 06 July 2022 09:35:49 +0000 (0:00:00.036) 0:02:23.383 ******** 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=545 changed=22 unreachable=0 failed=3 skipped=371 rescued=3 ignored=0 Wednesday 06 July 2022 09:35:49 +0000 (0:00:00.045) 0:02:23.429 ******** =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state -- 10.18s /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 --- 8.85s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 3.40s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.82s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : make sure blivet is available -------------- 2.60s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Ensure cryptsetup is present -------------------------------------------- 2.08s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.02s /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.02s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 1.98s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.91s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Ensure cryptsetup is present -------------------------------------------- 1.90s /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:6 -------------------- linux-system-roles.storage : make sure required packages are installed --- 1.90s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Ensure cryptsetup is present -------------------------------------------- 1.89s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.89s /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:6 -------------------- Ensure cryptsetup is present -------------------------------------------- 1.88s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.88s /tmp/tmprua6lrek/tests/verify-pool-member-encryption.yml:6 -------------------- linux-system-roles.storage : make sure required packages are installed --- 1.86s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Ensure cryptsetup is present -------------------------------------------- 1.85s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : get required packages ---------------------- 1.82s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Ensure cryptsetup is present -------------------------------------------- 1.77s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpfdufgi2k executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /tmp/tmpus9dv81c/tests/storage/create-test-file.yml statically imported: /tmp/tmpus9dv81c/tests/storage/verify-data-preservation.yml statically imported: /tmp/tmpus9dv81c/tests/storage/create-test-file.yml statically imported: /tmp/tmpus9dv81c/tests/storage/verify-data-preservation.yml statically imported: /tmp/tmpus9dv81c/tests/storage/create-test-file.yml statically imported: /tmp/tmpus9dv81c/tests/storage/verify-data-preservation.yml 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_luks_pool.yml ************************************************** 1 plays in /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:2 Wednesday 06 July 2022 13:24:30 +0000 (0:00:00.015) 0:00:00.015 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:14 Wednesday 06 July 2022 13:24:31 +0000 (0:00:01.313) 0:00:01.328 ******** 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 13:24:31 +0000 (0:00:00.037) 0:00:01.365 ******** 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 13:24:31 +0000 (0:00:00.032) 0:00:01.398 ******** 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 13:24:32 +0000 (0:00:00.536) 0:00:01.934 ******** 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 13:24:32 +0000 (0:00:00.059) 0:00:01.994 ******** 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 13:24:32 +0000 (0:00:00.032) 0:00:02.026 ******** 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 13:24:32 +0000 (0:00:00.039) 0:00:02.066 ******** 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 13:24:32 +0000 (0:00:00.054) 0:00:02.121 ******** 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 13:24:32 +0000 (0:00:00.017) 0:00:02.139 ******** 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 13:24:34 +0000 (0:00:02.605) 0:00:04.744 ******** 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 13:24:34 +0000 (0:00:00.034) 0:00:04.779 ******** 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 13:24:35 +0000 (0:00:00.034) 0:00:04.813 ******** 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 13:24:35 +0000 (0:00:00.790) 0:00:05.603 ******** 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 13:24:35 +0000 (0:00:00.047) 0:00:05.650 ******** 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 13:24:35 +0000 (0:00:00.044) 0:00:05.694 ******** 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 13:24:35 +0000 (0:00:00.034) 0:00:05.729 ******** 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 13:24:35 +0000 (0:00:00.050) 0:00:05.779 ******** 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 13:24:38 +0000 (0:00:02.037) 0:00:07.816 ******** 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 13:24:40 +0000 (0:00:02.135) 0:00:09.952 ******** 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 13:24:40 +0000 (0:00:00.058) 0:00:10.010 ******** 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 13:24:40 +0000 (0:00:00.023) 0:00:10.034 ******** 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 13:24:40 +0000 (0:00:00.567) 0:00:10.601 ******** 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 13:24:40 +0000 (0:00:00.038) 0:00:10.639 ******** 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 13:24:40 +0000 (0:00:00.020) 0:00:10.660 ******** 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 13:24:40 +0000 (0:00:00.039) 0:00:10.699 ******** 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 13:24:40 +0000 (0:00:00.039) 0:00:10.739 ******** 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 13:24:40 +0000 (0:00:00.036) 0:00:10.775 ******** 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 13:24:41 +0000 (0:00:00.036) 0:00:10.812 ******** 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 13:24:41 +0000 (0:00:00.025) 0:00:10.837 ******** 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 13:24:41 +0000 (0:00:00.037) 0:00:10.875 ******** 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 13:24:41 +0000 (0:00:00.023) 0:00:10.898 ******** 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 13:24:41 +0000 (0:00:00.591) 0:00:11.490 ******** 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 13:24:41 +0000 (0:00:00.021) 0:00:11.511 ******** 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_luks_pool.yml:17 Wednesday 06 July 2022 13:24:42 +0000 (0:00:01.000) 0:00:12.511 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:23 Wednesday 06 July 2022 13:24:42 +0000 (0:00:00.060) 0:00:12.572 ******** 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 13:24:42 +0000 (0:00:00.058) 0:00:12.630 ******** 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 13:24:43 +0000 (0:00:00.505) 0:00:13.136 ******** 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 13:24:43 +0000 (0:00:00.039) 0:00:13.176 ******** 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 13:24:43 +0000 (0:00:00.037) 0:00:13.213 ******** ok: [/cache/fedora-35.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create an encrypted lvm pool] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:34 Wednesday 06 July 2022 13:24:43 +0000 (0:00:00.034) 0:00:13.248 ******** 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 13:24:43 +0000 (0:00:00.043) 0:00:13.291 ******** 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 13:24:43 +0000 (0:00:00.037) 0:00:13.328 ******** 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 13:24:44 +0000 (0:00:00.541) 0:00:13.870 ******** 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 13:24:44 +0000 (0:00:00.064) 0:00:13.935 ******** 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 13:24:44 +0000 (0:00:00.035) 0:00:13.970 ******** 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 13:24:44 +0000 (0:00:00.036) 0:00:14.006 ******** 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 13:24:44 +0000 (0:00:00.056) 0:00:14.063 ******** 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 13:24:44 +0000 (0:00:00.021) 0:00:14.085 ******** 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 13:24:44 +0000 (0:00:00.029) 0:00:14.115 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } 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 13:24:44 +0000 (0:00:00.041) 0:00:14.156 ******** 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 13:24:44 +0000 (0:00:00.041) 0:00:14.198 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [ "cryptsetup", "lvm2" ], "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 13:24:46 +0000 (0:00:01.850) 0:00:16.049 ******** 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 13:24:46 +0000 (0:00:00.046) 0:00:16.095 ******** 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 13:24:46 +0000 (0:00:00.050) 0:00:16.146 ******** 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 13:24:46 +0000 (0:00:00.044) 0:00:16.190 ******** 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 13:24:46 +0000 (0:00:00.047) 0:00:16.238 ******** 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 13:24:48 +0000 (0:00:02.031) 0:00:18.270 ******** 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 13:24:48 +0000 (0:00:00.031) 0:00:18.301 ******** 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 13:24:48 +0000 (0:00:00.115) 0:00:18.417 ******** 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 13:24:48 +0000 (0:00:00.021) 0:00:18.438 ******** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: encrypted pool 'foo' missing key/password TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Wednesday 06 July 2022 13:24:50 +0000 (0:00:01.758) 0:00:20.196 ******** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "encrypted pool 'foo' missing key/password", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': True, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 13:24:50 +0000 (0:00:00.051) 0:00:20.248 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:53 Wednesday 06 July 2022 13:24:50 +0000 (0:00:00.032) 0:00:20.280 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the keyless luks test] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:59 Wednesday 06 July 2022 13:24:50 +0000 (0:00:00.037) 0:00:20.318 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:64 Wednesday 06 July 2022 13:24:50 +0000 (0:00:00.054) 0:00:20.372 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [Create a key file] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:73 Wednesday 06 July 2022 13:24:50 +0000 (0:00:00.032) 0:00:20.405 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/storage_testqnm7xnh9lukskey", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Write the key into the key file] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:80 Wednesday 06 July 2022 13:24:51 +0000 (0:00:00.516) 0:00:20.921 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "checksum": "7a4dff3752e2baf5617c57eaac048e2b95e8af91", "dest": "/tmp/storage_testqnm7xnh9lukskey", "gid": 0, "group": "root", "md5sum": "4ac07b967150835c00d0865161e48744", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 32, "src": "/root/.ansible/tmp/ansible-tmp-1657113891.1799543-270649-102651003980008/source", "state": "file", "uid": 0 } TASK [Create an encrypted lvm pool using a key file] *************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:87 Wednesday 06 July 2022 13:24:51 +0000 (0:00:00.869) 0:00:21.791 ******** 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 13:24:52 +0000 (0:00:00.040) 0:00:21.831 ******** 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 13:24:52 +0000 (0:00:00.040) 0:00:21.871 ******** 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 13:24:52 +0000 (0:00:00.575) 0:00:22.446 ******** 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 13:24:52 +0000 (0:00:00.061) 0:00:22.508 ******** 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 13:24:52 +0000 (0:00:00.037) 0:00:22.545 ******** 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 13:24:52 +0000 (0:00:00.038) 0:00:22.583 ******** 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 13:24:52 +0000 (0:00:00.055) 0:00:22.639 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 13:24:52 +0000 (0:00:00.020) 0:00:22.659 ******** 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 13:24:52 +0000 (0:00:00.026) 0:00:22.686 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_key": "/tmp/storage_testqnm7xnh9lukskey", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } 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 13:24:52 +0000 (0:00:00.066) 0:00:22.752 ******** 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 13:24:53 +0000 (0:00:00.069) 0:00:22.821 ******** 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 13:24:53 +0000 (0:00:00.035) 0:00:22.857 ******** 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 13:24:53 +0000 (0:00:00.029) 0:00:22.886 ******** 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 13:24:53 +0000 (0:00:00.031) 0:00:22.917 ******** 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 13:24:53 +0000 (0:00:00.031) 0:00:22.949 ******** 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 13:24:53 +0000 (0:00:00.089) 0:00:23.038 ******** 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 13:24:53 +0000 (0:00:00.022) 0:00:23.061 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339", "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": [ { "backing_device": "/dev/sda", "name": "luks-ee580e1a-8e58-4343-a645-72b61d335339", "password": "/tmp/storage_testqnm7xnh9lukskey", "state": "present" } ], "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": [ "xfsprogs", "cryptsetup", "e2fsprogs", "lvm2", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_testqnm7xnh9lukskey", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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 13:25:03 +0000 (0:00:10.718) 0:00:33.780 ******** 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 13:25:04 +0000 (0:00:00.038) 0:00:33.818 ******** 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 13:25:04 +0000 (0:00:00.024) 0:00:33.842 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339", "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": [ { "backing_device": "/dev/sda", "name": "luks-ee580e1a-8e58-4343-a645-72b61d335339", "password": "/tmp/storage_testqnm7xnh9lukskey", "state": "present" } ], "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": [ "xfsprogs", "cryptsetup", "e2fsprogs", "lvm2", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_testqnm7xnh9lukskey", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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 13:25:04 +0000 (0:00:00.040) 0:00:33.883 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_testqnm7xnh9lukskey", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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 13:25:04 +0000 (0:00:00.038) 0:00:33.922 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 13:25:04 +0000 (0:00:00.040) 0:00:33.963 ******** 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 13:25:04 +0000 (0:00:00.040) 0:00:34.003 ******** 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 13:25:05 +0000 (0:00:01.019) 0:00:35.022 ******** 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 13:25:05 +0000 (0:00:00.724) 0:00:35.747 ******** 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 13:25:06 +0000 (0:00:00.740) 0:00:36.488 ******** 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 13:25:07 +0000 (0:00:00.433) 0:00:36.921 ******** changed: [/cache/fedora-35.qcow2.snap] => (item={'backing_device': '/dev/sda', 'name': 'luks-ee580e1a-8e58-4343-a645-72b61d335339', 'password': '/tmp/storage_testqnm7xnh9lukskey', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-ee580e1a-8e58-4343-a645-72b61d335339", "password": "/tmp/storage_testqnm7xnh9lukskey", "state": "present" } } MSG: line added 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 13:25:07 +0000 (0:00:00.559) 0:00:37.480 ******** 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_luks_pool.yml:102 Wednesday 06 July 2022 13:25:08 +0000 (0:00:00.985) 0:00:38.466 ******** 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 13:25:08 +0000 (0:00:00.063) 0:00:38.529 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_testqnm7xnh9lukskey", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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 13:25:08 +0000 (0:00:00.056) 0:00:38.586 ******** 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 13:25:08 +0000 (0:00:00.038) 0:00:38.625 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "3b23bad2-9699-4651-aeb6-994292c4e545" }, "/dev/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339", "size": "10G", "type": "crypt", "uuid": "sWOpkN-Rx4w-WgDn-shiY-TKZ7-h86Y-HG7iSZ" }, "/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": "crypto_LUKS", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "ee580e1a-8e58-4343-a645-72b61d335339" }, "/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-13-24-17-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 13:25:09 +0000 (0:00:00.501) 0:00:39.126 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004278", "end": "2022-07-06 13:25:09.590079", "rc": 0, "start": "2022-07-06 13:25:08.585801" } 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 13:25:10 +0000 (0:00:01.508) 0:00:40.635 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003389", "end": "2022-07-06 13:25:09.985938", "failed_when_result": false, "rc": 0, "start": "2022-07-06 13:25:09.982549" } STDOUT: luks-ee580e1a-8e58-4343-a645-72b61d335339 /dev/sda /tmp/storage_testqnm7xnh9lukskey 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 13:25:11 +0000 (0:00:00.396) 0:00:41.032 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda'], 'encryption': True, 'encryption_cipher': None, 'encryption_key': '/tmp/storage_testqnm7xnh9lukskey', '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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 13:25:11 +0000 (0:00:00.064) 0:00:41.097 ******** 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 13:25:11 +0000 (0:00:00.034) 0:00:41.132 ******** 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 13:25:11 +0000 (0:00:00.048) 0:00:41.180 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339" ] }, "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 13:25:11 +0000 (0:00:00.058) 0:00:41.238 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339", "pv": "/dev/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 13:25:11 +0000 (0:00:00.548) 0:00:41.786 ******** 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 13:25:12 +0000 (0:00:00.051) 0:00:41.838 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 13:25:12 +0000 (0:00:00.095) 0:00:41.933 ******** 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 13:25:12 +0000 (0:00:00.057) 0:00:41.990 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 13:25:12 +0000 (0:00:00.038) 0:00:42.028 ******** 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-pool-members.yml:37 Wednesday 06 July 2022 13:25:12 +0000 (0:00:00.023) 0:00:42.052 ******** 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 13:25:12 +0000 (0:00:00.025) 0:00:42.077 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 13:25:12 +0000 (0:00:00.076) 0:00:42.154 ******** 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 13:25:12 +0000 (0:00:00.043) 0:00:42.198 ******** skipping: [/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 13:25:12 +0000 (0:00:00.033) 0:00:42.231 ******** skipping: [/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 13:25:12 +0000 (0:00:00.064) 0:00:42.296 ******** skipping: [/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 13:25:12 +0000 (0:00:00.026) 0:00:42.322 ******** 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 13:25:12 +0000 (0:00:00.028) 0:00:42.350 ******** 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 13:25:12 +0000 (0:00:00.026) 0:00:42.377 ******** 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 13:25:12 +0000 (0:00:00.027) 0:00:42.404 ******** skipping: [/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 13:25:12 +0000 (0:00:00.025) 0:00:42.429 ******** 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 13:25:12 +0000 (0:00:00.033) 0:00:42.463 ******** 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 13:25:12 +0000 (0:00:00.046) 0:00:42.509 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 13:25:12 +0000 (0:00:00.045) 0:00:42.555 ******** 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 13:25:12 +0000 (0:00:00.028) 0:00:42.583 ******** skipping: [/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 13:25:12 +0000 (0:00:00.026) 0:00:42.610 ******** 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 13:25:12 +0000 (0:00:00.026) 0:00:42.636 ******** 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 13:25:12 +0000 (0:00:00.044) 0:00:42.680 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 13:25:12 +0000 (0:00:00.041) 0:00:42.722 ******** 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 13:25:12 +0000 (0:00:00.021) 0:00:42.743 ******** 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 13:25:12 +0000 (0:00:00.022) 0:00:42.766 ******** skipping: [/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 13:25:12 +0000 (0:00:00.021) 0:00:42.787 ******** 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 13:25:13 +0000 (0:00:00.021) 0:00:42.809 ******** 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 13:25:13 +0000 (0:00:00.046) 0:00:42.855 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_storage_test_expected_crypttab_key_file": "/tmp/storage_testqnm7xnh9lukskey" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 13:25:13 +0000 (0:00:00.046) 0:00:42.902 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml for /cache/fedora-35.qcow2.snap => (item=/dev/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339) TASK [Get the backing device path] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:1 Wednesday 06 July 2022 13:25:13 +0000 (0:00:00.044) 0:00:42.946 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/ee580e1a-8e58-4343-a645-72b61d335339" ], "delta": "0:00:00.003745", "end": "2022-07-06 13:25:12.306869", "rc": 0, "start": "2022-07-06 13:25:12.303124" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:6 Wednesday 06 July 2022 13:25:13 +0000 (0:00:00.407) 0:00:43.353 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:11 Wednesday 06 July 2022 13:25:15 +0000 (0:00:02.046) 0:00:45.400 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.010139", "end": "2022-07-06 13:25:14.757101", "rc": 0, "start": "2022-07-06 13:25:14.746962" } STDOUT: LUKS header information Version: 2 Epoch: 3 Metadata area: 16384 [bytes] Keyslots area: 16744448 [bytes] UUID: ee580e1a-8e58-4343-a645-72b61d335339 Label: (no label) Subsystem: (no subsystem) Flags: (no flags) Data segments: 0: crypt offset: 16777216 [bytes] length: (whole device) cipher: aes-xts-plain64 sector: 512 [bytes] Keyslots: 0: luks2 Key: 512 bits Priority: normal Cipher: aes-xts-plain64 Cipher key: 512 bits PBKDF: argon2id Time cost: 6 Memory: 1007870 Threads: 4 Salt: 69 38 79 a5 80 13 b0 68 6b 02 46 08 89 ae 37 e0 ac ff e4 8e 5e 4b 8b 5e 4c 16 5e ca a2 56 71 8c AF stripes: 4000 AF hash: sha256 Area offset:32768 [bytes] Area length:258048 [bytes] Digest ID: 0 Tokens: Digests: 0: pbkdf2 Hash: sha256 Iterations: 114573 Salt: 05 25 0b 8e 2b e9 75 02 d7 30 1b 3a e5 6c db 76 ee db f2 33 19 0f 04 92 84 89 8a de b0 92 46 4b Digest: 99 97 8a d9 8d 6a a8 95 ad c1 31 63 c5 b1 63 6e 97 73 42 fa b1 68 b2 83 9a 87 b5 b2 8b 7c 4c d0 TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:17 Wednesday 06 July 2022 13:25:16 +0000 (0:00:00.408) 0:00:45.808 ******** 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/verify-pool-member-encryption.yml:23 Wednesday 06 July 2022 13:25:16 +0000 (0:00:00.025) 0:00:45.834 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:29 Wednesday 06 July 2022 13:25:16 +0000 (0:00:00.024) 0:00:45.858 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "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 13:25:16 +0000 (0:00:00.023) 0:00:45.882 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 13:25:16 +0000 (0:00:00.049) 0:00:45.931 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-ee580e1a-8e58-4343-a645-72b61d335339 /dev/sda /tmp/storage_testqnm7xnh9lukskey" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 13:25:16 +0000 (0:00:00.057) 0:00:45.989 ******** 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 13:25:16 +0000 (0:00:00.053) 0:00:46.042 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 13:25:16 +0000 (0:00:00.055) 0:00:46.097 ******** 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 13:25:16 +0000 (0:00:00.036) 0:00:46.133 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 13:25:16 +0000 (0:00:00.052) 0:00:46.186 ******** 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 13:25:16 +0000 (0:00:00.038) 0:00:46.224 ******** 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 13:25:16 +0000 (0:00:00.042) 0:00:46.267 ******** 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 13:25:16 +0000 (0:00:00.047) 0:00:46.315 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 13:25:16 +0000 (0:00:00.047) 0:00:46.363 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 13:25:16 +0000 (0:00:00.023) 0:00:46.386 ******** 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 13:25:16 +0000 (0:00:00.025) 0:00:46.412 ******** 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 13:25:16 +0000 (0:00:00.024) 0:00:46.436 ******** skipping: [/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 13:25:16 +0000 (0:00:00.023) 0:00:46.460 ******** 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 13:25:16 +0000 (0:00:00.025) 0:00:46.485 ******** 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 13:25:16 +0000 (0:00:00.024) 0:00:46.510 ******** skipping: [/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 13:25:16 +0000 (0:00:00.024) 0:00:46.534 ******** 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 13:25:16 +0000 (0:00:00.065) 0:00:46.600 ******** 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 13:25:16 +0000 (0:00:00.033) 0:00:46.633 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 13:25:16 +0000 (0:00:00.044) 0:00:46.678 ******** 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 13:25:16 +0000 (0:00:00.053) 0:00:46.731 ******** 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 13:25:17 +0000 (0:00:00.085) 0:00:46.816 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 13:25:17 +0000 (0:00:00.043) 0:00:46.860 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "3b23bad2-9699-4651-aeb6-994292c4e545" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "3b23bad2-9699-4651-aeb6-994292c4e545" } ], "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 13:25:17 +0000 (0:00:00.056) 0:00:46.916 ******** 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 13:25:17 +0000 (0:00:00.054) 0:00:46.971 ******** 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 13:25:17 +0000 (0:00:00.052) 0:00:47.023 ******** 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 13:25:17 +0000 (0:00:00.052) 0:00:47.076 ******** 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 13:25:17 +0000 (0:00:00.026) 0:00:47.103 ******** 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 13:25:17 +0000 (0:00:00.026) 0:00:47.129 ******** 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 13:25:17 +0000 (0:00:00.027) 0:00:47.157 ******** 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 13:25:17 +0000 (0:00:00.040) 0:00:47.197 ******** 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 13:25:17 +0000 (0:00:00.068) 0:00:47.266 ******** 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 13:25:17 +0000 (0:00:00.055) 0:00:47.322 ******** 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 13:25:17 +0000 (0:00:00.051) 0:00:47.373 ******** 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 13:25:17 +0000 (0:00:00.035) 0:00:47.408 ******** 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 13:25:17 +0000 (0:00:00.036) 0:00:47.445 ******** 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 13:25:17 +0000 (0:00:00.041) 0:00:47.486 ******** 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 13:25:17 +0000 (0:00:00.041) 0:00:47.527 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657113906.4379435, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657113902.6559434, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 511, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657113902.6559434, "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 13:25:18 +0000 (0:00:00.401) 0:00:47.929 ******** 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 13:25:18 +0000 (0:00:00.044) 0:00:47.974 ******** 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 13:25:18 +0000 (0:00:00.043) 0:00:48.018 ******** 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 13:25:18 +0000 (0:00:00.036) 0:00:48.055 ******** 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 13:25:18 +0000 (0:00:00.023) 0:00:48.078 ******** 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 13:25:18 +0000 (0:00:00.040) 0:00:48.119 ******** 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 13:25:18 +0000 (0:00:00.026) 0:00:48.145 ******** 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 13:25:20 +0000 (0:00:01.875) 0:00:50.020 ******** 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 13:25:20 +0000 (0:00:00.026) 0:00:50.047 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 13:25:20 +0000 (0:00:00.025) 0:00:50.072 ******** 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 13:25:20 +0000 (0:00:00.056) 0:00:50.128 ******** 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 13:25:20 +0000 (0:00:00.024) 0:00:50.153 ******** 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 13:25:20 +0000 (0:00:00.023) 0:00:50.176 ******** 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 13:25:20 +0000 (0:00:00.023) 0:00:50.200 ******** 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 13:25:20 +0000 (0:00:00.024) 0:00:50.224 ******** 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 13:25:20 +0000 (0:00:00.027) 0:00:50.251 ******** 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 13:25:20 +0000 (0:00:00.052) 0:00:50.303 ******** 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 13:25:20 +0000 (0:00:00.048) 0:00:50.352 ******** 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 13:25:20 +0000 (0:00:00.034) 0:00:50.386 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 13:25:20 +0000 (0:00:00.036) 0:00:50.423 ******** 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 13:25:20 +0000 (0:00:00.034) 0:00:50.458 ******** 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 13:25:20 +0000 (0:00:00.035) 0:00:50.493 ******** 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 13:25:20 +0000 (0:00:00.035) 0:00:50.528 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 13:25:20 +0000 (0:00:00.036) 0:00:50.564 ******** 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 13:25:20 +0000 (0:00:00.035) 0:00:50.600 ******** 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 13:25:20 +0000 (0:00:00.042) 0:00:50.643 ******** 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 13:25:20 +0000 (0:00:00.038) 0:00:50.681 ******** 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 13:25:20 +0000 (0:00:00.039) 0:00:50.720 ******** 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 13:25:20 +0000 (0:00:00.035) 0:00:50.756 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 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 13:25:21 +0000 (0:00:00.527) 0:00:51.283 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 13:25:21 +0000 (0:00:00.404) 0:00:51.688 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 13:25:21 +0000 (0:00:00.050) 0:00:51.739 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 13:25:21 +0000 (0:00:00.038) 0:00:51.778 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 13:25:22 +0000 (0:00:00.040) 0:00:51.818 ******** 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 13:25:22 +0000 (0:00:00.039) 0:00:51.857 ******** 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 13:25:22 +0000 (0:00:00.041) 0:00:51.899 ******** 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 13:25:22 +0000 (0:00:00.039) 0:00:51.938 ******** 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 13:25:22 +0000 (0:00:00.043) 0:00:51.982 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 13:25:22 +0000 (0:00:00.038) 0:00:52.020 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 13:25:22 +0000 (0:00:00.074) 0:00:52.095 ******** 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 13:25:22 +0000 (0:00:00.124) 0:00:52.219 ******** 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.048617", "end": "2022-07-06 13:25:21.628452", "rc": 0, "start": "2022-07-06 13:25:21.579835" } 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 13:25:22 +0000 (0:00:00.456) 0:00:52.676 ******** 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 13:25:22 +0000 (0:00:00.051) 0:00:52.727 ******** 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 13:25:22 +0000 (0:00:00.050) 0:00:52.777 ******** 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 13:25:23 +0000 (0:00:00.035) 0:00:52.813 ******** 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 13:25:23 +0000 (0:00:00.035) 0:00:52.848 ******** 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 13:25:23 +0000 (0:00:00.038) 0:00:52.887 ******** 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 13:25:23 +0000 (0:00:00.042) 0:00:52.929 ******** 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 13:25:23 +0000 (0:00:00.040) 0:00:52.970 ******** 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 13:25:23 +0000 (0:00:00.037) 0:00:53.008 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 13:25:23 +0000 (0:00:00.026) 0:00:53.034 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Remove the key file] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:104 Wednesday 06 July 2022 13:25:23 +0000 (0:00:00.036) 0:00:53.071 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "path": "/tmp/storage_testqnm7xnh9lukskey", "state": "absent" } TASK [create a file] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/create-test-file.yml:10 Wednesday 06 July 2022 13:25:23 +0000 (0:00:00.559) 0:00:53.631 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Remove the encryption layer] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:114 Wednesday 06 July 2022 13:25:24 +0000 (0:00:00.407) 0:00:54.039 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 13:25:24 +0000 (0:00:00.040) 0:00:54.079 ******** 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 13:25:24 +0000 (0:00:00.035) 0:00:54.115 ******** 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 13:25:24 +0000 (0:00:00.546) 0:00:54.662 ******** 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 13:25:24 +0000 (0:00:00.064) 0:00:54.726 ******** 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 13:25:24 +0000 (0:00:00.072) 0:00:54.799 ******** 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 13:25:25 +0000 (0:00:00.075) 0:00:54.875 ******** 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 13:25:25 +0000 (0:00:00.059) 0:00:54.934 ******** 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 13:25:25 +0000 (0:00:00.061) 0:00:54.996 ******** 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 13:25:25 +0000 (0:00:00.029) 0:00:55.025 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } 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 13:25:25 +0000 (0:00:00.039) 0:00:55.065 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 13:25:25 +0000 (0:00:00.040) 0:00:55.105 ******** 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 13:25:25 +0000 (0:00:00.031) 0:00:55.137 ******** 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 13:25:25 +0000 (0:00:00.031) 0:00:55.169 ******** 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 13:25:25 +0000 (0:00:00.035) 0:00:55.204 ******** 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 13:25:25 +0000 (0:00:00.029) 0:00:55.234 ******** 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 13:25:25 +0000 (0:00:00.059) 0:00:55.293 ******** 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 13:25:25 +0000 (0:00:00.025) 0:00:55.318 ******** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove and recreate existing pool 'foo' in safe mode TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Wednesday 06 July 2022 13:25:27 +0000 (0:00:02.011) 0:00:57.330 ******** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove and recreate existing pool 'foo' in safe mode", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks2', 'encryption_password': 'yabbadabbadoo', 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 13:25:27 +0000 (0:00:00.042) 0:00:57.373 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:132 Wednesday 06 July 2022 13:25:27 +0000 (0:00:00.023) 0:00:57.396 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the safe_mode test] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:138 Wednesday 06 July 2022 13:25:27 +0000 (0:00:00.041) 0:00:57.438 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-data-preservation.yml:10 Wednesday 06 July 2022 13:25:27 +0000 (0:00:00.057) 0:00:57.496 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657113922.9899433, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657113922.9899433, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1657113922.9899433, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "1554712051", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-data-preservation.yml:15 Wednesday 06 July 2022 13:25:28 +0000 (0:00:00.416) 0:00:57.912 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Remove the encryption layer] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:145 Wednesday 06 July 2022 13:25:28 +0000 (0:00:00.043) 0:00:57.956 ******** 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 13:25:28 +0000 (0:00:00.042) 0:00:57.999 ******** 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 13:25:28 +0000 (0:00:00.037) 0:00:58.036 ******** 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 13:25:28 +0000 (0:00:00.557) 0:00:58.594 ******** 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 13:25:28 +0000 (0:00:00.065) 0:00:58.660 ******** 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 13:25:28 +0000 (0:00:00.072) 0:00:58.732 ******** 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 13:25:29 +0000 (0:00:00.071) 0:00:58.804 ******** 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 13:25:29 +0000 (0:00:00.065) 0:00:58.869 ******** 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 13:25:29 +0000 (0:00:00.068) 0:00:58.937 ******** 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 13:25:29 +0000 (0:00:00.030) 0:00:58.967 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } 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 13:25:29 +0000 (0:00:00.041) 0:00:59.008 ******** 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 13:25:29 +0000 (0:00:00.040) 0:00:59.049 ******** 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 13:25:29 +0000 (0:00:00.030) 0:00:59.079 ******** 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 13:25:29 +0000 (0:00:00.030) 0:00:59.109 ******** 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 13:25:29 +0000 (0:00:00.030) 0:00:59.140 ******** 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 13:25:29 +0000 (0:00:00.028) 0:00:59.168 ******** 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 13:25:29 +0000 (0:00:00.061) 0:00:59.230 ******** 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 13:25:29 +0000 (0:00:00.022) 0:00:59.252 ******** 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/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" }, { "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": [ { "backing_device": "/dev/sda", "name": "luks-ee580e1a-8e58-4343-a645-72b61d335339", "password": "-", "state": "absent" } ], "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": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "e2fsprogs", "xfsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/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": "4g", "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 13:25:32 +0000 (0:00:03.462) 0:01:02.714 ******** 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 13:25:32 +0000 (0:00:00.037) 0:01:02.751 ******** 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 13:25:32 +0000 (0:00:00.021) 0:01:02.773 ******** 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/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-ee580e1a-8e58-4343-a645-72b61d335339", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" }, { "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": [ { "backing_device": "/dev/sda", "name": "luks-ee580e1a-8e58-4343-a645-72b61d335339", "password": "-", "state": "absent" } ], "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": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "e2fsprogs", "xfsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/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": "4g", "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 13:25:33 +0000 (0:00:00.040) 0:01:02.813 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/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": "4g", "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 13:25:33 +0000 (0:00:00.040) 0:01:02.854 ******** 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 13:25:33 +0000 (0:00:00.042) 0:01:02.896 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 13:25:33 +0000 (0:00:00.406) 0:01:03.302 ******** 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 13:25:34 +0000 (0:00:00.755) 0:01:04.058 ******** 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 13:25:34 +0000 (0:00:00.505) 0:01:04.564 ******** 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 13:25:35 +0000 (0:00:00.781) 0:01:05.346 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657113906.4499433, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e54970ac098f777bc8de5e1ae14d097dbb006ea3", "ctime": 1657113906.4279432, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36509, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1657113906.4269433, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 84, "uid": 0, "version": "45", "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 13:25:35 +0000 (0:00:00.440) 0:01:05.786 ******** changed: [/cache/fedora-35.qcow2.snap] => (item={'backing_device': '/dev/sda', 'name': 'luks-ee580e1a-8e58-4343-a645-72b61d335339', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-ee580e1a-8e58-4343-a645-72b61d335339", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed 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 13:25:36 +0000 (0:00:00.455) 0:01:06.242 ******** 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_luks_pool.yml:161 Wednesday 06 July 2022 13:25:37 +0000 (0:00:00.940) 0:01:07.183 ******** 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 13:25:37 +0000 (0:00:00.042) 0:01:07.226 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/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": "4g", "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 13:25:37 +0000 (0:00:00.059) 0:01:07.285 ******** 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 13:25:37 +0000 (0:00:00.038) 0:01:07.324 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "0f0da3c5-9e49-4856-a120-cec7505e0376" }, "/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": "hDUT7t-yvi4-7Gme-G0De-ubQy-DbrQ-H4ZLim" }, "/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-13-24-17-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 13:25:37 +0000 (0:00:00.408) 0:01:07.732 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.009265", "end": "2022-07-06 13:25:37.085759", "rc": 0, "start": "2022-07-06 13:25:37.076494" } 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 13:25:38 +0000 (0:00:00.404) 0:01:08.137 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003133", "end": "2022-07-06 13:25:37.490866", "failed_when_result": false, "rc": 0, "start": "2022-07-06 13:25:37.487733" } 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 13:25:38 +0000 (0:00:00.399) 0:01:08.537 ******** [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': 0, 'encryption_luks_version': 'luks2', 'encryption_password': 'yabbadabbadoo', '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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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 13:25:38 +0000 (0:00:00.065) 0:01:08.602 ******** 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 13:25:38 +0000 (0:00:00.074) 0:01:08.677 ******** 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 13:25:38 +0000 (0:00:00.047) 0:01:08.724 ******** 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 13:25:39 +0000 (0:00:00.091) 0:01:08.816 ******** 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 13:25:39 +0000 (0:00:00.400) 0:01:09.216 ******** 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 13:25:39 +0000 (0:00:00.089) 0:01:09.305 ******** 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 13:25:39 +0000 (0:00:00.083) 0:01:09.389 ******** 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 13:25:39 +0000 (0:00:00.081) 0:01:09.471 ******** 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 13:25:39 +0000 (0:00:00.073) 0:01:09.544 ******** 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 13:25:39 +0000 (0:00:00.082) 0:01:09.626 ******** 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 13:25:39 +0000 (0:00:00.023) 0:01:09.650 ******** 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 13:25:39 +0000 (0:00:00.041) 0:01:09.692 ******** 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 13:25:39 +0000 (0:00:00.043) 0:01:09.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-md.yml:12 Wednesday 06 July 2022 13:25:39 +0000 (0:00:00.024) 0:01:09.761 ******** skipping: [/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 13:25:39 +0000 (0:00:00.025) 0:01:09.786 ******** skipping: [/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 13:25:40 +0000 (0:00:00.025) 0:01:09.812 ******** 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 13:25:40 +0000 (0:00:00.023) 0:01:09.835 ******** 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 13:25:40 +0000 (0:00:00.025) 0:01:09.861 ******** 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 13:25:40 +0000 (0:00:00.025) 0:01:09.887 ******** skipping: [/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 13:25:40 +0000 (0:00:00.028) 0:01:09.915 ******** 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 13:25:40 +0000 (0:00:00.036) 0:01:09.952 ******** 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 13:25:40 +0000 (0:00:00.045) 0:01:09.997 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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 13:25:40 +0000 (0:00:00.048) 0:01:10.047 ******** 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 13:25:40 +0000 (0:00:00.036) 0:01:10.083 ******** skipping: [/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 13:25:40 +0000 (0:00:00.033) 0:01:10.116 ******** 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 13:25:40 +0000 (0:00:00.030) 0:01:10.147 ******** 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 13:25:40 +0000 (0:00:00.044) 0:01:10.191 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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 13:25:40 +0000 (0:00:00.043) 0:01:10.234 ******** 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 13:25:40 +0000 (0:00:00.021) 0:01:10.256 ******** 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 13:25:40 +0000 (0:00:00.024) 0:01:10.281 ******** skipping: [/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 13:25:40 +0000 (0:00:00.024) 0:01:10.305 ******** 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 13:25:40 +0000 (0:00:00.025) 0:01:10.331 ******** 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 13:25:40 +0000 (0:00:00.047) 0:01:10.378 ******** 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 13:25:40 +0000 (0:00:00.049) 0:01:10.428 ******** 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 13:25:40 +0000 (0:00:00.026) 0:01:10.454 ******** 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 13:25:40 +0000 (0:00:00.045) 0:01:10.499 ******** 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 13:25:40 +0000 (0:00:00.048) 0:01:10.548 ******** 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 13:25:40 +0000 (0:00:00.054) 0:01:10.602 ******** 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 13:25:40 +0000 (0:00:00.040) 0:01:10.642 ******** 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 13:25:40 +0000 (0:00:00.040) 0:01:10.682 ******** skipping: [/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 13:25:40 +0000 (0:00:00.034) 0:01:10.717 ******** 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 13:25:40 +0000 (0:00:00.070) 0:01:10.788 ******** 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 13:25:41 +0000 (0:00:00.126) 0:01:10.914 ******** 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 13:25:41 +0000 (0:00:00.049) 0:01:10.963 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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 13:25:41 +0000 (0:00:00.048) 0:01:11.012 ******** skipping: [/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 13:25:41 +0000 (0:00:00.027) 0:01:11.039 ******** 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 13:25:41 +0000 (0:00:00.026) 0:01:11.066 ******** 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 13:25:41 +0000 (0:00:00.027) 0:01:11.094 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 13:25:41 +0000 (0:00:00.028) 0:01:11.122 ******** 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 13:25:41 +0000 (0:00:00.025) 0:01:11.148 ******** 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 13:25:41 +0000 (0:00:00.024) 0:01:11.173 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 13:25:41 +0000 (0:00:00.024) 0:01:11.197 ******** 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 13:25:41 +0000 (0:00:00.041) 0:01:11.238 ******** 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 13:25:41 +0000 (0:00:00.037) 0:01:11.275 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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 13:25:41 +0000 (0:00:00.048) 0:01:11.324 ******** 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 13:25:41 +0000 (0:00:00.055) 0:01:11.379 ******** 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 13:25:41 +0000 (0:00:00.081) 0:01:11.460 ******** 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 13:25:41 +0000 (0:00:00.040) 0:01:11.501 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "0f0da3c5-9e49-4856-a120-cec7505e0376" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "0f0da3c5-9e49-4856-a120-cec7505e0376" } ], "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 13:25:41 +0000 (0:00:00.055) 0:01:11.557 ******** 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 13:25:41 +0000 (0:00:00.052) 0:01:11.609 ******** 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 13:25:41 +0000 (0:00:00.047) 0:01:11.657 ******** 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 13:25:41 +0000 (0:00:00.051) 0:01:11.709 ******** 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 13:25:41 +0000 (0:00:00.024) 0:01:11.733 ******** 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 13:25:41 +0000 (0:00:00.023) 0:01:11.757 ******** 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 13:25:41 +0000 (0:00:00.022) 0:01:11.780 ******** 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 13:25:42 +0000 (0:00:00.034) 0:01:11.814 ******** 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 13:25:42 +0000 (0:00:00.064) 0:01:11.878 ******** 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 13:25:42 +0000 (0:00:00.053) 0:01:11.932 ******** 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 13:25:42 +0000 (0:00:00.054) 0:01:11.986 ******** 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 13:25:42 +0000 (0:00:00.046) 0:01:12.033 ******** 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 13:25:42 +0000 (0:00:00.033) 0:01:12.067 ******** 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 13:25:42 +0000 (0:00:00.039) 0:01:12.106 ******** 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 13:25:42 +0000 (0:00:00.043) 0:01:12.149 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657113935.1999433, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657113931.5979433, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 520, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657113931.5979433, "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 13:25:42 +0000 (0:00:00.408) 0:01:12.558 ******** 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 13:25:42 +0000 (0:00:00.039) 0:01:12.597 ******** 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 13:25:42 +0000 (0:00:00.041) 0:01:12.638 ******** 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 13:25:42 +0000 (0:00:00.040) 0:01:12.678 ******** 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 13:25:42 +0000 (0:00:00.026) 0:01:12.705 ******** 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 13:25:42 +0000 (0:00:00.041) 0:01:12.747 ******** 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 13:25:42 +0000 (0:00:00.026) 0:01:12.773 ******** 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 13:25:45 +0000 (0:00:02.077) 0:01:14.851 ******** 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 13:25:45 +0000 (0:00:00.026) 0:01:14.878 ******** 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 13:25:45 +0000 (0:00:00.025) 0:01:14.904 ******** 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 13:25:45 +0000 (0:00:00.053) 0:01:14.957 ******** 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 13:25:45 +0000 (0:00:00.026) 0:01:14.984 ******** 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 13:25:45 +0000 (0:00:00.028) 0:01:15.012 ******** 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 13:25:45 +0000 (0:00:00.026) 0:01:15.038 ******** 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 13:25:45 +0000 (0:00:00.025) 0:01:15.064 ******** 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 13:25:45 +0000 (0:00:00.026) 0:01:15.091 ******** 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 13:25:45 +0000 (0:00:00.057) 0:01:15.148 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 13:25:45 +0000 (0:00:00.053) 0:01:15.202 ******** 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 13:25:45 +0000 (0:00:00.038) 0:01:15.241 ******** 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 13:25:45 +0000 (0:00:00.037) 0:01:15.278 ******** 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 13:25:45 +0000 (0:00:00.039) 0:01:15.317 ******** 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 13:25:45 +0000 (0:00:00.036) 0:01:15.354 ******** 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 13:25:45 +0000 (0:00:00.041) 0:01:15.395 ******** 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 13:25:45 +0000 (0:00:00.037) 0:01:15.433 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 13:25:45 +0000 (0:00:00.041) 0:01:15.474 ******** 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 13:25:45 +0000 (0:00:00.035) 0:01:15.510 ******** 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 13:25:45 +0000 (0:00:00.034) 0:01:15.544 ******** 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 13:25:45 +0000 (0:00:00.034) 0:01:15.579 ******** 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 13:25:45 +0000 (0:00:00.038) 0:01:15.617 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 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 13:25:46 +0000 (0:00:00.397) 0:01:16.014 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 13:25:46 +0000 (0:00:00.447) 0:01:16.462 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 13:25:46 +0000 (0:00:00.080) 0:01:16.542 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 13:25:46 +0000 (0:00:00.064) 0:01:16.606 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 13:25:46 +0000 (0:00:00.037) 0:01:16.644 ******** 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 13:25:46 +0000 (0:00:00.035) 0:01:16.679 ******** 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 13:25:46 +0000 (0:00:00.035) 0:01:16.714 ******** 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 13:25:46 +0000 (0:00:00.034) 0:01:16.749 ******** 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 13:25:47 +0000 (0:00:00.065) 0:01:16.814 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 13:25:47 +0000 (0:00:00.064) 0:01:16.879 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 13:25:47 +0000 (0:00:00.065) 0:01:16.944 ******** 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 13:25:47 +0000 (0:00:00.100) 0:01:17.045 ******** 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.033729", "end": "2022-07-06 13:25:46.447998", "rc": 0, "start": "2022-07-06 13:25:46.414269" } 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 13:25:47 +0000 (0:00:00.451) 0:01:17.496 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 13:25:47 +0000 (0:00:00.052) 0:01:17.549 ******** 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 13:25:47 +0000 (0:00:00.051) 0:01:17.600 ******** 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 13:25:47 +0000 (0:00:00.038) 0:01:17.639 ******** 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 13:25:47 +0000 (0:00:00.043) 0:01:17.682 ******** 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 13:25:47 +0000 (0:00:00.042) 0:01:17.725 ******** 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 13:25:47 +0000 (0:00:00.040) 0:01:17.766 ******** 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 13:25:47 +0000 (0:00:00.036) 0:01:17.802 ******** 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 13:25:48 +0000 (0:00:00.040) 0:01:17.842 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 13:25:48 +0000 (0:00:00.021) 0:01:17.864 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [create a file] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/create-test-file.yml:10 Wednesday 06 July 2022 13:25:48 +0000 (0:00:00.037) 0:01:17.902 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Add encryption to the pool] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:167 Wednesday 06 July 2022 13:25:48 +0000 (0:00:00.393) 0:01:18.295 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 13:25:48 +0000 (0:00:00.041) 0:01:18.337 ******** 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 13:25:48 +0000 (0:00:00.040) 0:01:18.377 ******** 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 13:25:49 +0000 (0:00:00.544) 0:01:18.921 ******** 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 13:25:49 +0000 (0:00:00.068) 0:01:18.990 ******** 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 13:25:49 +0000 (0:00:00.034) 0:01:19.025 ******** 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 13:25:49 +0000 (0:00:00.038) 0:01:19.064 ******** 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 13:25:49 +0000 (0:00:00.058) 0:01:19.123 ******** 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 13:25:49 +0000 (0:00:00.021) 0:01:19.144 ******** 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 13:25:49 +0000 (0:00:00.031) 0:01:19.176 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } 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 13:25:49 +0000 (0:00:00.090) 0:01:19.267 ******** 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 13:25:49 +0000 (0:00:00.045) 0:01:19.312 ******** 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 13:25:49 +0000 (0:00:00.034) 0:01:19.347 ******** 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 13:25:49 +0000 (0:00:00.031) 0:01:19.379 ******** 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 13:25:49 +0000 (0:00:00.031) 0:01:19.411 ******** 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 13:25:49 +0000 (0:00:00.030) 0:01:19.441 ******** 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 13:25:49 +0000 (0:00:00.075) 0:01:19.516 ******** 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 13:25:49 +0000 (0:00:00.025) 0:01:19.542 ******** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: cannot remove and recreate existing pool 'foo' in safe mode TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Wednesday 06 July 2022 13:25:51 +0000 (0:00:01.964) 0:01:21.506 ******** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove and recreate existing pool 'foo' in safe mode", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': True, 'encryption_cipher': 'serpent-xts-plain64', 'encryption_key': None, 'encryption_key_size': 512, 'encryption_luks_version': 'luks1', 'encryption_password': 'yabbadabbadoo', 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 13:25:51 +0000 (0:00:00.045) 0:01:21.552 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:188 Wednesday 06 July 2022 13:25:51 +0000 (0:00:00.023) 0:01:21.575 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the safe_mode test] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:194 Wednesday 06 July 2022 13:25:51 +0000 (0:00:00.038) 0:01:21.613 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-data-preservation.yml:10 Wednesday 06 July 2022 13:25:51 +0000 (0:00:00.058) 0:01:21.672 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657113947.2459433, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657113947.2459433, "dev": 64768, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1657113947.2459433, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "3918950891", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-data-preservation.yml:15 Wednesday 06 July 2022 13:25:52 +0000 (0:00:00.426) 0:01:22.099 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add encryption to the pool] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:201 Wednesday 06 July 2022 13:25:52 +0000 (0:00:00.043) 0:01:22.142 ******** 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 13:25:52 +0000 (0:00:00.046) 0:01:22.189 ******** 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 13:25:52 +0000 (0:00:00.049) 0:01:22.238 ******** 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 13:25:52 +0000 (0:00:00.562) 0:01:22.801 ******** 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 13:25:53 +0000 (0:00:00.067) 0:01:22.868 ******** 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 13:25:53 +0000 (0:00:00.035) 0:01:22.904 ******** 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 13:25:53 +0000 (0:00:00.039) 0:01:22.943 ******** 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 13:25:53 +0000 (0:00:00.061) 0:01:23.004 ******** 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 13:25:53 +0000 (0:00:00.022) 0:01:23.027 ******** 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 13:25:53 +0000 (0:00:00.028) 0:01:23.056 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } 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 13:25:53 +0000 (0:00:00.092) 0:01:23.148 ******** 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 13:25:53 +0000 (0:00:00.041) 0:01:23.190 ******** 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 13:25:53 +0000 (0:00:00.031) 0:01:23.221 ******** 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 13:25:53 +0000 (0:00:00.028) 0:01:23.250 ******** 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 13:25:53 +0000 (0:00:00.078) 0:01:23.328 ******** 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 13:25:53 +0000 (0:00:00.031) 0:01:23.360 ******** 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 13:25:53 +0000 (0:00:00.061) 0:01:23.421 ******** 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 13:25:53 +0000 (0:00:00.023) 0:01:23.445 ******** 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" }, { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "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": [ { "backing_device": "/dev/sda", "name": "luks-664f2355-dbaa-4708-9f3e-c05391422c68", "password": "-", "state": "present" } ], "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": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "btrfs-progs", "e2fsprogs", "cryptsetup", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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 13:26:02 +0000 (0:00:08.928) 0:01:32.373 ******** 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 13:26:02 +0000 (0:00:00.040) 0:01:32.414 ******** 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 13:26:02 +0000 (0:00:00.021) 0:01:32.436 ******** 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" }, { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "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": [ { "backing_device": "/dev/sda", "name": "luks-664f2355-dbaa-4708-9f3e-c05391422c68", "password": "-", "state": "present" } ], "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": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "btrfs-progs", "e2fsprogs", "cryptsetup", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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 13:26:02 +0000 (0:00:00.041) 0:01:32.477 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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 13:26:02 +0000 (0:00:00.038) 0:01:32.516 ******** 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 13:26:02 +0000 (0:00:00.040) 0:01:32.556 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 13:26:03 +0000 (0:00:00.431) 0:01:32.988 ******** 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 13:26:03 +0000 (0:00:00.735) 0:01:33.723 ******** 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 13:26:04 +0000 (0:00:00.465) 0:01:34.188 ******** 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 13:26:05 +0000 (0:00:00.740) 0:01:34.928 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657113937.4899433, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657113935.1799433, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36569, "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": 1657113935.1779432, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "46", "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 13:26:05 +0000 (0:00:00.405) 0:01:35.334 ******** changed: [/cache/fedora-35.qcow2.snap] => (item={'backing_device': '/dev/sda', 'name': 'luks-664f2355-dbaa-4708-9f3e-c05391422c68', 'password': '-', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-664f2355-dbaa-4708-9f3e-c05391422c68", "password": "-", "state": "present" } } MSG: line added 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 13:26:05 +0000 (0:00:00.455) 0:01:35.789 ******** 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_luks_pool.yml:220 Wednesday 06 July 2022 13:26:06 +0000 (0:00:00.980) 0:01:36.770 ******** 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 13:26:07 +0000 (0:00:00.075) 0:01:36.846 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "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 13:26:07 +0000 (0:00:00.053) 0:01:36.899 ******** 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 13:26:07 +0000 (0:00:00.038) 0:01:36.937 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "1083e4be-6e59-4311-9633-3fa33acc9030" }, "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "size": "10G", "type": "crypt", "uuid": "RxZUJQ-1B5X-swA8-zDn4-OEx7-QWYr-KQoGfZ" }, "/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": "crypto_LUKS", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "664f2355-dbaa-4708-9f3e-c05391422c68" }, "/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-13-24-17-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 13:26:07 +0000 (0:00:00.427) 0:01:37.364 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003490", "end": "2022-07-06 13:26:06.718857", "rc": 0, "start": "2022-07-06 13:26:06.715367" } 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 13:26:07 +0000 (0:00:00.403) 0:01:37.767 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003496", "end": "2022-07-06 13:26:07.118677", "failed_when_result": false, "rc": 0, "start": "2022-07-06 13:26:07.115181" } STDOUT: luks-664f2355-dbaa-4708-9f3e-c05391422c68 /dev/sda - 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 13:26:08 +0000 (0:00:00.397) 0:01:38.165 ******** [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': True, 'encryption_cipher': 'serpent-xts-plain64', 'encryption_key': None, 'encryption_key_size': 512, 'encryption_luks_version': 'luks1', 'encryption_password': 'yabbadabbadoo', '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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 13:26:08 +0000 (0:00:00.063) 0:01:38.229 ******** 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 13:26:08 +0000 (0:00:00.036) 0:01:38.265 ******** 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 13:26:08 +0000 (0:00:00.048) 0:01:38.313 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68" ] }, "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 13:26:08 +0000 (0:00:00.057) 0:01:38.371 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "pv": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 13:26:08 +0000 (0:00:00.392) 0:01:38.764 ******** 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 13:26:09 +0000 (0:00:00.053) 0:01:38.817 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 13:26:09 +0000 (0:00:00.054) 0:01:38.872 ******** 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 13:26:09 +0000 (0:00:00.053) 0:01:38.925 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 13:26:09 +0000 (0:00:00.042) 0:01:38.968 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 13:26:09 +0000 (0:00:00.026) 0:01:38.995 ******** 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 13:26:09 +0000 (0:00:00.027) 0:01:39.023 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 13:26:09 +0000 (0:00:00.045) 0:01:39.068 ******** 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 13:26:09 +0000 (0:00:00.048) 0:01:39.117 ******** skipping: [/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 13:26:09 +0000 (0:00:00.026) 0:01:39.143 ******** skipping: [/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 13:26:09 +0000 (0:00:00.024) 0:01:39.168 ******** skipping: [/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 13:26:09 +0000 (0:00:00.026) 0:01:39.194 ******** 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 13:26:09 +0000 (0:00:00.071) 0:01:39.265 ******** 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 13:26:09 +0000 (0:00:00.026) 0:01:39.292 ******** 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 13:26:09 +0000 (0:00:00.024) 0:01:39.317 ******** skipping: [/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 13:26:09 +0000 (0:00:00.026) 0:01:39.343 ******** 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 13:26:09 +0000 (0:00:00.041) 0:01:39.384 ******** 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 13:26:09 +0000 (0:00:00.047) 0:01:39.432 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 13:26:09 +0000 (0:00:00.047) 0:01:39.479 ******** 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 13:26:09 +0000 (0:00:00.030) 0:01:39.509 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 13:26:09 +0000 (0:00:00.029) 0:01:39.539 ******** 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 13:26:09 +0000 (0:00:00.029) 0:01:39.568 ******** 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 13:26:09 +0000 (0:00:00.048) 0:01:39.616 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 13:26:09 +0000 (0:00:00.046) 0:01:39.662 ******** 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 13:26:09 +0000 (0:00:00.026) 0:01:39.689 ******** 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 13:26:09 +0000 (0:00:00.027) 0:01:39.716 ******** skipping: [/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 13:26:09 +0000 (0:00:00.025) 0:01:39.742 ******** 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 13:26:09 +0000 (0:00:00.026) 0:01:39.769 ******** 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 13:26:10 +0000 (0:00:00.050) 0:01:39.819 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_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 13:26:10 +0000 (0:00:00.052) 0:01:39.872 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml for /cache/fedora-35.qcow2.snap => (item=/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68) TASK [Get the backing device path] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:1 Wednesday 06 July 2022 13:26:10 +0000 (0:00:00.047) 0:01:39.919 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/664f2355-dbaa-4708-9f3e-c05391422c68" ], "delta": "0:00:00.003249", "end": "2022-07-06 13:26:09.278669", "rc": 0, "start": "2022-07-06 13:26:09.275420" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:6 Wednesday 06 July 2022 13:26:10 +0000 (0:00:00.407) 0:01:40.326 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:11 Wednesday 06 July 2022 13:26:12 +0000 (0:00:02.079) 0:01:42.405 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.008921", "end": "2022-07-06 13:26:11.828254", "rc": 0, "start": "2022-07-06 13:26:11.819333" } STDOUT: LUKS header information for /dev/sda Version: 1 Cipher name: serpent Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: ca 95 6e 10 6c 06 f6 7c 41 7c 72 b1 fb be 36 dd 4c 56 7f 90 MK salt: c7 77 78 ae 3c 53 b1 ee f4 a2 db 37 a0 e7 8c 0a 38 2f cc 20 01 6e fd 84 1e 79 61 43 56 91 0e 5d MK iterations: 114774 UUID: 664f2355-dbaa-4708-9f3e-c05391422c68 Key Slot 0: ENABLED Iterations: 1807888 Salt: 33 14 cb de e6 37 87 06 4f 0d 86 b9 85 77 9d 30 5d a5 be 6f 7d 54 13 ab 23 0b 1f a7 3c 75 c8 7c Key material offset: 8 AF stripes: 4000 Key Slot 1: DISABLED Key Slot 2: DISABLED Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:17 Wednesday 06 July 2022 13:26:13 +0000 (0:00:00.469) 0:01:42.875 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:23 Wednesday 06 July 2022 13:26:13 +0000 (0:00:00.055) 0:01:42.931 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:29 Wednesday 06 July 2022 13:26:13 +0000 (0:00:00.053) 0:01:42.985 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 13:26:13 +0000 (0:00:00.051) 0:01:43.036 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 13:26:13 +0000 (0:00:00.045) 0:01:43.081 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-664f2355-dbaa-4708-9f3e-c05391422c68 /dev/sda -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 13:26:13 +0000 (0:00:00.051) 0:01:43.133 ******** 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 13:26:13 +0000 (0:00:00.052) 0:01:43.185 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 13:26:13 +0000 (0:00:00.051) 0:01:43.236 ******** 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 13:26:13 +0000 (0:00:00.039) 0:01:43.276 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 13:26:13 +0000 (0:00:00.054) 0:01:43.330 ******** 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 13:26:13 +0000 (0:00:00.036) 0:01:43.366 ******** 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 13:26:13 +0000 (0:00:00.036) 0:01:43.402 ******** 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 13:26:13 +0000 (0:00:00.048) 0:01:43.451 ******** 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': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 13:26:13 +0000 (0:00:00.046) 0:01:43.497 ******** skipping: [/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 13:26:13 +0000 (0:00:00.024) 0:01:43.522 ******** 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 13:26:13 +0000 (0:00:00.023) 0:01:43.546 ******** 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 13:26:13 +0000 (0:00:00.023) 0:01:43.569 ******** skipping: [/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 13:26:13 +0000 (0:00:00.024) 0:01:43.593 ******** 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 13:26:13 +0000 (0:00:00.023) 0:01:43.617 ******** 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 13:26:13 +0000 (0:00:00.023) 0:01:43.641 ******** skipping: [/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 13:26:13 +0000 (0:00:00.024) 0:01:43.665 ******** 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 13:26:13 +0000 (0:00:00.036) 0:01:43.702 ******** 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 13:26:13 +0000 (0:00:00.036) 0:01:43.738 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 13:26:13 +0000 (0:00:00.042) 0:01:43.781 ******** 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 13:26:14 +0000 (0:00:00.051) 0:01:43.833 ******** 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 13:26:14 +0000 (0:00:00.080) 0:01:43.913 ******** 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 13:26:14 +0000 (0:00:00.042) 0:01:43.956 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "1083e4be-6e59-4311-9633-3fa33acc9030" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097149, "inode_total": 2097152, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "1083e4be-6e59-4311-9633-3fa33acc9030" } ], "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 13:26:14 +0000 (0:00:00.101) 0:01:44.057 ******** 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 13:26:14 +0000 (0:00:00.103) 0:01:44.161 ******** 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 13:26:14 +0000 (0:00:00.052) 0:01:44.214 ******** 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 13:26:14 +0000 (0:00:00.053) 0:01:44.268 ******** 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 13:26:14 +0000 (0:00:00.025) 0:01:44.293 ******** 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 13:26:14 +0000 (0:00:00.024) 0:01:44.317 ******** 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 13:26:14 +0000 (0:00:00.024) 0:01:44.341 ******** 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 13:26:14 +0000 (0:00:00.040) 0:01:44.382 ******** 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 13:26:14 +0000 (0:00:00.066) 0:01:44.448 ******** 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 13:26:14 +0000 (0:00:00.052) 0:01:44.500 ******** 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 13:26:14 +0000 (0:00:00.051) 0:01:44.552 ******** 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 13:26:14 +0000 (0:00:00.039) 0:01:44.592 ******** 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 13:26:14 +0000 (0:00:00.041) 0:01:44.633 ******** 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 13:26:14 +0000 (0:00:00.040) 0:01:44.673 ******** 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 13:26:14 +0000 (0:00:00.040) 0:01:44.714 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657113964.7419434, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657113961.2529433, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 535, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657113961.2529433, "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 13:26:15 +0000 (0:00:00.404) 0:01:45.118 ******** 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 13:26:15 +0000 (0:00:00.038) 0:01:45.157 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 13:26:15 +0000 (0:00:00.039) 0:01:45.197 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 13:26:15 +0000 (0:00:00.037) 0:01:45.235 ******** 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 13:26:15 +0000 (0:00:00.023) 0:01:45.259 ******** 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 13:26:15 +0000 (0:00:00.039) 0:01:45.298 ******** 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 13:26:15 +0000 (0:00:00.024) 0:01:45.322 ******** 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 13:26:17 +0000 (0:00:01.778) 0:01:47.101 ******** 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 13:26:17 +0000 (0:00:00.027) 0:01:47.129 ******** 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 13:26:17 +0000 (0:00:00.024) 0:01:47.153 ******** 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 13:26:17 +0000 (0:00:00.053) 0:01:47.207 ******** 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 13:26:17 +0000 (0:00:00.027) 0:01:47.234 ******** 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 13:26:17 +0000 (0:00:00.028) 0:01:47.263 ******** 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 13:26:17 +0000 (0:00:00.026) 0:01:47.290 ******** 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 13:26:17 +0000 (0:00:00.025) 0:01:47.316 ******** 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 13:26:17 +0000 (0:00:00.026) 0:01:47.342 ******** 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 13:26:17 +0000 (0:00:00.060) 0:01:47.403 ******** 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 13:26:17 +0000 (0:00:00.085) 0:01:47.488 ******** 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 13:26:17 +0000 (0:00:00.043) 0:01:47.532 ******** 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 13:26:17 +0000 (0:00:00.043) 0:01:47.575 ******** 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 13:26:17 +0000 (0:00:00.036) 0:01:47.612 ******** 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 13:26:17 +0000 (0:00:00.073) 0:01:47.686 ******** 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 13:26:17 +0000 (0:00:00.039) 0:01:47.726 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 13:26:17 +0000 (0:00:00.035) 0:01:47.761 ******** 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 13:26:17 +0000 (0:00:00.036) 0:01:47.798 ******** 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 13:26:18 +0000 (0:00:00.036) 0:01:47.834 ******** 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 13:26:18 +0000 (0:00:00.038) 0:01:47.873 ******** 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 13:26:18 +0000 (0:00:00.035) 0:01:47.908 ******** 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 13:26:18 +0000 (0:00:00.035) 0:01:47.944 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 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 13:26:18 +0000 (0:00:00.464) 0:01:48.409 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 13:26:19 +0000 (0:00:00.406) 0:01:48.816 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 13:26:19 +0000 (0:00:00.049) 0:01:48.865 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 13:26:19 +0000 (0:00:00.039) 0:01:48.905 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 13:26:19 +0000 (0:00:00.038) 0:01:48.943 ******** 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 13:26:19 +0000 (0:00:00.038) 0:01:48.981 ******** 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 13:26:19 +0000 (0:00:00.039) 0:01:49.021 ******** 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 13:26:19 +0000 (0:00:00.042) 0:01:49.063 ******** 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 13:26:19 +0000 (0:00:00.041) 0:01:49.105 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 13:26:19 +0000 (0:00:00.040) 0:01:49.145 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 13:26:19 +0000 (0:00:00.041) 0:01:49.186 ******** 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 13:26:19 +0000 (0:00:00.053) 0:01:49.240 ******** 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.038449", "end": "2022-07-06 13:26:18.629918", "rc": 0, "start": "2022-07-06 13:26:18.591469" } 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 13:26:19 +0000 (0:00:00.438) 0:01:49.678 ******** 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 13:26:19 +0000 (0:00:00.051) 0:01:49.729 ******** 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 13:26:19 +0000 (0:00:00.053) 0:01:49.783 ******** 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 13:26:20 +0000 (0:00:00.038) 0:01:49.822 ******** 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 13:26:20 +0000 (0:00:00.038) 0:01:49.860 ******** 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 13:26:20 +0000 (0:00:00.037) 0:01:49.897 ******** 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 13:26:20 +0000 (0:00:00.037) 0:01:49.935 ******** 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 13:26:20 +0000 (0:00:00.034) 0:01:49.969 ******** 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 13:26:20 +0000 (0:00:00.035) 0:01:50.005 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 13:26:20 +0000 (0:00:00.023) 0:01:50.028 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [create a file] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/create-test-file.yml:10 Wednesday 06 July 2022 13:26:20 +0000 (0:00:00.035) 0:01:50.063 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "dest": "/opt/test1/quux", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:unlabeled_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Change the mountpoint, leaving encryption in place] ********************** task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:224 Wednesday 06 July 2022 13:26:20 +0000 (0:00:00.398) 0:01:50.462 ******** 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 13:26:20 +0000 (0:00:00.049) 0:01:50.512 ******** 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 13:26:20 +0000 (0:00:00.038) 0:01:50.550 ******** 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 13:26:21 +0000 (0:00:00.570) 0:01:51.120 ******** 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 13:26:21 +0000 (0:00:00.111) 0:01:51.231 ******** 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 13:26:21 +0000 (0:00:00.118) 0:01:51.350 ******** 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 13:26:21 +0000 (0:00:00.038) 0:01:51.388 ******** 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 13:26:21 +0000 (0:00:00.057) 0:01:51.446 ******** 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 13:26:21 +0000 (0:00:00.020) 0:01:51.466 ******** 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 13:26:21 +0000 (0:00:00.027) 0:01:51.493 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test2", "name": "test1" } ] } ] } 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 13:26:21 +0000 (0:00:00.048) 0:01:51.542 ******** 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 13:26:21 +0000 (0:00:00.046) 0:01:51.588 ******** 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 13:26:21 +0000 (0:00:00.033) 0:01:51.622 ******** 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 13:26:21 +0000 (0:00:00.032) 0:01:51.654 ******** 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 13:26:21 +0000 (0:00:00.030) 0:01:51.684 ******** 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 13:26:21 +0000 (0:00:00.031) 0:01:51.715 ******** 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 13:26:21 +0000 (0:00:00.060) 0:01:51.776 ******** 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 13:26:21 +0000 (0:00:00.025) 0:01:51.801 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "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": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "xfsprogs", "dosfstools", "e2fsprogs", "cryptsetup", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "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": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "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 13:26:24 +0000 (0:00:02.063) 0:01:53.864 ******** 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 13:26:24 +0000 (0:00:00.045) 0:01:53.910 ******** 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 13:26:24 +0000 (0:00:00.024) 0:01:53.935 ******** 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/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": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "xfsprogs", "dosfstools", "e2fsprogs", "cryptsetup", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "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": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "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 13:26:24 +0000 (0:00:00.044) 0:01:53.979 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "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": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "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 13:26:24 +0000 (0:00:00.043) 0:01:54.022 ******** 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 13:26:24 +0000 (0:00:00.042) 0:01:54.064 ******** 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 13:26:24 +0000 (0:00:00.442) 0:01:54.507 ******** 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 13:26:25 +0000 (0:00:00.757) 0:01:55.264 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test2", "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 13:26:25 +0000 (0:00:00.463) 0:01:55.727 ******** 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 13:26:26 +0000 (0:00:00.786) 0:01:56.514 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657113964.7539434, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6720c6dfe14c69c64cd34c6d04d53f4f74d402bb", "ctime": 1657113964.7329433, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36621, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1657113964.7319434, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "47", "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 13:26:27 +0000 (0:00:00.443) 0:01:56.958 ******** 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 13:26:27 +0000 (0:00:00.062) 0:01:57.020 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [Assert to implicitly preserve encryption on existing pool] *************** task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:236 Wednesday 06 July 2022 13:26:28 +0000 (0:00:00.971) 0:01:57.992 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-data-preservation.yml:10 Wednesday 06 July 2022 13:26:28 +0000 (0:00:00.041) 0:01:58.033 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657113979.4139433, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657113979.4139433, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0644", "mtime": 1657113979.4139433, "nlink": 1, "path": "/opt/test2/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "3835310993", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-data-preservation.yml:15 Wednesday 06 July 2022 13:26:28 +0000 (0:00:00.399) 0:01:58.432 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_luks_pool.yml:245 Wednesday 06 July 2022 13:26:28 +0000 (0:00:00.049) 0:01:58.482 ******** 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 13:26:28 +0000 (0:00:00.043) 0:01:58.525 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "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": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "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 13:26:28 +0000 (0:00:00.049) 0:01:58.575 ******** 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 13:26:28 +0000 (0:00:00.035) 0:01:58.611 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "1083e4be-6e59-4311-9633-3fa33acc9030" }, "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "size": "10G", "type": "crypt", "uuid": "RxZUJQ-1B5X-swA8-zDn4-OEx7-QWYr-KQoGfZ" }, "/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": "crypto_LUKS", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "664f2355-dbaa-4708-9f3e-c05391422c68" }, "/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-13-24-17-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 13:26:29 +0000 (0:00:00.400) 0:01:59.011 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003165", "end": "2022-07-06 13:26:28.364068", "rc": 0, "start": "2022-07-06 13:26:28.360903" } 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/test2 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 13:26:29 +0000 (0:00:00.399) 0:01:59.411 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002980", "end": "2022-07-06 13:26:28.760314", "failed_when_result": false, "rc": 0, "start": "2022-07-06 13:26:28.757334" } STDOUT: luks-664f2355-dbaa-4708-9f3e-c05391422c68 /dev/sda - 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 13:26:30 +0000 (0:00:00.395) 0:01:59.807 ******** [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': True, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks1', '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/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_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-1', '_raw_kernel_device': '/dev/dm-1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 13:26:30 +0000 (0:00:00.060) 0:01:59.868 ******** 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 13:26:30 +0000 (0:00:00.037) 0:01:59.905 ******** 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 13:26:30 +0000 (0:00:00.049) 0:01:59.954 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68" ] }, "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 13:26:30 +0000 (0:00:00.095) 0:02:00.050 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "pv": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 13:26:30 +0000 (0:00:00.447) 0:02:00.498 ******** 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 13:26:30 +0000 (0:00:00.053) 0:02:00.551 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 13:26:30 +0000 (0:00:00.050) 0:02:00.602 ******** 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 13:26:30 +0000 (0:00:00.056) 0:02:00.658 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 13:26:30 +0000 (0:00:00.041) 0:02:00.700 ******** 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-pool-members.yml:37 Wednesday 06 July 2022 13:26:30 +0000 (0:00:00.026) 0:02:00.727 ******** 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 13:26:30 +0000 (0:00:00.023) 0:02:00.751 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 13:26:30 +0000 (0:00:00.042) 0:02:00.793 ******** 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 13:26:31 +0000 (0:00:00.047) 0:02:00.840 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 13:26:31 +0000 (0:00:00.026) 0:02:00.866 ******** skipping: [/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 13:26:31 +0000 (0:00:00.027) 0:02:00.893 ******** skipping: [/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 13:26:31 +0000 (0:00:00.026) 0:02:00.920 ******** 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 13:26:31 +0000 (0:00:00.026) 0:02:00.947 ******** 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 13:26:31 +0000 (0:00:00.026) 0:02:00.973 ******** 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 13:26:31 +0000 (0:00:00.026) 0:02:01.000 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 13:26:31 +0000 (0:00:00.026) 0:02:01.027 ******** 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 13:26:31 +0000 (0:00:00.036) 0:02:01.063 ******** 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 13:26:31 +0000 (0:00:00.046) 0:02:01.110 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 13:26:31 +0000 (0:00:00.045) 0:02:01.156 ******** 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 13:26:31 +0000 (0:00:00.030) 0:02:01.186 ******** skipping: [/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 13:26:31 +0000 (0:00:00.030) 0:02:01.217 ******** 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 13:26:31 +0000 (0:00:00.034) 0:02:01.251 ******** 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 13:26:31 +0000 (0:00:00.047) 0:02:01.299 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 13:26:31 +0000 (0:00:00.049) 0:02:01.349 ******** 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 13:26:31 +0000 (0:00:00.026) 0:02:01.375 ******** 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 13:26:31 +0000 (0:00:00.024) 0:02:01.400 ******** skipping: [/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 13:26:31 +0000 (0:00:00.024) 0:02:01.425 ******** 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 13:26:31 +0000 (0:00:00.022) 0:02:01.448 ******** 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 13:26:31 +0000 (0:00:00.048) 0:02:01.496 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_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 13:26:31 +0000 (0:00:00.054) 0:02:01.551 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml for /cache/fedora-35.qcow2.snap => (item=/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68) TASK [Get the backing device path] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:1 Wednesday 06 July 2022 13:26:31 +0000 (0:00:00.045) 0:02:01.596 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/664f2355-dbaa-4708-9f3e-c05391422c68" ], "delta": "0:00:00.003100", "end": "2022-07-06 13:26:30.990219", "rc": 0, "start": "2022-07-06 13:26:30.987119" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:6 Wednesday 06 July 2022 13:26:32 +0000 (0:00:00.443) 0:02:02.039 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:11 Wednesday 06 July 2022 13:26:34 +0000 (0:00:02.107) 0:02:04.147 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.008600", "end": "2022-07-06 13:26:33.504458", "rc": 0, "start": "2022-07-06 13:26:33.495858" } STDOUT: LUKS header information for /dev/sda Version: 1 Cipher name: serpent Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: ca 95 6e 10 6c 06 f6 7c 41 7c 72 b1 fb be 36 dd 4c 56 7f 90 MK salt: c7 77 78 ae 3c 53 b1 ee f4 a2 db 37 a0 e7 8c 0a 38 2f cc 20 01 6e fd 84 1e 79 61 43 56 91 0e 5d MK iterations: 114774 UUID: 664f2355-dbaa-4708-9f3e-c05391422c68 Key Slot 0: ENABLED Iterations: 1807888 Salt: 33 14 cb de e6 37 87 06 4f 0d 86 b9 85 77 9d 30 5d a5 be 6f 7d 54 13 ab 23 0b 1f a7 3c 75 c8 7c Key material offset: 8 AF stripes: 4000 Key Slot 1: DISABLED Key Slot 2: DISABLED Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:17 Wednesday 06 July 2022 13:26:34 +0000 (0:00:00.405) 0:02:04.552 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:23 Wednesday 06 July 2022 13:26:34 +0000 (0:00:00.060) 0:02:04.613 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:29 Wednesday 06 July 2022 13:26:34 +0000 (0:00:00.029) 0:02:04.642 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "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 13:26:34 +0000 (0:00:00.027) 0:02:04.670 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 13:26:34 +0000 (0:00:00.050) 0:02:04.721 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-664f2355-dbaa-4708-9f3e-c05391422c68 /dev/sda -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 13:26:34 +0000 (0:00:00.051) 0:02:04.772 ******** 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 13:26:35 +0000 (0:00:00.049) 0:02:04.821 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 13:26:35 +0000 (0:00:00.050) 0:02:04.872 ******** 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 13:26:35 +0000 (0:00:00.035) 0:02:04.908 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 13:26:35 +0000 (0:00:00.056) 0:02:04.965 ******** 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 13:26:35 +0000 (0:00:00.039) 0:02:05.004 ******** 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 13:26:35 +0000 (0:00:00.039) 0:02:05.044 ******** 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 13:26:35 +0000 (0:00:00.047) 0:02:05.091 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 13:26:35 +0000 (0:00:00.049) 0:02:05.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-vdo.yml:8 Wednesday 06 July 2022 13:26:35 +0000 (0:00:00.028) 0:02:05.169 ******** 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 13:26:35 +0000 (0:00:00.028) 0:02:05.198 ******** 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 13:26:35 +0000 (0:00:00.027) 0:02:05.225 ******** skipping: [/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 13:26:35 +0000 (0:00:00.028) 0:02:05.254 ******** 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 13:26:35 +0000 (0:00:00.033) 0:02:05.288 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 13:26:35 +0000 (0:00:00.026) 0:02:05.315 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 13:26:35 +0000 (0:00:00.024) 0:02:05.340 ******** 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 13:26:35 +0000 (0:00:00.089) 0:02:05.429 ******** 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 13:26:35 +0000 (0:00:00.086) 0:02:05.515 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_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-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 13:26:35 +0000 (0:00:00.088) 0:02:05.604 ******** 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 13:26:35 +0000 (0:00:00.064) 0:02:05.668 ******** 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 13:26:35 +0000 (0:00:00.086) 0:02:05.754 ******** 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 13:26:35 +0000 (0:00:00.044) 0:02:05.799 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097148, "inode_total": 2097152, "inode_used": 4, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "1083e4be-6e59-4311-9633-3fa33acc9030" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1030454, "block_size": 4096, "block_total": 1046016, "block_used": 15562, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 2097148, "inode_total": 2097152, "inode_used": 4, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 4220739584, "size_total": 4284481536, "uuid": "1083e4be-6e59-4311-9633-3fa33acc9030" } ], "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 13:26:36 +0000 (0:00:00.059) 0:02:05.858 ******** 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 13:26:36 +0000 (0:00:00.056) 0:02:05.914 ******** 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 13:26:36 +0000 (0:00:00.054) 0:02:05.969 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 13:26:36 +0000 (0:00:00.060) 0:02:06.030 ******** 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 13:26:36 +0000 (0:00:00.026) 0:02:06.056 ******** 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 13:26:36 +0000 (0:00:00.027) 0:02:06.084 ******** 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 13:26:36 +0000 (0:00:00.032) 0:02:06.116 ******** 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 13:26:36 +0000 (0:00:00.050) 0:02:06.167 ******** 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/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 13:26:36 +0000 (0:00:00.070) 0:02:06.237 ******** 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 13:26:36 +0000 (0:00:00.055) 0:02:06.292 ******** 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 13:26:36 +0000 (0:00:00.053) 0:02:06.346 ******** 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 13:26:36 +0000 (0:00:00.036) 0:02:06.382 ******** 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 13:26:36 +0000 (0:00:00.035) 0:02:06.418 ******** 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 13:26:36 +0000 (0:00:00.043) 0:02:06.461 ******** 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 13:26:36 +0000 (0:00:00.043) 0:02:06.505 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657113984.6959434, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657113961.2529433, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 535, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657113961.2529433, "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 13:26:37 +0000 (0:00:00.406) 0:02:06.912 ******** 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 13:26:37 +0000 (0:00:00.041) 0:02:06.954 ******** 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 13:26:37 +0000 (0:00:00.042) 0:02:06.996 ******** 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 13:26:37 +0000 (0:00:00.040) 0:02:07.036 ******** 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 13:26:37 +0000 (0:00:00.026) 0:02:07.062 ******** 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 13:26:37 +0000 (0:00:00.039) 0:02:07.102 ******** 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 13:26:37 +0000 (0:00:00.027) 0:02:07.130 ******** 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 13:26:39 +0000 (0:00:01.880) 0:02:09.010 ******** 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 13:26:39 +0000 (0:00:00.027) 0:02:09.038 ******** 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 13:26:39 +0000 (0:00:00.025) 0:02:09.063 ******** 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 13:26:39 +0000 (0:00:00.056) 0:02:09.120 ******** 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 13:26:39 +0000 (0:00:00.025) 0:02:09.145 ******** 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 13:26:39 +0000 (0:00:00.024) 0:02:09.171 ******** 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 13:26:39 +0000 (0:00:00.025) 0:02:09.196 ******** 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 13:26:39 +0000 (0:00:00.023) 0:02:09.220 ******** 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 13:26:39 +0000 (0:00:00.024) 0:02:09.244 ******** 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 13:26:39 +0000 (0:00:00.126) 0:02:09.370 ******** 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 13:26:39 +0000 (0:00:00.151) 0:02:09.522 ******** 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 13:26:39 +0000 (0:00:00.060) 0:02:09.582 ******** 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 13:26:39 +0000 (0:00:00.056) 0:02:09.639 ******** 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 13:26:39 +0000 (0:00:00.051) 0:02:09.690 ******** 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 13:26:39 +0000 (0:00:00.037) 0:02:09.728 ******** 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 13:26:39 +0000 (0:00:00.040) 0:02:09.768 ******** 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 13:26:40 +0000 (0:00:00.042) 0:02:09.810 ******** 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 13:26:40 +0000 (0:00:00.038) 0:02:09.849 ******** 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 13:26:40 +0000 (0:00:00.047) 0:02:09.896 ******** 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 13:26:40 +0000 (0:00:00.037) 0:02:09.934 ******** 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 13:26:40 +0000 (0:00:00.046) 0:02:09.980 ******** 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 13:26:40 +0000 (0:00:00.037) 0:02:10.018 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 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 13:26:40 +0000 (0:00:00.400) 0:02:10.419 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 13:26:41 +0000 (0:00:00.421) 0:02:10.840 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 13:26:41 +0000 (0:00:00.052) 0:02:10.893 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 13:26:41 +0000 (0:00:00.037) 0:02:10.931 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 13:26:41 +0000 (0:00:00.041) 0:02:10.973 ******** 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 13:26:41 +0000 (0:00:00.039) 0:02:11.012 ******** 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 13:26:41 +0000 (0:00:00.040) 0:02:11.053 ******** 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 13:26:41 +0000 (0:00:00.040) 0:02:11.094 ******** 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 13:26:41 +0000 (0:00:00.041) 0:02:11.136 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 13:26:41 +0000 (0:00:00.036) 0:02:11.172 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 13:26:41 +0000 (0:00:00.039) 0:02:11.212 ******** 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 13:26:41 +0000 (0:00:00.054) 0:02:11.266 ******** 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.037792", "end": "2022-07-06 13:26:40.662096", "rc": 0, "start": "2022-07-06 13:26:40.624304" } 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 13:26:41 +0000 (0:00:00.447) 0:02:11.714 ******** 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 13:26:41 +0000 (0:00:00.051) 0:02:11.766 ******** 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 13:26:42 +0000 (0:00:00.052) 0:02:11.819 ******** 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 13:26:42 +0000 (0:00:00.039) 0:02:11.858 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 13:26:42 +0000 (0:00:00.044) 0:02:11.903 ******** 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 13:26:42 +0000 (0:00:00.045) 0:02:11.948 ******** 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 13:26:42 +0000 (0:00:00.043) 0:02:11.992 ******** 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 13:26:42 +0000 (0:00:00.074) 0:02:12.067 ******** 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 13:26:42 +0000 (0:00:00.076) 0:02:12.144 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 13:26:42 +0000 (0:00:00.022) 0:02:12.166 ******** 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_luks_pool.yml:247 Wednesday 06 July 2022 13:26:42 +0000 (0:00:00.085) 0:02:12.252 ******** 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 13:26:42 +0000 (0:00:00.090) 0:02:12.342 ******** 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 13:26:42 +0000 (0:00:00.037) 0:02:12.380 ******** 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 13:26:43 +0000 (0:00:00.547) 0:02:12.927 ******** 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 13:26:43 +0000 (0:00:00.065) 0:02:12.993 ******** 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 13:26:43 +0000 (0:00:00.036) 0:02:13.029 ******** 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 13:26:43 +0000 (0:00:00.036) 0:02:13.065 ******** 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 13:26:43 +0000 (0:00:00.060) 0:02:13.126 ******** 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 13:26:43 +0000 (0:00:00.022) 0:02:13.149 ******** 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 13:26:43 +0000 (0:00:00.032) 0:02:13.181 ******** 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 13:26:43 +0000 (0:00:00.039) 0:02:13.221 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "disk" } ] } 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 13:26:43 +0000 (0:00:00.040) 0:02:13.261 ******** 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 13:26:43 +0000 (0:00:00.028) 0:02:13.290 ******** 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 13:26:43 +0000 (0:00:00.030) 0:02:13.320 ******** 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 13:26:43 +0000 (0:00:00.031) 0:02:13.351 ******** 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 13:26:43 +0000 (0:00:00.029) 0:02:13.381 ******** 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 13:26:43 +0000 (0:00:00.066) 0:02:13.447 ******** 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 13:26:43 +0000 (0:00:00.025) 0:02:13.472 ******** 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/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-664f2355-dbaa-4708-9f3e-c05391422c68", "password": "-", "state": "absent" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "_mount_id": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } 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 13:26:46 +0000 (0:00:02.985) 0:02:16.458 ******** 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 13:26:46 +0000 (0:00:00.095) 0:02:16.553 ******** 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 13:26:46 +0000 (0:00:00.022) 0:02:16.576 ******** 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/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-664f2355-dbaa-4708-9f3e-c05391422c68", "password": "-", "state": "absent" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "_mount_id": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } 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 13:26:46 +0000 (0:00:00.039) 0:02:16.616 ******** 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 13:26:46 +0000 (0:00:00.040) 0:02:16.656 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "_mount_id": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "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 13:26:46 +0000 (0:00:00.042) 0:02:16.699 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 13:26:47 +0000 (0:00:00.441) 0:02:17.140 ******** 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 13:26:48 +0000 (0:00:00.763) 0:02:17.904 ******** 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 13:26:48 +0000 (0:00:00.041) 0:02:17.945 ******** 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 13:26:48 +0000 (0:00:00.733) 0:02:18.679 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657113964.7539434, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6720c6dfe14c69c64cd34c6d04d53f4f74d402bb", "ctime": 1657113964.7329433, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36621, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1657113964.7319434, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "47", "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 13:26:49 +0000 (0:00:00.413) 0:02:19.092 ******** changed: [/cache/fedora-35.qcow2.snap] => (item={'backing_device': '/dev/sda', 'name': 'luks-664f2355-dbaa-4708-9f3e-c05391422c68', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-664f2355-dbaa-4708-9f3e-c05391422c68", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed 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 13:26:49 +0000 (0:00:00.421) 0:02:19.514 ******** 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_luks_pool.yml:257 Wednesday 06 July 2022 13:26:50 +0000 (0:00:00.933) 0:02:20.447 ******** 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 13:26:50 +0000 (0:00:00.048) 0:02:20.496 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 13:26:50 +0000 (0:00:00.038) 0:02:20.535 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "_mount_id": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 13:26:50 +0000 (0:00:00.099) 0:02:20.634 ******** 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-13-24-17-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 13:26:51 +0000 (0:00:00.423) 0:02:21.057 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002901", "end": "2022-07-06 13:26:50.455998", "rc": 0, "start": "2022-07-06 13:26:50.453097" } 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 13:26:51 +0000 (0:00:00.486) 0:02:21.544 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003439", "end": "2022-07-06 13:26:50.892624", "failed_when_result": false, "rc": 0, "start": "2022-07-06 13:26:50.889185" } 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 13:26:52 +0000 (0:00:00.403) 0:02:21.947 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 13:26:52 +0000 (0:00:00.027) 0:02:21.974 ******** 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 13:26:52 +0000 (0:00:00.041) 0:02:22.016 ******** [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': True, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks1', 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'lvmpv', 'mount_options': 'defaults', 'mount_point': None, 'name': 'foo', 'raid_level': None, 'size': 10735321088, 'state': 'absent', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68', '_raw_device': '/dev/sda', '_mount_id': '/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 13:26:52 +0000 (0:00:00.062) 0:02:22.079 ******** 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 13:26:52 +0000 (0:00:00.059) 0:02:22.138 ******** 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 13:26:52 +0000 (0:00:00.083) 0:02:22.222 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/luks-664f2355-dbaa-4708-9f3e-c05391422c68" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 13:26:52 +0000 (0:00:00.046) 0:02:22.269 ******** 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 13:26:52 +0000 (0:00:00.055) 0:02:22.324 ******** 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 13:26:52 +0000 (0:00:00.023) 0:02:22.348 ******** 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 13:26:52 +0000 (0:00:00.053) 0:02:22.402 ******** 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 13:26:52 +0000 (0:00:00.038) 0:02:22.440 ******** 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 13:26:52 +0000 (0:00:00.025) 0:02:22.465 ******** 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 13:26:52 +0000 (0:00:00.023) 0:02:22.489 ******** 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 13:26:52 +0000 (0:00:00.026) 0:02:22.516 ******** 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 13:26:52 +0000 (0:00:00.033) 0:02:22.549 ******** 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 13:26:52 +0000 (0:00:00.066) 0:02:22.616 ******** 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 13:26:52 +0000 (0:00:00.024) 0:02:22.640 ******** 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 13:26:52 +0000 (0:00:00.051) 0:02:22.692 ******** 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 13:26:52 +0000 (0:00:00.038) 0:02:22.730 ******** 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 13:26:52 +0000 (0:00:00.038) 0:02:22.769 ******** 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 13:26:52 +0000 (0:00:00.025) 0:02:22.794 ******** 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 13:26:53 +0000 (0:00:00.023) 0:02:22.817 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657114005.3299434, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657114005.3299434, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 234, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1657114005.3299434, "nlink": 1, "path": "/dev/sda", "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 13:26:53 +0000 (0:00:00.418) 0:02:23.235 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 13:26:53 +0000 (0:00:00.050) 0:02:23.286 ******** 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 13:26:53 +0000 (0:00:00.026) 0:02:23.313 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "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 13:26:53 +0000 (0:00:00.087) 0:02:23.401 ******** 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 13:26:53 +0000 (0:00:00.026) 0:02:23.428 ******** 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 13:26:53 +0000 (0:00:00.071) 0:02:23.499 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 13:26:54 +0000 (0:00:00.406) 0:02:23.906 ******** 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 13:26:56 +0000 (0:00:02.120) 0:02:26.026 ******** 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 13:26:56 +0000 (0:00:00.024) 0:02:26.051 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed 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 13:26:56 +0000 (0:00:00.039) 0:02:26.090 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 13:26:56 +0000 (0:00:00.025) 0:02:26.116 ******** 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 13:26:56 +0000 (0:00:00.025) 0:02:26.141 ******** 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 13:26:56 +0000 (0:00:00.024) 0:02:26.165 ******** 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 13:26:56 +0000 (0:00:00.024) 0:02:26.190 ******** 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 13:26:56 +0000 (0:00:00.025) 0:02:26.215 ******** 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 13:26:56 +0000 (0:00:00.026) 0:02:26.242 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 13:26:56 +0000 (0:00:00.053) 0:02:26.296 ******** 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 13:26:56 +0000 (0:00:00.053) 0:02:26.350 ******** 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 13:26:56 +0000 (0:00:00.037) 0:02:26.388 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 13:26:56 +0000 (0:00:00.037) 0:02:26.425 ******** 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 13:26:56 +0000 (0:00:00.036) 0:02:26.461 ******** 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 13:26:56 +0000 (0:00:00.033) 0:02:26.495 ******** 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 13:26:56 +0000 (0:00:00.038) 0:02:26.534 ******** 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 13:26:56 +0000 (0:00:00.037) 0:02:26.572 ******** 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 13:26:56 +0000 (0:00:00.038) 0:02:26.610 ******** 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 13:26:56 +0000 (0:00:00.035) 0:02:26.646 ******** 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 13:26:56 +0000 (0:00:00.038) 0:02:26.684 ******** 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 13:26:56 +0000 (0:00:00.038) 0:02:26.722 ******** 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 13:26:56 +0000 (0:00:00.040) 0:02:26.763 ******** 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 13:26:56 +0000 (0:00:00.024) 0:02:26.788 ******** 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 13:26:57 +0000 (0:00:00.036) 0:02:26.824 ******** 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 13:26:57 +0000 (0:00:00.036) 0:02:26.861 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 13:26:57 +0000 (0:00:00.043) 0:02:26.904 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 13:26:57 +0000 (0:00:00.040) 0:02:26.945 ******** 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 13:26:57 +0000 (0:00:00.038) 0:02:26.983 ******** 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 13:26:57 +0000 (0:00:00.037) 0:02:27.020 ******** 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 13:26:57 +0000 (0:00:00.037) 0:02:27.057 ******** 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 13:26:57 +0000 (0:00:00.039) 0:02:27.097 ******** 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 13:26:57 +0000 (0:00:00.082) 0:02:27.179 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 13:26:57 +0000 (0:00:00.138) 0:02:27.318 ******** 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 13:26:57 +0000 (0:00:00.025) 0:02:27.343 ******** 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 13:26:57 +0000 (0:00:00.023) 0:02:27.367 ******** 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 13:26:57 +0000 (0:00:00.022) 0:02:27.390 ******** 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 13:26:57 +0000 (0:00:00.024) 0:02:27.415 ******** 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 13:26:57 +0000 (0:00:00.026) 0:02:27.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-cache.yml:32 Wednesday 06 July 2022 13:26:57 +0000 (0:00:00.023) 0:02:27.464 ******** 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 13:26:57 +0000 (0:00:00.028) 0:02:27.493 ******** 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 13:26:57 +0000 (0:00:00.028) 0:02:27.522 ******** 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:57 Wednesday 06 July 2022 13:26:57 +0000 (0:00:00.037) 0:02:27.559 ******** 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=545 changed=22 unreachable=0 failed=3 skipped=371 rescued=3 ignored=0 Wednesday 06 July 2022 13:26:57 +0000 (0:00:00.049) 0:02:27.609 ******** =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state -- 10.72s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 8.93s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 3.46s /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.99s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : make sure blivet is available ------- 2.61s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : get service facts ------------------- 2.14s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Ensure cryptsetup is present -------------------------------------------- 2.12s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 2.11s /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:6 ------------ Ensure cryptsetup is present -------------------------------------------- 2.08s /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:6 ------------ Ensure cryptsetup is present -------------------------------------------- 2.08s /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.06s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 2.05s /tmp/tmpus9dv81c/tests/storage/verify-pool-member-encryption.yml:6 ------------ fedora.linux_system_roles.storage : make sure required packages are installed --- 2.04s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 fedora.linux_system_roles.storage : make sure required packages are installed --- 2.03s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.01s /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 --- 1.96s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 1.88s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.88s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : get required packages --------------- 1.85s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Ensure cryptsetup is present -------------------------------------------- 1.78s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 -----------