ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpdbh6f40u executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /tmp/tmpmb3dyg70/tests/create-test-file.yml statically imported: /tmp/tmpmb3dyg70/tests/verify-data-preservation.yml statically imported: /tmp/tmpmb3dyg70/tests/create-test-file.yml statically imported: /tmp/tmpmb3dyg70/tests/verify-data-preservation.yml statically imported: /tmp/tmpmb3dyg70/tests/create-test-file.yml statically imported: /tmp/tmpmb3dyg70/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_nvme_generated.yml *********************************** 2 plays in /tmp/tmpmb3dyg70/tests/tests_luks_pool_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool_nvme_generated.yml:3 Thursday 21 July 2022 15:32:14 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool_nvme_generated.yml:7 Thursday 21 July 2022 15:32:15 +0000 (0:00:01.377) 0:00:01.390 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:2 Thursday 21 July 2022 15:32:15 +0000 (0:00:00.049) 0:00:01.439 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:14 Thursday 21 July 2022 15:32:16 +0000 (0:00:00.950) 0:00:02.389 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 15:32:16 +0000 (0:00:00.032) 0:00:02.422 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 15:32:16 +0000 (0:00:00.031) 0:00:02.453 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 15:32:17 +0000 (0:00:00.551) 0:00:03.004 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 15:32:17 +0000 (0:00:00.056) 0:00:03.061 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 15:32:17 +0000 (0:00:00.031) 0:00:03.092 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 15:32:17 +0000 (0:00:00.030) 0:00:03.123 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 15:32:17 +0000 (0:00:00.047) 0:00:03.170 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 15:32:17 +0000 (0:00:00.017) 0:00:03.188 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 15:32:19 +0000 (0:00:02.477) 0:00:05.665 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 15:32:19 +0000 (0:00:00.059) 0:00:05.724 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 15:32:20 +0000 (0:00:00.056) 0:00:05.781 ********* ok: [/cache/fedora-36.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 15:32:20 +0000 (0:00:00.788) 0:00:06.570 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 15:32:20 +0000 (0:00:00.043) 0:00:06.614 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 15:32:20 +0000 (0:00:00.100) 0:00:06.714 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 15:32:20 +0000 (0:00:00.036) 0:00:06.750 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 15:32:21 +0000 (0:00:00.040) 0:00:06.791 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 15:32:22 +0000 (0:00:01.930) 0:00:08.722 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "bluetooth.service": { "name": "bluetooth.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-os-release.service": { "name": "console-login-helper-messages-gensnippet-os-release.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-ssh-keys.service": { "name": "console-login-helper-messages-gensnippet-ssh-keys.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.bluez.service": { "name": "dbus-org.bluez.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.oom1.service": { "name": "dbus-org.freedesktop.oom1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.resolve1.service": { "name": "dbus-org.freedesktop.resolve1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown-onfailure.service": { "name": "dracut-shutdown-onfailure.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "stopped", "status": "static" }, "fwupd-offline-update.service": { "name": "fwupd-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd-refresh.service": { "name": "fwupd-refresh.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd.service": { "name": "fwupd.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "pcscd.service": { "name": "pcscd.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "stopped", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpmdb-migrate.service": { "name": "rpmdb-migrate.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "selinux-check-proper-disable.service": { "name": "selinux-check-proper-disable.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bless-boot.service": { "name": "systemd-bless-boot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-boot-system-token.service": { "name": "systemd-boot-system-token.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-boot-update.service": { "name": "systemd-boot-update.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-disk-by\\x2duuid-FAAC\\x2dBFC8.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-FAAC\\x2dBFC8.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-disk-by\\x2duuid-cb4982f0\\x2dd861\\x2d4106\\x2dada7\\x2daaeba17ae2bb.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-cb4982f0\\x2dd861\\x2d4106\\x2dada7\\x2daaeba17ae2bb.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-homed-activate.service": { "name": "systemd-homed-activate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-homed.service": { "name": "systemd-homed.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-networkd.service": { "name": "systemd-networkd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-oomd.service": { "name": "systemd-oomd.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-time-wait-sync.service": { "name": "systemd-time-wait-sync.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-userdbd.service": { "name": "systemd-userdbd.service", "source": "systemd", "state": "running", "status": "indirect" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-zram-setup@.service": { "name": "systemd-zram-setup@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-zram-setup@zram0.service": { "name": "systemd-zram-setup@zram0.service", "source": "systemd", "state": "stopped", "status": "active" }, "udisks2.service": { "name": "udisks2.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 15:32:25 +0000 (0:00:02.232) 0:00:10.954 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 15:32:25 +0000 (0:00:00.057) 0:00:11.011 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 15:32:25 +0000 (0:00:00.022) 0:00:11.034 ********* ok: [/cache/fedora-36.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 15:32:25 +0000 (0:00:00.661) 0:00:11.696 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 15:32:25 +0000 (0:00:00.038) 0:00:11.734 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 15:32:25 +0000 (0:00:00.022) 0:00:11.757 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 15:32:26 +0000 (0:00:00.037) 0:00:11.794 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 15:32:26 +0000 (0:00:00.037) 0:00:11.832 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 15:32:26 +0000 (0:00:00.046) 0:00:11.878 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 15:32:26 +0000 (0:00:00.040) 0:00:11.919 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 15:32:26 +0000 (0:00:00.025) 0:00:11.944 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 15:32:26 +0000 (0:00:00.035) 0:00:11.980 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 15:32:26 +0000 (0:00:00.025) 0:00:12.005 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 15:32:26 +0000 (0:00:00.547) 0:00:12.552 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 15:32:26 +0000 (0:00:00.021) 0:00:12.574 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:17 Thursday 21 July 2022 15:32:27 +0000 (0:00:01.046) 0:00:13.621 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:23 Thursday 21 July 2022 15:32:27 +0000 (0:00:00.095) 0:00:13.716 ********* included: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml for /cache/fedora-36.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml:2 Thursday 21 July 2022 15:32:27 +0000 (0:00:00.034) 0:00:13.751 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "disks": [ "nvme1n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml:9 Thursday 21 July 2022 15:32:29 +0000 (0:00:01.573) 0:00:15.324 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "nvme1n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml:14 Thursday 21 July 2022 15:32:29 +0000 (0:00:00.036) 0:00:15.361 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml:19 Thursday 21 July 2022 15:32:29 +0000 (0:00:00.036) 0:00:15.398 ********* ok: [/cache/fedora-36.qcow2.snap] => { "unused_disks": [ "nvme1n1" ] } TASK [Create an encrypted lvm pool] ******************************************** task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:34 Thursday 21 July 2022 15:32:29 +0000 (0:00:00.033) 0:00:15.431 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 15:32:29 +0000 (0:00:00.037) 0:00:15.468 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 15:32:29 +0000 (0:00:00.033) 0:00:15.502 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 15:32:30 +0000 (0:00:00.575) 0:00:16.077 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 15:32:30 +0000 (0:00:00.063) 0:00:16.141 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 15:32:30 +0000 (0:00:00.032) 0:00:16.173 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 15:32:30 +0000 (0:00:00.036) 0:00:16.210 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 15:32:30 +0000 (0:00:00.048) 0:00:16.258 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 15:32:30 +0000 (0:00:00.021) 0:00:16.279 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 15:32:30 +0000 (0:00:00.029) 0:00:16.309 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 15:32:30 +0000 (0:00:00.039) 0:00:16.349 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 15:32:30 +0000 (0:00:00.037) 0:00:16.386 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 15:32:32 +0000 (0:00:02.101) 0:00:18.487 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 15:32:32 +0000 (0:00:00.048) 0:00:18.536 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 15:32:32 +0000 (0:00:00.050) 0:00:18.586 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 15:32:32 +0000 (0:00:00.038) 0:00:18.625 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 15:32:32 +0000 (0:00:00.046) 0:00:18.672 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 15:32:34 +0000 (0:00:01.976) 0:00:20.648 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 15:32:34 +0000 (0:00:00.029) 0:00:20.678 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 15:32:34 +0000 (0:00:00.058) 0:00:20.737 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 15:32:34 +0000 (0:00:00.023) 0:00:20.761 ********* fatal: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 15:32:36 +0000 (0:00:01.817) 0:00:22.578 ********* fatal: [/cache/fedora-36.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': ['nvme1n1'], '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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 15:32:36 +0000 (0:00:00.039) 0:00:22.618 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:53 Thursday 21 July 2022 15:32:36 +0000 (0:00:00.024) 0:00:22.642 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the keyless luks test] ****************************** task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:59 Thursday 21 July 2022 15:32:36 +0000 (0:00:00.035) 0:00:22.678 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:66 Thursday 21 July 2022 15:32:36 +0000 (0:00:00.049) 0:00:22.728 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [Create a key file] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:75 Thursday 21 July 2022 15:32:37 +0000 (0:00:00.034) 0:00:22.762 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/storage_test4b0tdkw4lukskey", "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/tmpmb3dyg70/tests/tests_luks_pool.yml:82 Thursday 21 July 2022 15:32:37 +0000 (0:00:00.537) 0:00:23.300 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "checksum": "7a4dff3752e2baf5617c57eaac048e2b95e8af91", "dest": "/tmp/storage_test4b0tdkw4lukskey", "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-1658417557.5999317-62020-215826462293712/source", "state": "file", "uid": 0 } TASK [Create an encrypted lvm pool using a key file] *************************** task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:89 Thursday 21 July 2022 15:32:38 +0000 (0:00:00.912) 0:00:24.213 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 15:32:38 +0000 (0:00:00.039) 0:00:24.252 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 15:32:38 +0000 (0:00:00.033) 0:00:24.286 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 15:32:39 +0000 (0:00:00.564) 0:00:24.850 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 15:32:39 +0000 (0:00:00.062) 0:00:24.913 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 15:32:39 +0000 (0:00:00.034) 0:00:24.947 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 15:32:39 +0000 (0:00:00.035) 0:00:24.983 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 15:32:39 +0000 (0:00:00.048) 0:00:25.032 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 15:32:39 +0000 (0:00:00.020) 0:00:25.052 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 15:32:39 +0000 (0:00:00.026) 0:00:25.078 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "encryption": true, "encryption_key": "/tmp/storage_test4b0tdkw4lukskey", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 15:32:39 +0000 (0:00:00.068) 0:00:25.147 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 15:32:39 +0000 (0:00:00.067) 0:00:25.214 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 15:32:39 +0000 (0:00:00.028) 0:00:25.242 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 15:32:39 +0000 (0:00:00.029) 0:00:25.271 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 15:32:39 +0000 (0:00:00.030) 0:00:25.301 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 15:32:39 +0000 (0:00:00.088) 0:00:25.390 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 15:32:39 +0000 (0:00:00.057) 0:00:25.447 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 15:32:39 +0000 (0:00:00.021) 0:00:25.469 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-0258cc1d-6c3d-4811-a676-b36badca1a34", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-0258cc1d-6c3d-4811-a676-b36badca1a34", "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/nvme1n1", "name": "luks-0258cc1d-6c3d-4811-a676-b36badca1a34", "password": "/tmp/storage_test4b0tdkw4lukskey", "state": "present" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/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": [ "lvm2", "dosfstools", "xfsprogs", "btrfs-progs", "e2fsprogs", "cryptsetup" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_test4b0tdkw4lukskey", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 15:32:49 +0000 (0:00:10.238) 0:00:35.708 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 15:32:49 +0000 (0:00:00.039) 0:00:35.748 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 15:32:50 +0000 (0:00:00.022) 0:00:35.770 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-0258cc1d-6c3d-4811-a676-b36badca1a34", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-0258cc1d-6c3d-4811-a676-b36badca1a34", "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/nvme1n1", "name": "luks-0258cc1d-6c3d-4811-a676-b36badca1a34", "password": "/tmp/storage_test4b0tdkw4lukskey", "state": "present" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/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": [ "lvm2", "dosfstools", "xfsprogs", "btrfs-progs", "e2fsprogs", "cryptsetup" ], "pools": [ { "disks": [ "nvme1n1" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_test4b0tdkw4lukskey", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 15:32:50 +0000 (0:00:00.040) 0:00:35.811 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_test4b0tdkw4lukskey", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 15:32:50 +0000 (0:00:00.039) 0:00:35.850 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 15:32:50 +0000 (0:00:00.037) 0:00:35.888 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 15:32:50 +0000 (0:00:00.039) 0:00:35.927 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 15:32:51 +0000 (0:00:01.052) 0:00:36.979 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': '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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 15:32:51 +0000 (0:00:00.766) 0:00:37.746 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 15:32:52 +0000 (0:00:00.793) 0:00:38.540 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 15:32:53 +0000 (0:00:00.429) 0:00:38.969 ********* changed: [/cache/fedora-36.qcow2.snap] => (item={'backing_device': '/dev/nvme1n1', 'name': 'luks-0258cc1d-6c3d-4811-a676-b36badca1a34', 'password': '/tmp/storage_test4b0tdkw4lukskey', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/nvme1n1", "name": "luks-0258cc1d-6c3d-4811-a676-b36badca1a34", "password": "/tmp/storage_test4b0tdkw4lukskey", "state": "present" } } MSG: line added TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 15:32:53 +0000 (0:00:00.584) 0:00:39.553 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:104 Thursday 21 July 2022 15:32:54 +0000 (0:00:00.997) 0:00:40.551 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 15:32:54 +0000 (0:00:00.038) 0:00:40.589 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_test4b0tdkw4lukskey", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_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/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 15:32:54 +0000 (0:00:00.081) 0:00:40.670 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 15:32:54 +0000 (0:00:00.037) 0:00:40.708 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "860934ce-dd69-43ad-87e2-016900185ada" }, "/dev/mapper/luks-0258cc1d-6c3d-4811-a676-b36badca1a34": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-0258cc1d-6c3d-4811-a676-b36badca1a34", "size": "10G", "type": "crypt", "uuid": "fVDZnR-rUSV-NDsx-AJ4N-3iCm-PWRO-7ik9Ez" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "crypto_LUKS", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "0258cc1d-6c3d-4811-a676-b36badca1a34" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-15-32-01-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 15:32:55 +0000 (0:00:00.541) 0:00:41.250 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003676", "end": "2022-07-21 15:32:55.710956", "rc": 0, "start": "2022-07-21 15:32:55.707280" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 15:32:56 +0000 (0:00:00.514) 0:00:41.764 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003438", "end": "2022-07-21 15:32:56.129225", "failed_when_result": false, "rc": 0, "start": "2022-07-21 15:32:56.125787" } STDOUT: luks-0258cc1d-6c3d-4811-a676-b36badca1a34 /dev/nvme1n1 /tmp/storage_test4b0tdkw4lukskey TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 15:32:56 +0000 (0:00:00.417) 0:00:42.182 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['nvme1n1'], 'encryption': True, 'encryption_cipher': None, 'encryption_key': '/tmp/storage_test4b0tdkw4lukskey', '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/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 15:32:56 +0000 (0:00:00.061) 0:00:42.243 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 15:32:56 +0000 (0:00:00.033) 0:00:42.276 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 15:32:56 +0000 (0:00:00.050) 0:00:42.327 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-0258cc1d-6c3d-4811-a676-b36badca1a34" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 15:32:56 +0000 (0:00:00.057) 0:00:42.384 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/mapper/luks-0258cc1d-6c3d-4811-a676-b36badca1a34) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-0258cc1d-6c3d-4811-a676-b36badca1a34", "pv": "/dev/mapper/luks-0258cc1d-6c3d-4811-a676-b36badca1a34" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.579) 0:00:42.963 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.048) 0:00:43.012 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-0258cc1d-6c3d-4811-a676-b36badca1a34" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.052) 0:00:43.064 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.053) 0:00:43.118 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.038) 0:00:43.157 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.026) 0:00:43.183 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.024) 0:00:43.207 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/mapper/luks-0258cc1d-6c3d-4811-a676-b36badca1a34) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-0258cc1d-6c3d-4811-a676-b36badca1a34" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.041) 0:00:43.249 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.045) 0:00:43.294 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.025) 0:00:43.319 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.025) 0:00:43.345 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.026) 0:00:43.372 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.063) 0:00:43.435 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.027) 0:00:43.463 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.026) 0:00:43.489 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.025) 0:00:43.514 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.037) 0:00:43.552 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.044) 0:00:43.596 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.043) 0:00:43.639 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.030) 0:00:43.670 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.028) 0:00:43.699 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 15:32:57 +0000 (0:00:00.029) 0:00:43.729 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 15:32:58 +0000 (0:00:00.046) 0:00:43.776 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 15:32:58 +0000 (0:00:00.045) 0:00:43.822 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 15:32:58 +0000 (0:00:00.026) 0:00:43.848 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 15:32:58 +0000 (0:00:00.024) 0:00:43.873 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 15:32:58 +0000 (0:00:00.025) 0:00:43.898 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 15:32:58 +0000 (0:00:00.026) 0:00:43.925 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 15:32:58 +0000 (0:00:00.046) 0:00:43.971 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_storage_test_expected_crypttab_key_file": "/tmp/storage_test4b0tdkw4lukskey" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 15:32:58 +0000 (0:00:00.059) 0:00:44.031 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml for /cache/fedora-36.qcow2.snap => (item=/dev/mapper/luks-0258cc1d-6c3d-4811-a676-b36badca1a34) TASK [Get the backing device path] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 15:32:58 +0000 (0:00:00.047) 0:00:44.078 ********* changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/0258cc1d-6c3d-4811-a676-b36badca1a34" ], "delta": "0:00:00.004855", "end": "2022-07-21 15:32:58.467999", "rc": 0, "start": "2022-07-21 15:32:58.463144" } STDOUT: /dev/nvme1n1 TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 15:32:58 +0000 (0:00:00.444) 0:00:44.523 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 15:33:00 +0000 (0:00:01.896) 0:00:46.419 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/nvme1n1" ], "delta": "0:00:00.015731", "end": "2022-07-21 15:33:00.813319", "rc": 0, "start": "2022-07-21 15:33:00.797588" } STDOUT: LUKS header information Version: 2 Epoch: 3 Metadata area: 16384 [bytes] Keyslots area: 16744448 [bytes] UUID: 0258cc1d-6c3d-4811-a676-b36badca1a34 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: 5 Memory: 1007832 Threads: 4 Salt: d2 05 f9 f1 1a 8d 1e 52 52 81 71 97 53 7c 2d 1f 66 09 06 f6 8c 44 27 49 3e 34 6b 45 bd 0f 2b 14 AF stripes: 4000 AF hash: sha256 Area offset:32768 [bytes] Area length:258048 [bytes] Digest ID: 0 Tokens: Digests: 0: pbkdf2 Hash: sha256 Iterations: 107084 Salt: 73 2e fe 4e 20 44 48 19 e6 35 b3 28 fc 01 11 c7 f9 cc 9f e4 fd a2 d9 97 57 20 14 e5 c6 9e 05 52 Digest: 22 78 f5 57 94 04 d6 1e 3f 27 d7 42 01 f3 04 9b e9 98 e0 54 ec f2 b4 06 9e 61 50 b2 ac d1 d0 bc TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.448) 0:00:46.868 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.031) 0:00:46.900 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.026) 0:00:46.927 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.026) 0:00:46.953 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/mapper/luks-0258cc1d-6c3d-4811-a676-b36badca1a34) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.050) 0:00:47.004 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-0258cc1d-6c3d-4811-a676-b36badca1a34 /dev/nvme1n1 /tmp/storage_test4b0tdkw4lukskey" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.055) 0:00:47.060 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.050) 0:00:47.110 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.055) 0:00:47.165 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.036) 0:00:47.202 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.051) 0:00:47.253 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.035) 0:00:47.288 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.031) 0:00:47.320 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.046) 0:00:47.366 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.044) 0:00:47.411 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.022) 0:00:47.434 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.024) 0:00:47.459 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.027) 0:00:47.486 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.026) 0:00:47.513 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.024) 0:00:47.538 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.026) 0:00:47.564 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.026) 0:00:47.591 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.035) 0:00:47.627 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 15:33:01 +0000 (0:00:00.073) 0:00:47.701 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.087) 0:00:47.788 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.050) 0:00:47.839 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.089) 0:00:47.928 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.043) 0:00:47.971 ********* ok: [/cache/fedora-36.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": "860934ce-dd69-43ad-87e2-016900185ada" } ], "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": "860934ce-dd69-43ad-87e2-016900185ada" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.054) 0:00:48.026 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.051) 0:00:48.077 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.049) 0:00:48.127 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.049) 0:00:48.177 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.023) 0:00:48.200 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.024) 0:00:48.225 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.023) 0:00:48.248 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.033) 0:00:48.282 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.063) 0:00:48.345 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.051) 0:00:48.396 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.050) 0:00:48.447 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.037) 0:00:48.485 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.038) 0:00:48.523 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.039) 0:00:48.562 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 15:33:02 +0000 (0:00:00.041) 0:00:48.604 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658417573.4939582, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658417569.577958, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1010, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658417569.577958, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 15:33:03 +0000 (0:00:00.432) 0:00:49.037 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 15:33:03 +0000 (0:00:00.039) 0:00:49.076 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 15:33:03 +0000 (0:00:00.042) 0:00:49.118 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 15:33:03 +0000 (0:00:00.054) 0:00:49.173 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 15:33:03 +0000 (0:00:00.029) 0:00:49.203 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 15:33:03 +0000 (0:00:00.052) 0:00:49.255 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 15:33:03 +0000 (0:00:00.025) 0:00:49.281 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 15:33:05 +0000 (0:00:01.874) 0:00:51.155 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 15:33:05 +0000 (0:00:00.025) 0:00:51.180 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 15:33:05 +0000 (0:00:00.024) 0:00:51.204 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 15:33:05 +0000 (0:00:00.050) 0:00:51.254 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 15:33:05 +0000 (0:00:00.022) 0:00:51.277 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 15:33:05 +0000 (0:00:00.026) 0:00:51.304 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 15:33:05 +0000 (0:00:00.024) 0:00:51.328 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 15:33:05 +0000 (0:00:00.024) 0:00:51.353 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 15:33:05 +0000 (0:00:00.025) 0:00:51.379 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 15:33:05 +0000 (0:00:00.056) 0:00:51.436 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 15:33:05 +0000 (0:00:00.046) 0:00:51.483 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 15:33:05 +0000 (0:00:00.041) 0:00:51.525 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 15:33:05 +0000 (0:00:00.039) 0:00:51.564 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 15:33:05 +0000 (0:00:00.040) 0:00:51.605 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 15:33:05 +0000 (0:00:00.036) 0:00:51.642 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 15:33:05 +0000 (0:00:00.035) 0:00:51.678 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 15:33:05 +0000 (0:00:00.037) 0:00:51.716 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 15:33:05 +0000 (0:00:00.040) 0:00:51.756 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 15:33:06 +0000 (0:00:00.038) 0:00:51.795 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 15:33:06 +0000 (0:00:00.036) 0:00:51.831 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 15:33:06 +0000 (0:00:00.037) 0:00:51.869 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 15:33:06 +0000 (0:00:00.041) 0:00:51.910 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 15:33:06 +0000 (0:00:00.559) 0:00:52.470 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 15:33:07 +0000 (0:00:00.453) 0:00:52.923 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 15:33:07 +0000 (0:00:00.049) 0:00:52.973 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 15:33:07 +0000 (0:00:00.036) 0:00:53.009 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 15:33:07 +0000 (0:00:00.037) 0:00:53.046 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 15:33:07 +0000 (0:00:00.037) 0:00:53.083 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 15:33:07 +0000 (0:00:00.042) 0:00:53.126 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 15:33:07 +0000 (0:00:00.038) 0:00:53.164 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 15:33:07 +0000 (0:00:00.037) 0:00:53.202 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 15:33:07 +0000 (0:00:00.070) 0:00:53.272 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 15:33:07 +0000 (0:00:00.034) 0:00:53.307 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 15:33:07 +0000 (0:00:00.087) 0:00:53.394 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.048289", "end": "2022-07-21 15:33:07.863911", "rc": 0, "start": "2022-07-21 15:33:07.815622" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 15:33:08 +0000 (0:00:00.524) 0:00:53.919 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 15:33:08 +0000 (0:00:00.055) 0:00:53.975 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 15:33:08 +0000 (0:00:00.058) 0:00:54.034 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 15:33:08 +0000 (0:00:00.037) 0:00:54.072 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 15:33:08 +0000 (0:00:00.037) 0:00:54.110 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 15:33:08 +0000 (0:00:00.045) 0:00:54.156 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 15:33:08 +0000 (0:00:00.045) 0:00:54.201 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 15:33:08 +0000 (0:00:00.034) 0:00:54.235 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 15:33:08 +0000 (0:00:00.021) 0:00:54.257 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the key file] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:106 Thursday 21 July 2022 15:33:08 +0000 (0:00:00.034) 0:00:54.292 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "path": "/tmp/storage_test4b0tdkw4lukskey", "state": "absent" } TASK [create a file] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/create-test-file.yml:10 Thursday 21 July 2022 15:33:09 +0000 (0:00:00.572) 0:00:54.864 ********* changed: [/cache/fedora-36.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/tmpmb3dyg70/tests/tests_luks_pool.yml:116 Thursday 21 July 2022 15:33:09 +0000 (0:00:00.431) 0:00:55.296 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 15:33:09 +0000 (0:00:00.040) 0:00:55.337 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 15:33:09 +0000 (0:00:00.035) 0:00:55.372 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 15:33:10 +0000 (0:00:00.569) 0:00:55.942 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 15:33:10 +0000 (0:00:00.064) 0:00:56.007 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 15:33:10 +0000 (0:00:00.037) 0:00:56.044 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 15:33:10 +0000 (0:00:00.035) 0:00:56.079 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 15:33:10 +0000 (0:00:00.050) 0:00:56.130 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 15:33:10 +0000 (0:00:00.023) 0:00:56.154 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 15:33:10 +0000 (0:00:00.031) 0:00:56.185 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 15:33:10 +0000 (0:00:00.080) 0:00:56.265 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 15:33:10 +0000 (0:00:00.038) 0:00:56.303 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 15:33:10 +0000 (0:00:00.028) 0:00:56.332 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 15:33:10 +0000 (0:00:00.030) 0:00:56.362 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 15:33:10 +0000 (0:00:00.030) 0:00:56.393 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 15:33:10 +0000 (0:00:00.094) 0:00:56.487 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 15:33:10 +0000 (0:00:00.056) 0:00:56.544 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 15:33:10 +0000 (0:00:00.021) 0:00:56.565 ********* fatal: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 15:33:12 +0000 (0:00:02.044) 0:00:58.610 ********* fatal: [/cache/fedora-36.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': ['nvme1n1'], '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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 15:33:12 +0000 (0:00:00.041) 0:00:58.652 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:134 Thursday 21 July 2022 15:33:12 +0000 (0:00:00.023) 0:00:58.675 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the safe_mode test] ********************************* task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:140 Thursday 21 July 2022 15:33:12 +0000 (0:00:00.039) 0:00:58.715 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-data-preservation.yml:10 Thursday 21 July 2022 15:33:13 +0000 (0:00:00.051) 0:00:58.767 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658417589.242958, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658417589.242958, "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": 1658417589.242958, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "3996963863", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-data-preservation.yml:15 Thursday 21 July 2022 15:33:13 +0000 (0:00:00.438) 0:00:59.205 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Remove the encryption layer] ********************************************* task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:151 Thursday 21 July 2022 15:33:13 +0000 (0:00:00.041) 0:00:59.246 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 15:33:13 +0000 (0:00:00.041) 0:00:59.287 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 15:33:13 +0000 (0:00:00.036) 0:00:59.324 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 15:33:14 +0000 (0:00:00.572) 0:00:59.896 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 15:33:14 +0000 (0:00:00.068) 0:00:59.965 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 15:33:14 +0000 (0:00:00.036) 0:01:00.002 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 15:33:14 +0000 (0:00:00.035) 0:01:00.038 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 15:33:14 +0000 (0:00:00.048) 0:01:00.086 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 15:33:14 +0000 (0:00:00.024) 0:01:00.111 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 15:33:14 +0000 (0:00:00.031) 0:01:00.142 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 15:33:14 +0000 (0:00:00.038) 0:01:00.180 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 15:33:14 +0000 (0:00:00.073) 0:01:00.253 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 15:33:14 +0000 (0:00:00.029) 0:01:00.283 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 15:33:14 +0000 (0:00:00.065) 0:01:00.349 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 15:33:14 +0000 (0:00:00.028) 0:01:00.377 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 15:33:14 +0000 (0:00:00.027) 0:01:00.405 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 15:33:14 +0000 (0:00:00.057) 0:01:00.462 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 15:33:14 +0000 (0:00:00.023) 0:01:00.485 ********* changed: [/cache/fedora-36.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-0258cc1d-6c3d-4811-a676-b36badca1a34", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-0258cc1d-6c3d-4811-a676-b36badca1a34", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "luks" }, { "action": "create format", "device": "/dev/nvme1n1", "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/nvme1n1", "name": "luks-0258cc1d-6c3d-4811-a676-b36badca1a34", "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/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", "xfsprogs", "btrfs-progs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 15:33:18 +0000 (0:00:03.810) 0:01:04.296 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 15:33:18 +0000 (0:00:00.037) 0:01:04.334 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 15:33:18 +0000 (0:00:00.021) 0:01:04.355 ********* ok: [/cache/fedora-36.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-0258cc1d-6c3d-4811-a676-b36badca1a34", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-0258cc1d-6c3d-4811-a676-b36badca1a34", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "luks" }, { "action": "create format", "device": "/dev/nvme1n1", "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/nvme1n1", "name": "luks-0258cc1d-6c3d-4811-a676-b36badca1a34", "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/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", "xfsprogs", "btrfs-progs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "nvme1n1" ], "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 15:33:18 +0000 (0:00:00.043) 0:01:04.399 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 15:33:18 +0000 (0:00:00.041) 0:01:04.440 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 15:33:18 +0000 (0:00:00.038) 0:01:04.478 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', '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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 15:33:19 +0000 (0:00:00.450) 0:01:04.928 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 15:33:19 +0000 (0:00:00.785) 0:01:05.714 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': '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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 15:33:20 +0000 (0:00:00.472) 0:01:06.186 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 15:33:21 +0000 (0:00:00.810) 0:01:06.997 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658417573.5139582, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "83a16eea3bfe265ed3fde45e0a8c5d475a76b56d", "ctime": 1658417573.482958, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36666, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658417573.4809582, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 88, "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 15:33:21 +0000 (0:00:00.450) 0:01:07.447 ********* changed: [/cache/fedora-36.qcow2.snap] => (item={'backing_device': '/dev/nvme1n1', 'name': 'luks-0258cc1d-6c3d-4811-a676-b36badca1a34', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/nvme1n1", "name": "luks-0258cc1d-6c3d-4811-a676-b36badca1a34", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 15:33:22 +0000 (0:00:00.493) 0:01:07.941 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:167 Thursday 21 July 2022 15:33:23 +0000 (0:00:01.070) 0:01:09.011 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 15:33:23 +0000 (0:00:00.037) 0:01:09.049 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "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/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 15:33:23 +0000 (0:00:00.052) 0:01:09.101 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 15:33:23 +0000 (0:00:00.038) 0:01:09.140 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "91664d62-68d9-4b76-acce-df9a4499cac0" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "bdgyGd-yTMd-LOyp-OBPl-G0cx-ww09-YAndUn" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-15-32-01-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 15:33:23 +0000 (0:00:00.435) 0:01:09.575 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003312", "end": "2022-07-21 15:33:23.934855", "rc": 0, "start": "2022-07-21 15:33:23.931543" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 15:33:24 +0000 (0:00:00.413) 0:01:09.989 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003169", "end": "2022-07-21 15:33:24.347998", "failed_when_result": false, "rc": 0, "start": "2022-07-21 15:33:24.344829" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 15:33:24 +0000 (0:00:00.411) 0:01:10.400 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['nvme1n1'], '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/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 15:33:24 +0000 (0:00:00.059) 0:01:10.459 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 15:33:24 +0000 (0:00:00.032) 0:01:10.492 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 15:33:24 +0000 (0:00:00.048) 0:01:10.541 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 15:33:24 +0000 (0:00:00.056) 0:01:10.598 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme1n1", "pv": "/dev/nvme1n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.417) 0:01:11.015 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.050) 0:01:11.065 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme1n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.051) 0:01:11.116 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.052) 0:01:11.169 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.040) 0:01:11.210 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.104) 0:01:11.314 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.028) 0:01:11.342 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/nvme1n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme1n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.043) 0:01:11.385 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.044) 0:01:11.430 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.025) 0:01:11.455 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.024) 0:01:11.479 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.025) 0:01:11.504 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.025) 0:01:11.530 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.058) 0:01:11.588 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.025) 0:01:11.614 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.025) 0:01:11.640 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.037) 0:01:11.677 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 15:33:25 +0000 (0:00:00.044) 0:01:11.722 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.044) 0:01:11.766 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.030) 0:01:11.796 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.027) 0:01:11.824 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.027) 0:01:11.852 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.046) 0:01:11.898 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.042) 0:01:11.941 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.024) 0:01:11.966 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.023) 0:01:11.989 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.025) 0:01:12.014 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.024) 0:01:12.039 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.048) 0:01:12.088 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.051) 0:01:12.140 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/nvme1n1) => { "_storage_test_pool_member_path": "/dev/nvme1n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.029) 0:01:12.169 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/nvme1n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.042) 0:01:12.212 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.048) 0:01:12.261 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.051) 0:01:12.312 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.037) 0:01:12.349 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.038) 0:01:12.388 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.036) 0:01:12.425 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.037) 0:01:12.462 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.032) 0:01:12.495 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.047) 0:01:12.543 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.043) 0:01:12.586 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.023) 0:01:12.610 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.023) 0:01:12.634 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.023) 0:01:12.657 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.023) 0:01:12.680 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.025) 0:01:12.706 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 15:33:26 +0000 (0:00:00.024) 0:01:12.730 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.058) 0:01:12.789 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.038) 0:01:12.827 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.038) 0:01:12.865 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.046) 0:01:12.911 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.051) 0:01:12.962 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.098) 0:01:13.061 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.042) 0:01:13.104 ********* ok: [/cache/fedora-36.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": "91664d62-68d9-4b76-acce-df9a4499cac0" } ], "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": "91664d62-68d9-4b76-acce-df9a4499cac0" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.061) 0:01:13.165 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.053) 0:01:13.218 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.051) 0:01:13.270 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.054) 0:01:13.325 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.026) 0:01:13.351 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.026) 0:01:13.378 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.024) 0:01:13.402 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.038) 0:01:13.441 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.064) 0:01:13.506 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.050) 0:01:13.557 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.050) 0:01:13.607 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.038) 0:01:13.646 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.037) 0:01:13.683 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 15:33:27 +0000 (0:00:00.041) 0:01:13.725 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 15:33:28 +0000 (0:00:00.042) 0:01:13.767 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658417601.8889582, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658417598.1719582, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1204, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658417598.1719582, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 15:33:28 +0000 (0:00:00.436) 0:01:14.204 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 15:33:28 +0000 (0:00:00.042) 0:01:14.246 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 15:33:28 +0000 (0:00:00.038) 0:01:14.285 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 15:33:28 +0000 (0:00:00.045) 0:01:14.330 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 15:33:28 +0000 (0:00:00.023) 0:01:14.353 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 15:33:28 +0000 (0:00:00.041) 0:01:14.395 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 15:33:28 +0000 (0:00:00.025) 0:01:14.420 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 15:33:30 +0000 (0:00:01.923) 0:01:16.344 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 15:33:30 +0000 (0:00:00.024) 0:01:16.369 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 15:33:30 +0000 (0:00:00.023) 0:01:16.392 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 15:33:30 +0000 (0:00:00.052) 0:01:16.445 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 15:33:30 +0000 (0:00:00.028) 0:01:16.474 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 15:33:30 +0000 (0:00:00.024) 0:01:16.498 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 15:33:30 +0000 (0:00:00.025) 0:01:16.523 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 15:33:30 +0000 (0:00:00.022) 0:01:16.546 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 15:33:30 +0000 (0:00:00.024) 0:01:16.571 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 15:33:30 +0000 (0:00:00.057) 0:01:16.629 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 15:33:30 +0000 (0:00:00.053) 0:01:16.683 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 15:33:30 +0000 (0:00:00.036) 0:01:16.720 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 15:33:30 +0000 (0:00:00.039) 0:01:16.759 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 15:33:31 +0000 (0:00:00.042) 0:01:16.801 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 15:33:31 +0000 (0:00:00.033) 0:01:16.835 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 15:33:31 +0000 (0:00:00.039) 0:01:16.875 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 15:33:31 +0000 (0:00:00.038) 0:01:16.913 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 15:33:31 +0000 (0:00:00.040) 0:01:16.953 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 15:33:31 +0000 (0:00:00.039) 0:01:16.992 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 15:33:31 +0000 (0:00:00.039) 0:01:17.032 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 15:33:31 +0000 (0:00:00.037) 0:01:17.069 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 15:33:31 +0000 (0:00:00.041) 0:01:17.111 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 15:33:31 +0000 (0:00:00.417) 0:01:17.528 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 15:33:32 +0000 (0:00:00.427) 0:01:17.955 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 15:33:32 +0000 (0:00:00.051) 0:01:18.007 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 15:33:32 +0000 (0:00:00.037) 0:01:18.044 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 15:33:32 +0000 (0:00:00.035) 0:01:18.080 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 15:33:32 +0000 (0:00:00.039) 0:01:18.120 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 15:33:32 +0000 (0:00:00.039) 0:01:18.159 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 15:33:32 +0000 (0:00:00.038) 0:01:18.198 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 15:33:32 +0000 (0:00:00.038) 0:01:18.237 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 15:33:32 +0000 (0:00:00.041) 0:01:18.278 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 15:33:32 +0000 (0:00:00.036) 0:01:18.314 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 15:33:32 +0000 (0:00:00.103) 0:01:18.417 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.044615", "end": "2022-07-21 15:33:32.865727", "rc": 0, "start": "2022-07-21 15:33:32.821112" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 15:33:33 +0000 (0:00:00.504) 0:01:18.921 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 15:33:33 +0000 (0:00:00.131) 0:01:19.053 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 15:33:33 +0000 (0:00:00.053) 0:01:19.106 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 15:33:33 +0000 (0:00:00.041) 0:01:19.147 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 15:33:33 +0000 (0:00:00.039) 0:01:19.187 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 15:33:33 +0000 (0:00:00.042) 0:01:19.230 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 15:33:33 +0000 (0:00:00.037) 0:01:19.267 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 15:33:33 +0000 (0:00:00.035) 0:01:19.303 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 15:33:33 +0000 (0:00:00.021) 0:01:19.325 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [create a file] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/create-test-file.yml:10 Thursday 21 July 2022 15:33:33 +0000 (0:00:00.036) 0:01:19.362 ********* changed: [/cache/fedora-36.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/tmpmb3dyg70/tests/tests_luks_pool.yml:173 Thursday 21 July 2022 15:33:34 +0000 (0:00:00.450) 0:01:19.812 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 15:33:34 +0000 (0:00:00.041) 0:01:19.853 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 15:33:34 +0000 (0:00:00.035) 0:01:19.888 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 15:33:34 +0000 (0:00:00.568) 0:01:20.456 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 15:33:34 +0000 (0:00:00.063) 0:01:20.520 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 15:33:34 +0000 (0:00:00.036) 0:01:20.556 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 15:33:34 +0000 (0:00:00.035) 0:01:20.592 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 15:33:34 +0000 (0:00:00.057) 0:01:20.650 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 15:33:34 +0000 (0:00:00.022) 0:01:20.672 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 15:33:34 +0000 (0:00:00.029) 0:01:20.702 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 15:33:34 +0000 (0:00:00.039) 0:01:20.741 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 15:33:35 +0000 (0:00:00.038) 0:01:20.780 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 15:33:35 +0000 (0:00:00.029) 0:01:20.810 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 15:33:35 +0000 (0:00:00.028) 0:01:20.838 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 15:33:35 +0000 (0:00:00.034) 0:01:20.873 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 15:33:35 +0000 (0:00:00.031) 0:01:20.904 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 15:33:35 +0000 (0:00:00.102) 0:01:21.007 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 15:33:35 +0000 (0:00:00.025) 0:01:21.032 ********* fatal: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 15:33:37 +0000 (0:00:02.179) 0:01:23.212 ********* fatal: [/cache/fedora-36.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': ['nvme1n1'], '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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 15:33:37 +0000 (0:00:00.041) 0:01:23.253 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:194 Thursday 21 July 2022 15:33:37 +0000 (0:00:00.023) 0:01:23.276 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the safe_mode test] ********************************* task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:200 Thursday 21 July 2022 15:33:37 +0000 (0:00:00.040) 0:01:23.317 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-data-preservation.yml:10 Thursday 21 July 2022 15:33:37 +0000 (0:00:00.051) 0:01:23.368 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658417613.755958, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658417613.755958, "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": 1658417613.755958, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "2049548415", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-data-preservation.yml:15 Thursday 21 July 2022 15:33:38 +0000 (0:00:00.430) 0:01:23.798 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add encryption to the pool] ********************************************** task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:211 Thursday 21 July 2022 15:33:38 +0000 (0:00:00.046) 0:01:23.845 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 15:33:38 +0000 (0:00:00.043) 0:01:23.889 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 15:33:38 +0000 (0:00:00.035) 0:01:23.925 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 15:33:38 +0000 (0:00:00.564) 0:01:24.489 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 15:33:38 +0000 (0:00:00.067) 0:01:24.557 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 15:33:38 +0000 (0:00:00.039) 0:01:24.596 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 15:33:38 +0000 (0:00:00.036) 0:01:24.632 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 15:33:38 +0000 (0:00:00.049) 0:01:24.682 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 15:33:38 +0000 (0:00:00.025) 0:01:24.707 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 15:33:38 +0000 (0:00:00.028) 0:01:24.736 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 15:33:39 +0000 (0:00:00.037) 0:01:24.773 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 15:33:39 +0000 (0:00:00.076) 0:01:24.849 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 15:33:39 +0000 (0:00:00.031) 0:01:24.881 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 15:33:39 +0000 (0:00:00.028) 0:01:24.909 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 15:33:39 +0000 (0:00:00.030) 0:01:24.939 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 15:33:39 +0000 (0:00:00.031) 0:01:24.971 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 15:33:39 +0000 (0:00:00.103) 0:01:25.074 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 15:33:39 +0000 (0:00:00.022) 0:01:25.096 ********* changed: [/cache/fedora-36.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/nvme1n1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "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/nvme1n1", "name": "luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "password": "-", "state": "present" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/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", "xfsprogs", "lvm2", "e2fsprogs", "cryptsetup", "btrfs-progs" ], "pools": [ { "disks": [ "nvme1n1" ], "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 15:33:48 +0000 (0:00:09.474) 0:01:34.571 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 15:33:48 +0000 (0:00:00.039) 0:01:34.610 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 15:33:48 +0000 (0:00:00.022) 0:01:34.633 ********* ok: [/cache/fedora-36.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/nvme1n1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/nvme1n1", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "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/nvme1n1", "name": "luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "password": "-", "state": "present" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/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", "xfsprogs", "lvm2", "e2fsprogs", "cryptsetup", "btrfs-progs" ], "pools": [ { "disks": [ "nvme1n1" ], "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 15:33:48 +0000 (0:00:00.039) 0:01:34.672 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 15:33:48 +0000 (0:00:00.041) 0:01:34.713 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 15:33:48 +0000 (0:00:00.043) 0:01:34.757 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': '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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 15:33:49 +0000 (0:00:00.500) 0:01:35.257 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 15:33:50 +0000 (0:00:00.813) 0:01:36.071 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': '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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 15:33:50 +0000 (0:00:00.489) 0:01:36.560 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 15:33:51 +0000 (0:00:00.790) 0:01:37.351 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658417604.3469582, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658417601.873958, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36726, "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": 1658417601.871958, "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 15:33:52 +0000 (0:00:00.433) 0:01:37.784 ********* changed: [/cache/fedora-36.qcow2.snap] => (item={'backing_device': '/dev/nvme1n1', 'name': 'luks-1560b4d4-cd33-4384-8724-d131d46e2e4d', 'password': '-', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/nvme1n1", "name": "luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "password": "-", "state": "present" } } MSG: line added TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 15:33:52 +0000 (0:00:00.454) 0:01:38.239 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:230 Thursday 21 July 2022 15:33:53 +0000 (0:00:01.042) 0:01:39.281 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 15:33:53 +0000 (0:00:00.038) 0:01:39.319 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "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/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 15:33:53 +0000 (0:00:00.050) 0:01:39.370 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 15:33:53 +0000 (0:00:00.038) 0:01:39.408 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "783ad71f-c1dc-4bc1-be6e-545ae81aa37e" }, "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "size": "10G", "type": "crypt", "uuid": "gbHfbv-3EWQ-0EIc-9pC9-QAgT-5Zej-rhDxaY" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "crypto_LUKS", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "1560b4d4-cd33-4384-8724-d131d46e2e4d" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-15-32-01-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 15:33:54 +0000 (0:00:00.427) 0:01:39.835 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004300", "end": "2022-07-21 15:33:54.194162", "rc": 0, "start": "2022-07-21 15:33:54.189862" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 15:33:54 +0000 (0:00:00.414) 0:01:40.250 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003765", "end": "2022-07-21 15:33:54.628463", "failed_when_result": false, "rc": 0, "start": "2022-07-21 15:33:54.624698" } STDOUT: luks-1560b4d4-cd33-4384-8724-d131d46e2e4d /dev/nvme1n1 - TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 15:33:54 +0000 (0:00:00.437) 0:01:40.687 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['nvme1n1'], '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/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 15:33:54 +0000 (0:00:00.060) 0:01:40.748 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 15:33:55 +0000 (0:00:00.033) 0:01:40.782 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 15:33:55 +0000 (0:00:00.050) 0:01:40.832 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 15:33:55 +0000 (0:00:00.056) 0:01:40.889 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "pv": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 15:33:55 +0000 (0:00:00.462) 0:01:41.351 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 15:33:55 +0000 (0:00:00.050) 0:01:41.402 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 15:33:55 +0000 (0:00:00.049) 0:01:41.451 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 15:33:55 +0000 (0:00:00.053) 0:01:41.506 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 15:33:55 +0000 (0:00:00.037) 0:01:41.543 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 15:33:55 +0000 (0:00:00.023) 0:01:41.567 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 15:33:55 +0000 (0:00:00.024) 0:01:41.591 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 15:33:55 +0000 (0:00:00.039) 0:01:41.631 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 15:33:55 +0000 (0:00:00.041) 0:01:41.672 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 15:33:55 +0000 (0:00:00.024) 0:01:41.696 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 15:33:55 +0000 (0:00:00.024) 0:01:41.720 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 15:33:55 +0000 (0:00:00.023) 0:01:41.744 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.023) 0:01:41.767 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.053) 0:01:41.821 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.024) 0:01:41.845 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.023) 0:01:41.869 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.034) 0:01:41.904 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.048) 0:01:41.952 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.045) 0:01:41.998 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.031) 0:01:42.029 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.027) 0:01:42.057 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.027) 0:01:42.084 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.045) 0:01:42.129 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.046) 0:01:42.176 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.024) 0:01:42.201 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.025) 0:01:42.227 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.026) 0:01:42.253 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.026) 0:01:42.280 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.051) 0:01:42.332 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.054) 0:01:42.386 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml for /cache/fedora-36.qcow2.snap => (item=/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d) TASK [Get the backing device path] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 15:33:56 +0000 (0:00:00.049) 0:01:42.435 ********* changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/1560b4d4-cd33-4384-8724-d131d46e2e4d" ], "delta": "0:00:00.004130", "end": "2022-07-21 15:33:56.827958", "rc": 0, "start": "2022-07-21 15:33:56.823828" } STDOUT: /dev/nvme1n1 TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 15:33:57 +0000 (0:00:00.449) 0:01:42.885 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 15:33:59 +0000 (0:00:02.003) 0:01:44.888 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/nvme1n1" ], "delta": "0:00:00.023116", "end": "2022-07-21 15:33:59.334387", "rc": 0, "start": "2022-07-21 15:33:59.311271" } STDOUT: LUKS header information for /dev/nvme1n1 Version: 1 Cipher name: serpent Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: 97 2e 77 de 3b 1e 7e 85 96 df ff 7e 19 42 db 26 fa 1c 51 03 MK salt: 0d a5 a0 e0 36 39 4f 26 17 45 3d 7f 6f 9e a3 df 54 73 2a 1a 6b 88 69 9d 7a ae 3e 91 d4 3b cc 22 MK iterations: 107260 UUID: 1560b4d4-cd33-4384-8724-d131d46e2e4d Key Slot 0: ENABLED Iterations: 1710564 Salt: 2c fc e7 c7 68 34 30 5f 11 13 9d f3 5f a4 94 0e 68 f2 88 71 11 4f 55 79 d4 a3 21 5a 75 23 a2 91 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/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 15:33:59 +0000 (0:00:00.504) 0:01:45.392 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 15:33:59 +0000 (0:00:00.050) 0:01:45.443 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 15:33:59 +0000 (0:00:00.051) 0:01:45.495 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 15:33:59 +0000 (0:00:00.058) 0:01:45.553 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 15:33:59 +0000 (0:00:00.047) 0:01:45.601 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-1560b4d4-cd33-4384-8724-d131d46e2e4d /dev/nvme1n1 -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 15:33:59 +0000 (0:00:00.051) 0:01:45.653 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 15:33:59 +0000 (0:00:00.048) 0:01:45.701 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 15:33:59 +0000 (0:00:00.050) 0:01:45.752 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.038) 0:01:45.790 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.057) 0:01:45.847 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.035) 0:01:45.883 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.043) 0:01:45.927 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.062) 0:01:45.990 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.048) 0:01:46.038 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.024) 0:01:46.063 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.023) 0:01:46.086 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.023) 0:01:46.109 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.024) 0:01:46.134 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.025) 0:01:46.159 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.023) 0:01:46.182 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.023) 0:01:46.205 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.037) 0:01:46.243 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.044) 0:01:46.287 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.043) 0:01:46.331 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.052) 0:01:46.383 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.083) 0:01:46.467 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.041) 0:01:46.509 ********* ok: [/cache/fedora-36.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": "783ad71f-c1dc-4bc1-be6e-545ae81aa37e" } ], "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": "783ad71f-c1dc-4bc1-be6e-545ae81aa37e" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.095) 0:01:46.604 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 15:34:00 +0000 (0:00:00.127) 0:01:46.731 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 15:34:01 +0000 (0:00:00.049) 0:01:46.780 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 15:34:01 +0000 (0:00:00.049) 0:01:46.830 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 15:34:01 +0000 (0:00:00.024) 0:01:46.855 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 15:34:01 +0000 (0:00:00.022) 0:01:46.877 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 15:34:01 +0000 (0:00:00.022) 0:01:46.900 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 15:34:01 +0000 (0:00:00.036) 0:01:46.936 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 15:34:01 +0000 (0:00:00.066) 0:01:47.002 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 15:34:01 +0000 (0:00:00.051) 0:01:47.054 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 15:34:01 +0000 (0:00:00.049) 0:01:47.103 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 15:34:01 +0000 (0:00:00.040) 0:01:47.144 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 15:34:01 +0000 (0:00:00.033) 0:01:47.177 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 15:34:01 +0000 (0:00:00.038) 0:01:47.216 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 15:34:01 +0000 (0:00:00.043) 0:01:47.260 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658417632.1859581, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658417628.4349582, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1432, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658417628.4349582, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 15:34:01 +0000 (0:00:00.439) 0:01:47.700 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 15:34:01 +0000 (0:00:00.042) 0:01:47.742 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 15:34:02 +0000 (0:00:00.040) 0:01:47.783 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 15:34:02 +0000 (0:00:00.038) 0:01:47.822 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 15:34:02 +0000 (0:00:00.023) 0:01:47.846 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 15:34:02 +0000 (0:00:00.037) 0:01:47.884 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 15:34:02 +0000 (0:00:00.022) 0:01:47.906 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 15:34:04 +0000 (0:00:01.954) 0:01:49.861 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.025) 0:01:49.886 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.023) 0:01:49.909 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.050) 0:01:49.960 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.023) 0:01:49.983 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.022) 0:01:50.006 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.024) 0:01:50.030 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.023) 0:01:50.054 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.023) 0:01:50.078 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.090) 0:01:50.169 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.050) 0:01:50.219 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.035) 0:01:50.255 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.039) 0:01:50.294 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.037) 0:01:50.331 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.033) 0:01:50.365 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.035) 0:01:50.400 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.035) 0:01:50.436 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.036) 0:01:50.472 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.072) 0:01:50.545 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.036) 0:01:50.581 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.035) 0:01:50.617 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 15:34:04 +0000 (0:00:00.036) 0:01:50.654 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 15:34:05 +0000 (0:00:00.417) 0:01:51.071 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 15:34:05 +0000 (0:00:00.414) 0:01:51.485 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 15:34:05 +0000 (0:00:00.053) 0:01:51.539 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 15:34:05 +0000 (0:00:00.039) 0:01:51.579 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 15:34:05 +0000 (0:00:00.037) 0:01:51.616 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 15:34:05 +0000 (0:00:00.040) 0:01:51.657 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 15:34:05 +0000 (0:00:00.038) 0:01:51.696 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 15:34:05 +0000 (0:00:00.040) 0:01:51.737 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 15:34:06 +0000 (0:00:00.038) 0:01:51.775 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 15:34:06 +0000 (0:00:00.038) 0:01:51.814 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 15:34:06 +0000 (0:00:00.035) 0:01:51.849 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 15:34:06 +0000 (0:00:00.051) 0:01:51.901 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.048814", "end": "2022-07-21 15:34:06.320002", "rc": 0, "start": "2022-07-21 15:34:06.271188" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 15:34:06 +0000 (0:00:00.478) 0:01:52.379 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 15:34:06 +0000 (0:00:00.050) 0:01:52.429 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 15:34:06 +0000 (0:00:00.050) 0:01:52.480 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 15:34:06 +0000 (0:00:00.036) 0:01:52.517 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 15:34:06 +0000 (0:00:00.040) 0:01:52.558 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 15:34:06 +0000 (0:00:00.038) 0:01:52.596 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 15:34:06 +0000 (0:00:00.045) 0:01:52.642 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 15:34:06 +0000 (0:00:00.033) 0:01:52.676 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 15:34:06 +0000 (0:00:00.022) 0:01:52.699 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [create a file] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/create-test-file.yml:10 Thursday 21 July 2022 15:34:07 +0000 (0:00:00.086) 0:01:52.785 ********* changed: [/cache/fedora-36.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/tmpmb3dyg70/tests/tests_luks_pool.yml:234 Thursday 21 July 2022 15:34:07 +0000 (0:00:00.440) 0:01:53.225 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 15:34:07 +0000 (0:00:00.084) 0:01:53.310 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 15:34:07 +0000 (0:00:00.038) 0:01:53.348 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 15:34:08 +0000 (0:00:00.578) 0:01:53.926 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 15:34:08 +0000 (0:00:00.067) 0:01:53.994 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 15:34:08 +0000 (0:00:00.037) 0:01:54.031 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 15:34:08 +0000 (0:00:00.036) 0:01:54.068 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 15:34:08 +0000 (0:00:00.051) 0:01:54.119 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 15:34:08 +0000 (0:00:00.024) 0:01:54.143 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 15:34:08 +0000 (0:00:00.030) 0:01:54.174 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme1n1" ], "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test2", "name": "test1" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 15:34:08 +0000 (0:00:00.037) 0:01:54.211 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 15:34:08 +0000 (0:00:00.035) 0:01:54.247 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 15:34:08 +0000 (0:00:00.027) 0:01:54.275 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 15:34:08 +0000 (0:00:00.028) 0:01:54.303 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 15:34:08 +0000 (0:00:00.027) 0:01:54.331 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 15:34:08 +0000 (0:00:00.029) 0:01:54.361 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 15:34:08 +0000 (0:00:00.059) 0:01:54.420 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 15:34:08 +0000 (0:00:00.023) 0:01:54.444 ********* ok: [/cache/fedora-36.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/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": [ "lvm2", "btrfs-progs", "dosfstools", "cryptsetup", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "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": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 15:34:10 +0000 (0:00:02.186) 0:01:56.630 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 15:34:10 +0000 (0:00:00.040) 0:01:56.671 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 15:34:10 +0000 (0:00:00.026) 0:01:56.697 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/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": [ "lvm2", "btrfs-progs", "dosfstools", "cryptsetup", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme1n1" ], "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": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 15:34:10 +0000 (0:00:00.042) 0:01:56.739 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "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": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 15:34:11 +0000 (0:00:00.087) 0:01:56.827 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 15:34:11 +0000 (0:00:00.090) 0:01:56.917 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 15:34:11 +0000 (0:00:00.511) 0:01:57.429 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 15:34:12 +0000 (0:00:00.774) 0:01:58.203 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 15:34:12 +0000 (0:00:00.503) 0:01:58.707 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 15:34:13 +0000 (0:00:00.800) 0:01:59.508 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658417632.196958, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "31416e8e284b3d4128c3c1afe9ab80f4b2a20562", "ctime": 1658417632.176958, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36778, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658417632.1749582, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 57, "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 15:34:14 +0000 (0:00:00.437) 0:01:59.945 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 15:34:14 +0000 (0:00:00.025) 0:01:59.971 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [Assert to implicitly preserve encryption on existing pool] *************** task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:246 Thursday 21 July 2022 15:34:15 +0000 (0:00:01.015) 0:02:00.986 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-data-preservation.yml:10 Thursday 21 July 2022 15:34:15 +0000 (0:00:00.041) 0:02:01.028 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658417647.167958, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658417647.167958, "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": 1658417647.167958, "nlink": 1, "path": "/opt/test2/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "3565067633", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-data-preservation.yml:15 Thursday 21 July 2022 15:34:15 +0000 (0:00:00.441) 0:02:01.469 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:255 Thursday 21 July 2022 15:34:15 +0000 (0:00:00.044) 0:02:01.513 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 15:34:15 +0000 (0:00:00.043) 0:02:01.557 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme1n1" ], "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": [ "nvme1n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 15:34:15 +0000 (0:00:00.062) 0:02:01.619 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 15:34:15 +0000 (0:00:00.046) 0:02:01.666 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "783ad71f-c1dc-4bc1-be6e-545ae81aa37e" }, "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "size": "10G", "type": "crypt", "uuid": "gbHfbv-3EWQ-0EIc-9pC9-QAgT-5Zej-rhDxaY" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "crypto_LUKS", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "1560b4d4-cd33-4384-8724-d131d46e2e4d" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-15-32-01-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 15:34:16 +0000 (0:00:00.425) 0:02:02.091 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003928", "end": "2022-07-21 15:34:16.515053", "rc": 0, "start": "2022-07-21 15:34:16.511125" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 15:34:16 +0000 (0:00:00.497) 0:02:02.589 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003456", "end": "2022-07-21 15:34:16.956935", "failed_when_result": false, "rc": 0, "start": "2022-07-21 15:34:16.953479" } STDOUT: luks-1560b4d4-cd33-4384-8724-d131d46e2e4d /dev/nvme1n1 - TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 15:34:17 +0000 (0:00:00.426) 0:02:03.015 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['nvme1n1'], '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': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_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/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 15:34:17 +0000 (0:00:00.107) 0:02:03.123 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 15:34:17 +0000 (0:00:00.037) 0:02:03.160 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 15:34:17 +0000 (0:00:00.051) 0:02:03.211 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 15:34:17 +0000 (0:00:00.053) 0:02:03.265 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "pv": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 15:34:17 +0000 (0:00:00.418) 0:02:03.684 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 15:34:17 +0000 (0:00:00.049) 0:02:03.734 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.053) 0:02:03.787 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.050) 0:02:03.837 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.039) 0:02:03.877 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.023) 0:02:03.901 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.023) 0:02:03.924 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.043) 0:02:03.968 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.044) 0:02:04.012 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.027) 0:02:04.039 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.028) 0:02:04.068 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.026) 0:02:04.095 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.026) 0:02:04.122 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.027) 0:02:04.149 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.028) 0:02:04.177 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.026) 0:02:04.204 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.036) 0:02:04.241 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.044) 0:02:04.286 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_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/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.041) 0:02:04.328 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.026) 0:02:04.354 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.029) 0:02:04.384 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.027) 0:02:04.412 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.044) 0:02:04.456 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.042) 0:02:04.499 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.022) 0:02:04.522 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.026) 0:02:04.548 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.058) 0:02:04.607 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.026) 0:02:04.633 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.050) 0:02:04.683 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 15:34:18 +0000 (0:00:00.062) 0:02:04.746 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml for /cache/fedora-36.qcow2.snap => (item=/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d) TASK [Get the backing device path] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 15:34:19 +0000 (0:00:00.050) 0:02:04.796 ********* changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/1560b4d4-cd33-4384-8724-d131d46e2e4d" ], "delta": "0:00:00.003195", "end": "2022-07-21 15:34:19.171623", "rc": 0, "start": "2022-07-21 15:34:19.168428" } STDOUT: /dev/nvme1n1 TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 15:34:19 +0000 (0:00:00.430) 0:02:05.227 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 15:34:21 +0000 (0:00:01.881) 0:02:07.108 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/nvme1n1" ], "delta": "0:00:00.013384", "end": "2022-07-21 15:34:21.502757", "rc": 0, "start": "2022-07-21 15:34:21.489373" } STDOUT: LUKS header information for /dev/nvme1n1 Version: 1 Cipher name: serpent Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: 97 2e 77 de 3b 1e 7e 85 96 df ff 7e 19 42 db 26 fa 1c 51 03 MK salt: 0d a5 a0 e0 36 39 4f 26 17 45 3d 7f 6f 9e a3 df 54 73 2a 1a 6b 88 69 9d 7a ae 3e 91 d4 3b cc 22 MK iterations: 107260 UUID: 1560b4d4-cd33-4384-8724-d131d46e2e4d Key Slot 0: ENABLED Iterations: 1710564 Salt: 2c fc e7 c7 68 34 30 5f 11 13 9d f3 5f a4 94 0e 68 f2 88 71 11 4f 55 79 d4 a3 21 5a 75 23 a2 91 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/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 15:34:21 +0000 (0:00:00.452) 0:02:07.560 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 15:34:21 +0000 (0:00:00.059) 0:02:07.619 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 15:34:21 +0000 (0:00:00.026) 0:02:07.646 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 15:34:21 +0000 (0:00:00.029) 0:02:07.676 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 15:34:21 +0000 (0:00:00.048) 0:02:07.725 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-1560b4d4-cd33-4384-8724-d131d46e2e4d /dev/nvme1n1 -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.055) 0:02:07.780 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.051) 0:02:07.832 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.053) 0:02:07.886 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.040) 0:02:07.926 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.056) 0:02:07.983 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.035) 0:02:08.018 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.095) 0:02:08.114 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.051) 0:02:08.165 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_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/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.049) 0:02:08.215 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.073) 0:02:08.288 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.027) 0:02:08.316 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.027) 0:02:08.343 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.024) 0:02:08.368 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.025) 0:02:08.394 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.025) 0:02:08.419 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.027) 0:02:08.447 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.039) 0:02:08.486 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.036) 0:02:08.523 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme1n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_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/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.041) 0:02:08.564 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.050) 0:02:08.614 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.078) 0:02:08.693 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 15:34:22 +0000 (0:00:00.051) 0:02:08.744 ********* ok: [/cache/fedora-36.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": "783ad71f-c1dc-4bc1-be6e-545ae81aa37e" } ], "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": "783ad71f-c1dc-4bc1-be6e-545ae81aa37e" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 15:34:23 +0000 (0:00:00.056) 0:02:08.801 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 15:34:23 +0000 (0:00:00.066) 0:02:08.867 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 15:34:23 +0000 (0:00:00.047) 0:02:08.915 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 15:34:23 +0000 (0:00:00.056) 0:02:08.971 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 15:34:23 +0000 (0:00:00.026) 0:02:08.997 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 15:34:23 +0000 (0:00:00.032) 0:02:09.030 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 15:34:23 +0000 (0:00:00.029) 0:02:09.059 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 15:34:23 +0000 (0:00:00.036) 0:02:09.096 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 15:34:23 +0000 (0:00:00.071) 0:02:09.167 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 15:34:23 +0000 (0:00:00.051) 0:02:09.219 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 15:34:23 +0000 (0:00:00.054) 0:02:09.273 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 15:34:23 +0000 (0:00:00.037) 0:02:09.311 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 15:34:23 +0000 (0:00:00.036) 0:02:09.348 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 15:34:23 +0000 (0:00:00.041) 0:02:09.389 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 15:34:23 +0000 (0:00:00.045) 0:02:09.435 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658417652.6389582, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658417628.4349582, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1432, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658417628.4349582, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 15:34:24 +0000 (0:00:00.425) 0:02:09.861 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 15:34:24 +0000 (0:00:00.093) 0:02:09.955 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 15:34:24 +0000 (0:00:00.109) 0:02:10.064 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 15:34:24 +0000 (0:00:00.039) 0:02:10.104 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 15:34:24 +0000 (0:00:00.024) 0:02:10.128 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 15:34:24 +0000 (0:00:00.140) 0:02:10.269 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 15:34:24 +0000 (0:00:00.027) 0:02:10.296 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 15:34:26 +0000 (0:00:01.981) 0:02:12.278 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 15:34:26 +0000 (0:00:00.027) 0:02:12.305 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 15:34:26 +0000 (0:00:00.027) 0:02:12.333 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 15:34:26 +0000 (0:00:00.053) 0:02:12.386 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 15:34:26 +0000 (0:00:00.023) 0:02:12.409 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 15:34:26 +0000 (0:00:00.023) 0:02:12.433 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 15:34:26 +0000 (0:00:00.022) 0:02:12.456 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 15:34:26 +0000 (0:00:00.022) 0:02:12.478 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 15:34:26 +0000 (0:00:00.022) 0:02:12.500 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 15:34:26 +0000 (0:00:00.050) 0:02:12.551 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 15:34:26 +0000 (0:00:00.046) 0:02:12.597 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 15:34:26 +0000 (0:00:00.034) 0:02:12.632 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 15:34:26 +0000 (0:00:00.037) 0:02:12.669 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 15:34:26 +0000 (0:00:00.034) 0:02:12.703 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 15:34:26 +0000 (0:00:00.033) 0:02:12.736 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 15:34:27 +0000 (0:00:00.034) 0:02:12.770 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 15:34:27 +0000 (0:00:00.039) 0:02:12.809 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 15:34:27 +0000 (0:00:00.036) 0:02:12.845 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 15:34:27 +0000 (0:00:00.035) 0:02:12.881 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 15:34:27 +0000 (0:00:00.034) 0:02:12.916 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 15:34:27 +0000 (0:00:00.039) 0:02:12.955 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 15:34:27 +0000 (0:00:00.035) 0:02:12.991 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 15:34:27 +0000 (0:00:00.410) 0:02:13.401 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 15:34:28 +0000 (0:00:00.450) 0:02:13.852 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 15:34:28 +0000 (0:00:00.087) 0:02:13.939 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 15:34:28 +0000 (0:00:00.037) 0:02:13.976 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 15:34:28 +0000 (0:00:00.037) 0:02:14.013 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 15:34:28 +0000 (0:00:00.037) 0:02:14.050 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 15:34:28 +0000 (0:00:00.035) 0:02:14.086 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 15:34:28 +0000 (0:00:00.040) 0:02:14.127 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 15:34:28 +0000 (0:00:00.040) 0:02:14.167 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 15:34:28 +0000 (0:00:00.096) 0:02:14.263 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 15:34:28 +0000 (0:00:00.100) 0:02:14.364 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 15:34:28 +0000 (0:00:00.053) 0:02:14.418 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.049350", "end": "2022-07-21 15:34:28.834572", "rc": 0, "start": "2022-07-21 15:34:28.785222" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 15:34:29 +0000 (0:00:00.471) 0:02:14.889 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 15:34:29 +0000 (0:00:00.049) 0:02:14.939 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 15:34:29 +0000 (0:00:00.049) 0:02:14.988 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 15:34:29 +0000 (0:00:00.039) 0:02:15.028 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 15:34:29 +0000 (0:00:00.036) 0:02:15.065 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 15:34:29 +0000 (0:00:00.035) 0:02:15.100 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 15:34:29 +0000 (0:00:00.035) 0:02:15.136 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 15:34:29 +0000 (0:00:00.035) 0:02:15.172 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 15:34:29 +0000 (0:00:00.020) 0:02:15.193 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:257 Thursday 21 July 2022 15:34:29 +0000 (0:00:00.033) 0:02:15.226 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 15:34:29 +0000 (0:00:00.051) 0:02:15.277 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 15:34:29 +0000 (0:00:00.033) 0:02:15.311 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 15:34:30 +0000 (0:00:00.555) 0:02:15.867 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 15:34:30 +0000 (0:00:00.061) 0:02:15.929 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 15:34:30 +0000 (0:00:00.046) 0:02:15.976 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 15:34:30 +0000 (0:00:00.036) 0:02:16.012 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 15:34:30 +0000 (0:00:00.049) 0:02:16.062 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 15:34:30 +0000 (0:00:00.023) 0:02:16.086 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 15:34:30 +0000 (0:00:00.031) 0:02:16.118 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 15:34:30 +0000 (0:00:00.043) 0:02:16.161 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": [ { "disks": [ "nvme1n1" ], "name": "foo", "state": "absent", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 15:34:30 +0000 (0:00:00.041) 0:02:16.203 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 15:34:30 +0000 (0:00:00.031) 0:02:16.234 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 15:34:30 +0000 (0:00:00.032) 0:02:16.266 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 15:34:30 +0000 (0:00:00.035) 0:02:16.302 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 15:34:30 +0000 (0:00:00.032) 0:02:16.335 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 15:34:30 +0000 (0:00:00.111) 0:02:16.446 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 15:34:30 +0000 (0:00:00.026) 0:02:16.472 ********* changed: [/cache/fedora-36.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-1560b4d4-cd33-4384-8724-d131d46e2e4d", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/nvme1n1", "name": "luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "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": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "_mount_id": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 15:34:33 +0000 (0:00:03.244) 0:02:19.717 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 15:34:33 +0000 (0:00:00.036) 0:02:19.754 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 15:34:34 +0000 (0:00:00.021) 0:02:19.775 ********* ok: [/cache/fedora-36.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-1560b4d4-cd33-4384-8724-d131d46e2e4d", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme1n1", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/nvme1n1", "name": "luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "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": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "_mount_id": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 15:34:34 +0000 (0:00:00.038) 0:02:19.814 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 15:34:34 +0000 (0:00:00.037) 0:02:19.851 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "_mount_id": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 15:34:34 +0000 (0:00:00.039) 0:02:19.891 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 15:34:34 +0000 (0:00:00.463) 0:02:20.354 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 15:34:35 +0000 (0:00:00.798) 0:02:21.153 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 15:34:35 +0000 (0:00:00.038) 0:02:21.191 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 15:34:36 +0000 (0:00:00.781) 0:02:21.973 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658417632.196958, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "31416e8e284b3d4128c3c1afe9ab80f4b2a20562", "ctime": 1658417632.176958, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36778, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658417632.1749582, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 57, "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 15:34:36 +0000 (0:00:00.430) 0:02:22.404 ********* changed: [/cache/fedora-36.qcow2.snap] => (item={'backing_device': '/dev/nvme1n1', 'name': 'luks-1560b4d4-cd33-4384-8724-d131d46e2e4d', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/nvme1n1", "name": "luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 15:34:37 +0000 (0:00:00.463) 0:02:22.867 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_luks_pool.yml:267 Thursday 21 July 2022 15:34:38 +0000 (0:00:00.980) 0:02:23.848 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 15:34:38 +0000 (0:00:00.049) 0:02:23.897 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 15:34:38 +0000 (0:00:00.045) 0:02:23.942 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "_mount_id": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d", "_raw_device": "/dev/nvme1n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme1n1" ], "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/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 15:34:38 +0000 (0:00:00.102) 0:02:24.044 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-15-32-01-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 15:34:38 +0000 (0:00:00.488) 0:02:24.533 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003287", "end": "2022-07-21 15:34:38.898655", "rc": 0, "start": "2022-07-21 15:34:38.895368" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 15:34:39 +0000 (0:00:00.425) 0:02:24.958 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004849", "end": "2022-07-21 15:34:40.333110", "failed_when_result": false, "rc": 0, "start": "2022-07-21 15:34:39.328261" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 15:34:40 +0000 (0:00:01.434) 0:02:26.393 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 15:34:40 +0000 (0:00:00.022) 0:02:26.415 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.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': ['nvme1n1'], '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-1560b4d4-cd33-4384-8724-d131d46e2e4d', '_raw_device': '/dev/nvme1n1', '_mount_id': '/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 15:34:40 +0000 (0:00:00.069) 0:02:26.485 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 15:34:40 +0000 (0:00:00.047) 0:02:26.532 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 15:34:40 +0000 (0:00:00.080) 0:02:26.613 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/luks-1560b4d4-cd33-4384-8724-d131d46e2e4d" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 15:34:40 +0000 (0:00:00.041) 0:02:26.654 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 15:34:40 +0000 (0:00:00.052) 0:02:26.707 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 15:34:40 +0000 (0:00:00.023) 0:02:26.730 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 15:34:41 +0000 (0:00:00.050) 0:02:26.780 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 15:34:41 +0000 (0:00:00.041) 0:02:26.822 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 15:34:41 +0000 (0:00:00.024) 0:02:26.846 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 15:34:41 +0000 (0:00:00.023) 0:02:26.870 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 15:34:41 +0000 (0:00:00.022) 0:02:26.893 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 15:34:41 +0000 (0:00:00.035) 0:02:26.928 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 15:34:41 +0000 (0:00:00.061) 0:02:26.990 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 15:34:41 +0000 (0:00:00.025) 0:02:27.016 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 15:34:41 +0000 (0:00:00.056) 0:02:27.072 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 15:34:41 +0000 (0:00:00.035) 0:02:27.108 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 15:34:41 +0000 (0:00:00.034) 0:02:27.143 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 15:34:41 +0000 (0:00:00.023) 0:02:27.166 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 15:34:41 +0000 (0:00:00.027) 0:02:27.193 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658417673.5629582, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658417673.5629582, "dev": 5, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 233, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658417673.5629582, "nlink": 1, "path": "/dev/nvme1n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 15:34:41 +0000 (0:00:00.423) 0:02:27.617 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 15:34:41 +0000 (0:00:00.077) 0:02:27.694 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 15:34:41 +0000 (0:00:00.057) 0:02:27.752 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 15:34:42 +0000 (0:00:00.036) 0:02:27.788 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 15:34:42 +0000 (0:00:00.026) 0:02:27.815 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 15:34:42 +0000 (0:00:00.026) 0:02:27.841 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 15:34:42 +0000 (0:00:00.400) 0:02:28.242 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 15:34:44 +0000 (0:00:01.932) 0:02:30.174 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 15:34:44 +0000 (0:00:00.029) 0:02:30.203 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 15:34:44 +0000 (0:00:00.041) 0:02:30.245 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 15:34:44 +0000 (0:00:00.026) 0:02:30.272 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 15:34:44 +0000 (0:00:00.026) 0:02:30.298 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 15:34:44 +0000 (0:00:00.032) 0:02:30.330 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 15:34:44 +0000 (0:00:00.026) 0:02:30.357 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 15:34:44 +0000 (0:00:00.026) 0:02:30.383 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 15:34:44 +0000 (0:00:00.027) 0:02:30.411 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 15:34:44 +0000 (0:00:00.056) 0:02:30.468 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 15:34:44 +0000 (0:00:00.051) 0:02:30.519 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 15:34:44 +0000 (0:00:00.037) 0:02:30.557 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 15:34:44 +0000 (0:00:00.039) 0:02:30.597 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 15:34:44 +0000 (0:00:00.043) 0:02:30.640 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 15:34:44 +0000 (0:00:00.037) 0:02:30.678 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 15:34:44 +0000 (0:00:00.039) 0:02:30.717 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 15:34:44 +0000 (0:00:00.038) 0:02:30.756 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.039) 0:02:30.796 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.040) 0:02:30.836 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.036) 0:02:30.872 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.038) 0:02:30.911 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.042) 0:02:30.953 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.027) 0:02:30.981 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.040) 0:02:31.021 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.036) 0:02:31.058 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.039) 0:02:31.097 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.036) 0:02:31.134 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.036) 0:02:31.170 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.035) 0:02:31.205 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.039) 0:02:31.245 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.039) 0:02:31.285 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.086) 0:02:31.371 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.038) 0:02:31.409 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.023) 0:02:31.433 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.023) 0:02:31.456 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.022) 0:02:31.479 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.024) 0:02:31.503 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.023) 0:02:31.527 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.022) 0:02:31.549 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.022) 0:02:31.572 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.058) 0:02:31.631 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.033) 0:02:31.665 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=542 changed=22 unreachable=0 failed=3 skipped=371 rescued=3 ignored=0 Thursday 21 July 2022 15:34:45 +0000 (0:00:00.048) 0:02:31.714 ********* =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state -- 10.24s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 9.47s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 3.81s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 3.24s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : make sure blivet is available -------------- 2.48s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : get service facts -------------------------- 2.23s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.19s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.18s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get required packages ---------------------- 2.10s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.04s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Ensure cryptsetup is present -------------------------------------------- 2.00s /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:6 -------------------- Ensure cryptsetup is present -------------------------------------------- 1.98s /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : make sure required packages are installed --- 1.98s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Ensure cryptsetup is present -------------------------------------------- 1.95s /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.93s /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : make sure required packages are installed --- 1.93s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Ensure cryptsetup is present -------------------------------------------- 1.92s /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.90s /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:6 -------------------- Ensure cryptsetup is present -------------------------------------------- 1.88s /tmp/tmpmb3dyg70/tests/verify-pool-member-encryption.yml:6 -------------------- Ensure cryptsetup is present -------------------------------------------- 1.87s /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 ------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpdbh6f40u executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /tmp/tmppde4z2jm/tests/storage/create-test-file.yml statically imported: /tmp/tmppde4z2jm/tests/storage/verify-data-preservation.yml statically imported: /tmp/tmppde4z2jm/tests/storage/create-test-file.yml statically imported: /tmp/tmppde4z2jm/tests/storage/verify-data-preservation.yml statically imported: /tmp/tmppde4z2jm/tests/storage/create-test-file.yml statically imported: /tmp/tmppde4z2jm/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_nvme_generated.yml *********************************** 2 plays in /tmp/tmppde4z2jm/tests/storage/tests_luks_pool_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool_nvme_generated.yml:3 Thursday 21 July 2022 19:30:08 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool_nvme_generated.yml:7 Thursday 21 July 2022 19:30:09 +0000 (0:00:01.390) 0:00:01.402 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:2 Thursday 21 July 2022 19:30:09 +0000 (0:00:00.051) 0:00:01.454 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:14 Thursday 21 July 2022 19:30:10 +0000 (0:00:00.969) 0:00:02.423 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:30:10 +0000 (0:00:00.036) 0:00:02.460 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:30:10 +0000 (0:00:00.031) 0:00:02.491 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:30:11 +0000 (0:00:00.553) 0:00:03.045 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:30:11 +0000 (0:00:00.057) 0:00:03.102 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:30:11 +0000 (0:00:00.032) 0:00:03.135 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:30:11 +0000 (0:00:00.031) 0:00:03.166 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:30:11 +0000 (0:00:00.056) 0:00:03.223 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:30:11 +0000 (0:00:00.018) 0:00:03.241 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:30:14 +0000 (0:00:02.634) 0:00:05.875 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:30:14 +0000 (0:00:00.048) 0:00:05.923 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:30:14 +0000 (0:00:00.033) 0:00:05.957 ********* ok: [/cache/fedora-36.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:30:14 +0000 (0:00:00.786) 0:00:06.744 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 19:30:15 +0000 (0:00:00.067) 0:00:06.811 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 19:30:15 +0000 (0:00:00.041) 0:00:06.853 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 19:30:15 +0000 (0:00:00.035) 0:00:06.888 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:30:15 +0000 (0:00:00.043) 0:00:06.932 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:30:16 +0000 (0:00:01.796) 0:00:08.729 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "bluetooth.service": { "name": "bluetooth.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-os-release.service": { "name": "console-login-helper-messages-gensnippet-os-release.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-ssh-keys.service": { "name": "console-login-helper-messages-gensnippet-ssh-keys.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.bluez.service": { "name": "dbus-org.bluez.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.oom1.service": { "name": "dbus-org.freedesktop.oom1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.resolve1.service": { "name": "dbus-org.freedesktop.resolve1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown-onfailure.service": { "name": "dracut-shutdown-onfailure.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "stopped", "status": "static" }, "fwupd-offline-update.service": { "name": "fwupd-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd-refresh.service": { "name": "fwupd-refresh.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd.service": { "name": "fwupd.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "pcscd.service": { "name": "pcscd.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "stopped", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpmdb-migrate.service": { "name": "rpmdb-migrate.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "selinux-check-proper-disable.service": { "name": "selinux-check-proper-disable.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bless-boot.service": { "name": "systemd-bless-boot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-boot-system-token.service": { "name": "systemd-boot-system-token.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-boot-update.service": { "name": "systemd-boot-update.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-disk-by\\x2duuid-FAAC\\x2dBFC8.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-FAAC\\x2dBFC8.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-disk-by\\x2duuid-cb4982f0\\x2dd861\\x2d4106\\x2dada7\\x2daaeba17ae2bb.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-cb4982f0\\x2dd861\\x2d4106\\x2dada7\\x2daaeba17ae2bb.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-homed-activate.service": { "name": "systemd-homed-activate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-homed.service": { "name": "systemd-homed.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-networkd.service": { "name": "systemd-networkd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-oomd.service": { "name": "systemd-oomd.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-time-wait-sync.service": { "name": "systemd-time-wait-sync.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-userdbd.service": { "name": "systemd-userdbd.service", "source": "systemd", "state": "running", "status": "indirect" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-zram-setup@.service": { "name": "systemd-zram-setup@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-zram-setup@zram0.service": { "name": "systemd-zram-setup@zram0.service", "source": "systemd", "state": "stopped", "status": "active" }, "udisks2.service": { "name": "udisks2.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:30:19 +0000 (0:00:02.198) 0:00:10.928 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:30:19 +0000 (0:00:00.056) 0:00:10.985 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:30:19 +0000 (0:00:00.021) 0:00:11.006 ********* ok: [/cache/fedora-36.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:30:19 +0000 (0:00:00.579) 0:00:11.586 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:30:19 +0000 (0:00:00.038) 0:00:11.625 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:30:19 +0000 (0:00:00.021) 0:00:11.646 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:30:19 +0000 (0:00:00.037) 0:00:11.684 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:30:19 +0000 (0:00:00.040) 0:00:11.724 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:30:20 +0000 (0:00:00.037) 0:00:11.761 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:30:20 +0000 (0:00:00.035) 0:00:11.796 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:30:20 +0000 (0:00:00.025) 0:00:11.822 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:30:20 +0000 (0:00:00.036) 0:00:11.858 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:30:20 +0000 (0:00:00.022) 0:00:11.881 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:30:20 +0000 (0:00:00.542) 0:00:12.424 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:30:20 +0000 (0:00:00.022) 0:00:12.446 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:17 Thursday 21 July 2022 19:30:21 +0000 (0:00:01.075) 0:00:13.522 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:23 Thursday 21 July 2022 19:30:21 +0000 (0:00:00.033) 0:00:13.556 ********* included: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml for /cache/fedora-36.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 19:30:21 +0000 (0:00:00.035) 0:00:13.591 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "disks": [ "nvme0n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 19:30:24 +0000 (0:00:02.559) 0:00:16.151 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "nvme0n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 19:30:24 +0000 (0:00:00.036) 0:00:16.187 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 19:30:24 +0000 (0:00:00.040) 0:00:16.228 ********* ok: [/cache/fedora-36.qcow2.snap] => { "unused_disks": [ "nvme0n1" ] } TASK [Create an encrypted lvm pool] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:34 Thursday 21 July 2022 19:30:24 +0000 (0:00:00.035) 0:00:16.263 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:30:24 +0000 (0:00:00.040) 0:00:16.303 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:30:24 +0000 (0:00:00.037) 0:00:16.341 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:30:25 +0000 (0:00:00.567) 0:00:16.909 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:30:25 +0000 (0:00:00.104) 0:00:17.013 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:30:25 +0000 (0:00:00.037) 0:00:17.051 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:30:25 +0000 (0:00:00.036) 0:00:17.087 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:30:25 +0000 (0:00:00.060) 0:00:17.148 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:30:25 +0000 (0:00:00.022) 0:00:17.170 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:30:25 +0000 (0:00:00.029) 0:00:17.200 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:30:25 +0000 (0:00:00.069) 0:00:17.269 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:30:25 +0000 (0:00:00.038) 0:00:17.308 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:30:27 +0000 (0:00:02.014) 0:00:19.323 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 19:30:27 +0000 (0:00:00.072) 0:00:19.396 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 19:30:27 +0000 (0:00:00.048) 0:00:19.444 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 19:30:27 +0000 (0:00:00.037) 0:00:19.482 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:30:27 +0000 (0:00:00.044) 0:00:19.527 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:30:29 +0000 (0:00:01.993) 0:00:21.520 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:30:29 +0000 (0:00:00.029) 0:00:21.550 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:30:29 +0000 (0:00:00.056) 0:00:21.607 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:30:29 +0000 (0:00:00.021) 0:00:21.628 ********* fatal: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 19:30:31 +0000 (0:00:01.788) 0:00:23.416 ********* fatal: [/cache/fedora-36.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': ['nvme0n1'], '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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:30:31 +0000 (0:00:00.039) 0:00:23.455 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:53 Thursday 21 July 2022 19:30:31 +0000 (0:00:00.020) 0:00:23.476 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the keyless luks test] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:59 Thursday 21 July 2022 19:30:31 +0000 (0:00:00.038) 0:00:23.515 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:64 Thursday 21 July 2022 19:30:31 +0000 (0:00:00.045) 0:00:23.560 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [Create a key file] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:73 Thursday 21 July 2022 19:30:31 +0000 (0:00:00.034) 0:00:23.595 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/storage_test5dp708z0lukskey", "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/tmppde4z2jm/tests/storage/tests_luks_pool.yml:80 Thursday 21 July 2022 19:30:32 +0000 (0:00:00.525) 0:00:24.121 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "checksum": "7a4dff3752e2baf5617c57eaac048e2b95e8af91", "dest": "/tmp/storage_test5dp708z0lukskey", "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-1658431832.4333074-32401-237837066351224/source", "state": "file", "uid": 0 } TASK [Create an encrypted lvm pool using a key file] *************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:87 Thursday 21 July 2022 19:30:33 +0000 (0:00:00.917) 0:00:25.038 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:30:33 +0000 (0:00:00.040) 0:00:25.078 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:30:33 +0000 (0:00:00.035) 0:00:25.114 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:30:33 +0000 (0:00:00.589) 0:00:25.703 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:30:34 +0000 (0:00:00.118) 0:00:25.822 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:30:34 +0000 (0:00:00.044) 0:00:25.867 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:30:34 +0000 (0:00:00.034) 0:00:25.901 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:30:34 +0000 (0:00:00.062) 0:00:25.964 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:30:34 +0000 (0:00:00.020) 0:00:25.985 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:30:34 +0000 (0:00:00.027) 0:00:26.013 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "encryption": true, "encryption_key": "/tmp/storage_test5dp708z0lukskey", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:30:34 +0000 (0:00:00.039) 0:00:26.052 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:30:34 +0000 (0:00:00.037) 0:00:26.090 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:30:34 +0000 (0:00:00.028) 0:00:26.118 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:30:34 +0000 (0:00:00.029) 0:00:26.148 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:30:34 +0000 (0:00:00.034) 0:00:26.183 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:30:34 +0000 (0:00:00.029) 0:00:26.213 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:30:34 +0000 (0:00:00.061) 0:00:26.274 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:30:34 +0000 (0:00:00.023) 0:00:26.297 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da", "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/nvme0n1", "name": "luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da", "password": "/tmp/storage_test5dp708z0lukskey", "state": "present" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "dosfstools", "xfsprogs", "lvm2", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_test5dp708z0lukskey", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:30:45 +0000 (0:00:10.936) 0:00:37.234 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:30:45 +0000 (0:00:00.039) 0:00:37.273 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:30:45 +0000 (0:00:00.024) 0:00:37.297 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da", "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/nvme0n1", "name": "luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da", "password": "/tmp/storage_test5dp708z0lukskey", "state": "present" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "cryptsetup", "dosfstools", "xfsprogs", "lvm2", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_test5dp708z0lukskey", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:30:45 +0000 (0:00:00.079) 0:00:37.377 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_test5dp708z0lukskey", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:30:45 +0000 (0:00:00.042) 0:00:37.419 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:30:45 +0000 (0:00:00.037) 0:00:37.457 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:30:45 +0000 (0:00:00.039) 0:00:37.496 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:30:46 +0000 (0:00:01.042) 0:00:38.539 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': '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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:30:47 +0000 (0:00:00.746) 0:00:39.286 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:30:48 +0000 (0:00:00.764) 0:00:40.050 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:30:48 +0000 (0:00:00.409) 0:00:40.460 ********* changed: [/cache/fedora-36.qcow2.snap] => (item={'backing_device': '/dev/nvme0n1', 'name': 'luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da', 'password': '/tmp/storage_test5dp708z0lukskey', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/nvme0n1", "name": "luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da", "password": "/tmp/storage_test5dp708z0lukskey", "state": "present" } } MSG: line added TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:30:49 +0000 (0:00:00.570) 0:00:41.030 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:102 Thursday 21 July 2022 19:30:50 +0000 (0:00:00.978) 0:00:42.009 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:30:50 +0000 (0:00:00.044) 0:00:42.053 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_test5dp708z0lukskey", "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_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/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:30:50 +0000 (0:00:00.054) 0:00:42.108 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:30:50 +0000 (0:00:00.038) 0:00:42.147 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "2f819bd7-a9d0-479c-8563-8f11169b18f9" }, "/dev/mapper/luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da", "size": "10G", "type": "crypt", "uuid": "yJJkvF-XcJt-636J-bI4M-RLo3-VgUz-xTeelW" }, "/dev/nvme0n1": { "fstype": "crypto_LUKS", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "ece889c7-622b-471c-8bd0-4dfea5a9e5da" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-29-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:30:50 +0000 (0:00:00.555) 0:00:42.702 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003448", "end": "2022-07-21 19:30:51.158988", "rc": 0, "start": "2022-07-21 19:30:51.155540" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:30:51 +0000 (0:00:00.531) 0:00:43.234 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003312", "end": "2022-07-21 19:30:51.603550", "failed_when_result": false, "rc": 0, "start": "2022-07-21 19:30:51.600238" } STDOUT: luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da /dev/nvme0n1 /tmp/storage_test5dp708z0lukskey TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:30:51 +0000 (0:00:00.443) 0:00:43.678 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['nvme0n1'], 'encryption': True, 'encryption_cipher': None, 'encryption_key': '/tmp/storage_test5dp708z0lukskey', '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/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:30:51 +0000 (0:00:00.057) 0:00:43.736 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:30:52 +0000 (0:00:00.063) 0:00:43.799 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:30:52 +0000 (0:00:00.075) 0:00:43.874 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:30:52 +0000 (0:00:00.054) 0:00:43.929 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/mapper/luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da", "pv": "/dev/mapper/luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:30:52 +0000 (0:00:00.491) 0:00:44.421 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:30:52 +0000 (0:00:00.051) 0:00:44.472 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:30:52 +0000 (0:00:00.049) 0:00:44.521 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:30:52 +0000 (0:00:00.047) 0:00:44.568 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:30:52 +0000 (0:00:00.037) 0:00:44.605 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:30:52 +0000 (0:00:00.023) 0:00:44.629 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:30:52 +0000 (0:00:00.024) 0:00:44.654 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/mapper/luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:30:52 +0000 (0:00:00.044) 0:00:44.698 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:30:52 +0000 (0:00:00.043) 0:00:44.742 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.022) 0:00:44.765 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.022) 0:00:44.788 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.023) 0:00:44.811 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.022) 0:00:44.833 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.022) 0:00:44.855 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.022) 0:00:44.877 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.024) 0:00:44.902 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.033) 0:00:44.935 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.044) 0:00:44.979 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.044) 0:00:45.024 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.027) 0:00:45.052 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.027) 0:00:45.080 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.029) 0:00:45.110 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.045) 0:00:45.156 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.043) 0:00:45.199 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.022) 0:00:45.222 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.024) 0:00:45.247 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.048) 0:00:45.296 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.023) 0:00:45.319 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.046) 0:00:45.365 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_storage_test_expected_crypttab_key_file": "/tmp/storage_test5dp708z0lukskey" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.048) 0:00:45.414 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml for /cache/fedora-36.qcow2.snap => (item=/dev/mapper/luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da) TASK [Get the backing device path] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 19:30:53 +0000 (0:00:00.042) 0:00:45.456 ********* changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/ece889c7-622b-471c-8bd0-4dfea5a9e5da" ], "delta": "0:00:00.004108", "end": "2022-07-21 19:30:53.808238", "rc": 0, "start": "2022-07-21 19:30:53.804130" } STDOUT: /dev/nvme0n1 TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 19:30:54 +0000 (0:00:00.427) 0:00:45.883 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 19:30:56 +0000 (0:00:01.973) 0:00:47.857 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/nvme0n1" ], "delta": "0:00:00.027621", "end": "2022-07-21 19:30:56.216784", "rc": 0, "start": "2022-07-21 19:30:56.189163" } STDOUT: LUKS header information Version: 2 Epoch: 3 Metadata area: 16384 [bytes] Keyslots area: 16744448 [bytes] UUID: ece889c7-622b-471c-8bd0-4dfea5a9e5da 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: 1007832 Threads: 4 Salt: 9f 07 d2 06 10 cf a3 cd e2 a7 b1 ab fe 14 cc 86 d2 be 46 a3 25 5f 88 ea 5e 00 ba 1d bb e6 d4 d4 AF stripes: 4000 AF hash: sha256 Area offset:32768 [bytes] Area length:258048 [bytes] Digest ID: 0 Tokens: Digests: 0: pbkdf2 Hash: sha256 Iterations: 106910 Salt: a0 72 46 14 5c f6 b5 44 f9 96 99 02 f6 70 be 42 40 07 bf 0d 23 95 48 18 48 42 36 ef c3 23 f5 64 Digest: ee e6 fa ed 99 7d 80 ae 72 5d 8b 5e 90 bc d9 53 f0 8f 34 f1 e1 97 d3 e3 b4 20 72 33 9a b4 4c 32 TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 19:30:56 +0000 (0:00:00.445) 0:00:48.302 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 19:30:56 +0000 (0:00:00.024) 0:00:48.327 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 19:30:56 +0000 (0:00:00.025) 0:00:48.353 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:30:56 +0000 (0:00:00.027) 0:00:48.381 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/mapper/luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:30:56 +0000 (0:00:00.046) 0:00:48.427 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da /dev/nvme0n1 /tmp/storage_test5dp708z0lukskey" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:30:56 +0000 (0:00:00.052) 0:00:48.479 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:30:56 +0000 (0:00:00.047) 0:00:48.527 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:30:56 +0000 (0:00:00.049) 0:00:48.577 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:30:56 +0000 (0:00:00.036) 0:00:48.613 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:30:56 +0000 (0:00:00.049) 0:00:48.663 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:30:56 +0000 (0:00:00.034) 0:00:48.697 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.065) 0:00:48.762 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.048) 0:00:48.811 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.082) 0:00:48.894 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.023) 0:00:48.917 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.022) 0:00:48.940 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.022) 0:00:48.963 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.023) 0:00:48.986 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.022) 0:00:49.008 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.021) 0:00:49.030 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.021) 0:00:49.052 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.035) 0:00:49.087 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.032) 0:00:49.119 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.041) 0:00:49.161 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.048) 0:00:49.209 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.083) 0:00:49.293 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.043) 0:00:49.336 ********* ok: [/cache/fedora-36.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": "2f819bd7-a9d0-479c-8563-8f11169b18f9" } ], "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": "2f819bd7-a9d0-479c-8563-8f11169b18f9" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.070) 0:00:49.407 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.049) 0:00:49.456 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.047) 0:00:49.503 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.050) 0:00:49.554 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.023) 0:00:49.578 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.023) 0:00:49.601 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.024) 0:00:49.626 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.039) 0:00:49.665 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:30:57 +0000 (0:00:00.058) 0:00:49.723 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:30:58 +0000 (0:00:00.049) 0:00:49.773 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:30:58 +0000 (0:00:00.054) 0:00:49.827 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:30:58 +0000 (0:00:00.037) 0:00:49.865 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:30:58 +0000 (0:00:00.037) 0:00:49.903 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:30:58 +0000 (0:00:00.039) 0:00:49.942 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:30:58 +0000 (0:00:00.041) 0:00:49.984 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658431848.9534957, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658431845.0774958, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1006, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658431845.0774958, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:30:58 +0000 (0:00:00.432) 0:00:50.417 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:30:58 +0000 (0:00:00.078) 0:00:50.495 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:30:58 +0000 (0:00:00.076) 0:00:50.572 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:30:58 +0000 (0:00:00.038) 0:00:50.610 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:30:58 +0000 (0:00:00.024) 0:00:50.634 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:30:58 +0000 (0:00:00.040) 0:00:50.674 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:30:58 +0000 (0:00:00.023) 0:00:50.698 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:31:00 +0000 (0:00:01.997) 0:00:52.696 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:31:00 +0000 (0:00:00.027) 0:00:52.723 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:31:00 +0000 (0:00:00.024) 0:00:52.747 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.053) 0:00:52.800 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.027) 0:00:52.827 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.026) 0:00:52.854 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.023) 0:00:52.878 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.023) 0:00:52.901 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.027) 0:00:52.928 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.055) 0:00:52.984 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.061) 0:00:53.045 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.039) 0:00:53.084 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.041) 0:00:53.126 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.042) 0:00:53.168 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.038) 0:00:53.207 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.038) 0:00:53.246 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.041) 0:00:53.287 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.038) 0:00:53.326 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.038) 0:00:53.365 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.038) 0:00:53.403 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.042) 0:00:53.445 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:31:01 +0000 (0:00:00.036) 0:00:53.482 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:31:02 +0000 (0:00:00.559) 0:00:54.042 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:31:02 +0000 (0:00:00.463) 0:00:54.505 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:31:02 +0000 (0:00:00.090) 0:00:54.596 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:31:02 +0000 (0:00:00.074) 0:00:54.670 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:31:03 +0000 (0:00:00.106) 0:00:54.777 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:31:03 +0000 (0:00:00.040) 0:00:54.818 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:31:03 +0000 (0:00:00.039) 0:00:54.857 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:31:03 +0000 (0:00:00.040) 0:00:54.898 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:31:03 +0000 (0:00:00.037) 0:00:54.936 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:31:03 +0000 (0:00:00.037) 0:00:54.973 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:31:03 +0000 (0:00:00.039) 0:00:55.013 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:31:03 +0000 (0:00:00.056) 0:00:55.069 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.062784", "end": "2022-07-21 19:31:03.476039", "rc": 0, "start": "2022-07-21 19:31:03.413255" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:31:03 +0000 (0:00:00.489) 0:00:55.559 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:31:03 +0000 (0:00:00.051) 0:00:55.610 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:31:03 +0000 (0:00:00.053) 0:00:55.664 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:31:03 +0000 (0:00:00.041) 0:00:55.705 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:31:03 +0000 (0:00:00.041) 0:00:55.746 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:31:04 +0000 (0:00:00.045) 0:00:55.792 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:31:04 +0000 (0:00:00.037) 0:00:55.829 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:31:04 +0000 (0:00:00.034) 0:00:55.863 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:31:04 +0000 (0:00:00.025) 0:00:55.889 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the key file] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:104 Thursday 21 July 2022 19:31:04 +0000 (0:00:00.034) 0:00:55.923 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "path": "/tmp/storage_test5dp708z0lukskey", "state": "absent" } TASK [create a file] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/create-test-file.yml:10 Thursday 21 July 2022 19:31:04 +0000 (0:00:00.571) 0:00:56.494 ********* changed: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/tests_luks_pool.yml:114 Thursday 21 July 2022 19:31:05 +0000 (0:00:00.429) 0:00:56.924 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:31:05 +0000 (0:00:00.039) 0:00:56.964 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:31:05 +0000 (0:00:00.038) 0:00:57.003 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:31:05 +0000 (0:00:00.598) 0:00:57.601 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:31:05 +0000 (0:00:00.066) 0:00:57.668 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:31:05 +0000 (0:00:00.043) 0:00:57.711 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:31:05 +0000 (0:00:00.036) 0:00:57.747 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:31:06 +0000 (0:00:00.063) 0:00:57.811 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:31:06 +0000 (0:00:00.021) 0:00:57.833 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:31:06 +0000 (0:00:00.030) 0:00:57.863 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:31:06 +0000 (0:00:00.040) 0:00:57.903 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:31:06 +0000 (0:00:00.039) 0:00:57.943 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:31:06 +0000 (0:00:00.030) 0:00:57.973 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:31:06 +0000 (0:00:00.032) 0:00:58.005 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:31:06 +0000 (0:00:00.029) 0:00:58.035 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:31:06 +0000 (0:00:00.027) 0:00:58.062 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:31:06 +0000 (0:00:00.058) 0:00:58.121 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:31:06 +0000 (0:00:00.025) 0:00:58.147 ********* fatal: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 19:31:08 +0000 (0:00:02.121) 0:01:00.269 ********* fatal: [/cache/fedora-36.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': ['nvme0n1'], '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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:31:08 +0000 (0:00:00.040) 0:01:00.309 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:132 Thursday 21 July 2022 19:31:08 +0000 (0:00:00.021) 0:01:00.330 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the safe_mode test] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:138 Thursday 21 July 2022 19:31:08 +0000 (0:00:00.076) 0:01:00.406 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-data-preservation.yml:10 Thursday 21 July 2022 19:31:08 +0000 (0:00:00.046) 0:01:00.453 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658431864.8434956, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658431864.8434956, "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": 1658431864.8434956, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "1637215590", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-data-preservation.yml:15 Thursday 21 July 2022 19:31:09 +0000 (0:00:00.471) 0:01:00.924 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Remove the encryption layer] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:145 Thursday 21 July 2022 19:31:09 +0000 (0:00:00.042) 0:01:00.967 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:31:09 +0000 (0:00:00.041) 0:01:01.009 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:31:09 +0000 (0:00:00.064) 0:01:01.073 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:31:09 +0000 (0:00:00.572) 0:01:01.645 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:31:09 +0000 (0:00:00.061) 0:01:01.707 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:31:09 +0000 (0:00:00.035) 0:01:01.743 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:31:10 +0000 (0:00:00.032) 0:01:01.775 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:31:10 +0000 (0:00:00.055) 0:01:01.831 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:31:10 +0000 (0:00:00.021) 0:01:01.852 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:31:10 +0000 (0:00:00.027) 0:01:01.879 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:31:10 +0000 (0:00:00.041) 0:01:01.920 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:31:10 +0000 (0:00:00.037) 0:01:01.958 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:31:10 +0000 (0:00:00.033) 0:01:01.991 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:31:10 +0000 (0:00:00.029) 0:01:02.021 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:31:10 +0000 (0:00:00.028) 0:01:02.050 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:31:10 +0000 (0:00:00.028) 0:01:02.078 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:31:10 +0000 (0:00:00.057) 0:01:02.136 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:31:10 +0000 (0:00:00.021) 0:01:02.157 ********* changed: [/cache/fedora-36.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-ece889c7-622b-471c-8bd0-4dfea5a9e5da", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "luks" }, { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/nvme0n1", "name": "luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da", "password": "-", "state": "absent" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "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": [ "e2fsprogs", "btrfs-progs", "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:31:14 +0000 (0:00:03.699) 0:01:05.857 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:31:14 +0000 (0:00:00.039) 0:01:05.897 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:31:14 +0000 (0:00:00.021) 0:01:05.919 ********* ok: [/cache/fedora-36.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-ece889c7-622b-471c-8bd0-4dfea5a9e5da", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "luks" }, { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/nvme0n1", "name": "luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da", "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/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": [ "e2fsprogs", "btrfs-progs", "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:31:14 +0000 (0:00:00.042) 0:01:05.961 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:31:14 +0000 (0:00:00.076) 0:01:06.038 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:31:14 +0000 (0:00:00.040) 0:01:06.078 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': '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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:31:14 +0000 (0:00:00.464) 0:01:06.543 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:31:15 +0000 (0:00:00.780) 0:01:07.323 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': '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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:31:16 +0000 (0:00:00.466) 0:01:07.789 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:31:16 +0000 (0:00:00.760) 0:01:08.549 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658431848.9774957, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "684fee94eed3cf9967e4656a5b34baabb6234c4a", "ctime": 1658431848.9434958, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36666, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658431848.9424956, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 88, "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:31:17 +0000 (0:00:00.443) 0:01:08.993 ********* changed: [/cache/fedora-36.qcow2.snap] => (item={'backing_device': '/dev/nvme0n1', 'name': 'luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/nvme0n1", "name": "luks-ece889c7-622b-471c-8bd0-4dfea5a9e5da", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:31:17 +0000 (0:00:00.480) 0:01:09.473 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:161 Thursday 21 July 2022 19:31:18 +0000 (0:00:01.003) 0:01:10.477 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:31:18 +0000 (0:00:00.039) 0:01:10.516 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:31:18 +0000 (0:00:00.104) 0:01:10.621 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:31:18 +0000 (0:00:00.044) 0:01:10.666 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "26593a5f-b79b-401f-b0b8-47d7ea299f04" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "WLE2IH-EfVa-NMDh-lFBM-eARX-apU4-0QJlWK" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-29-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:31:19 +0000 (0:00:00.442) 0:01:11.108 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004144", "end": "2022-07-21 19:31:19.484487", "rc": 0, "start": "2022-07-21 19:31:19.480343" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:31:19 +0000 (0:00:00.458) 0:01:11.566 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003416", "end": "2022-07-21 19:31:19.903959", "failed_when_result": false, "rc": 0, "start": "2022-07-21 19:31:19.900543" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:31:20 +0000 (0:00:00.418) 0:01:11.985 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['nvme0n1'], '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/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:31:20 +0000 (0:00:00.062) 0:01:12.047 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:31:20 +0000 (0:00:00.037) 0:01:12.084 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:31:20 +0000 (0:00:00.049) 0:01:12.134 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:31:20 +0000 (0:00:00.053) 0:01:12.187 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:31:20 +0000 (0:00:00.419) 0:01:12.606 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:31:20 +0000 (0:00:00.050) 0:01:12.657 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:31:20 +0000 (0:00:00.051) 0:01:12.709 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.054) 0:01:12.763 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.038) 0:01:12.802 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.051) 0:01:12.854 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.023) 0:01:12.878 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.042) 0:01:12.920 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.040) 0:01:12.961 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.022) 0:01:12.984 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.023) 0:01:13.007 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.022) 0:01:13.030 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.025) 0:01:13.055 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.024) 0:01:13.079 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.026) 0:01:13.106 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.025) 0:01:13.132 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.068) 0:01:13.200 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.073) 0:01:13.274 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.046) 0:01:13.321 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.031) 0:01:13.352 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.027) 0:01:13.380 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.029) 0:01:13.410 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.046) 0:01:13.457 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.044) 0:01:13.502 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.024) 0:01:13.526 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.025) 0:01:13.551 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.025) 0:01:13.577 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.026) 0:01:13.603 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.050) 0:01:13.654 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.050) 0:01:13.704 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:31:21 +0000 (0:00:00.028) 0:01:13.733 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.045) 0:01:13.778 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.050) 0:01:13.829 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.050) 0:01:13.879 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.038) 0:01:13.917 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.035) 0:01:13.953 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.035) 0:01:13.988 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.036) 0:01:14.024 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.039) 0:01:14.064 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.049) 0:01:14.113 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.046) 0:01:14.160 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.025) 0:01:14.185 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.026) 0:01:14.211 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.026) 0:01:14.238 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.025) 0:01:14.264 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.025) 0:01:14.289 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.027) 0:01:14.317 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.027) 0:01:14.345 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.043) 0:01:14.389 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.072) 0:01:14.461 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.079) 0:01:14.541 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.051) 0:01:14.592 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.082) 0:01:14.675 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:31:22 +0000 (0:00:00.040) 0:01:14.715 ********* ok: [/cache/fedora-36.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": "26593a5f-b79b-401f-b0b8-47d7ea299f04" } ], "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": "26593a5f-b79b-401f-b0b8-47d7ea299f04" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:31:23 +0000 (0:00:00.055) 0:01:14.771 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:31:23 +0000 (0:00:00.053) 0:01:14.825 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:31:23 +0000 (0:00:00.051) 0:01:14.876 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:31:23 +0000 (0:00:00.064) 0:01:14.940 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:31:23 +0000 (0:00:00.032) 0:01:14.972 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:31:23 +0000 (0:00:00.024) 0:01:14.997 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:31:23 +0000 (0:00:00.023) 0:01:15.020 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:31:23 +0000 (0:00:00.035) 0:01:15.056 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:31:23 +0000 (0:00:00.063) 0:01:15.120 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:31:23 +0000 (0:00:00.053) 0:01:15.173 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:31:23 +0000 (0:00:00.049) 0:01:15.222 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:31:23 +0000 (0:00:00.034) 0:01:15.256 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:31:23 +0000 (0:00:00.035) 0:01:15.291 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:31:23 +0000 (0:00:00.040) 0:01:15.332 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:31:23 +0000 (0:00:00.040) 0:01:15.373 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658431877.3894956, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658431873.7104957, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1196, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658431873.7104957, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:31:24 +0000 (0:00:00.441) 0:01:15.815 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:31:24 +0000 (0:00:00.042) 0:01:15.857 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:31:24 +0000 (0:00:00.042) 0:01:15.899 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:31:24 +0000 (0:00:00.037) 0:01:15.936 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:31:24 +0000 (0:00:00.025) 0:01:15.962 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:31:24 +0000 (0:00:00.043) 0:01:16.006 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:31:24 +0000 (0:00:00.027) 0:01:16.033 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:31:26 +0000 (0:00:02.052) 0:01:18.085 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.024) 0:01:18.110 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.023) 0:01:18.134 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.053) 0:01:18.188 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.025) 0:01:18.213 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.024) 0:01:18.238 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.023) 0:01:18.261 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.023) 0:01:18.285 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.023) 0:01:18.309 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.061) 0:01:18.371 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.061) 0:01:18.433 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.046) 0:01:18.480 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.039) 0:01:18.520 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.034) 0:01:18.555 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.033) 0:01:18.588 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.038) 0:01:18.626 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.042) 0:01:18.669 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.036) 0:01:18.705 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:31:26 +0000 (0:00:00.037) 0:01:18.742 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:31:27 +0000 (0:00:00.037) 0:01:18.780 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:31:27 +0000 (0:00:00.039) 0:01:18.820 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:31:27 +0000 (0:00:00.035) 0:01:18.856 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:31:27 +0000 (0:00:00.429) 0:01:19.285 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:31:27 +0000 (0:00:00.427) 0:01:19.712 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:31:28 +0000 (0:00:00.119) 0:01:19.832 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:31:28 +0000 (0:00:00.036) 0:01:19.869 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:31:28 +0000 (0:00:00.035) 0:01:19.905 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:31:28 +0000 (0:00:00.036) 0:01:19.942 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:31:28 +0000 (0:00:00.035) 0:01:19.977 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:31:28 +0000 (0:00:00.037) 0:01:20.015 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:31:28 +0000 (0:00:00.038) 0:01:20.053 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:31:28 +0000 (0:00:00.072) 0:01:20.125 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:31:28 +0000 (0:00:00.036) 0:01:20.162 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:31:28 +0000 (0:00:00.092) 0:01:20.254 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.043579", "end": "2022-07-21 19:31:28.650620", "rc": 0, "start": "2022-07-21 19:31:28.607041" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:31:28 +0000 (0:00:00.479) 0:01:20.734 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:31:29 +0000 (0:00:00.051) 0:01:20.786 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:31:29 +0000 (0:00:00.054) 0:01:20.841 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:31:29 +0000 (0:00:00.047) 0:01:20.888 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:31:29 +0000 (0:00:00.044) 0:01:20.933 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:31:29 +0000 (0:00:00.040) 0:01:20.973 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:31:29 +0000 (0:00:00.041) 0:01:21.015 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:31:29 +0000 (0:00:00.041) 0:01:21.056 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:31:29 +0000 (0:00:00.024) 0:01:21.081 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [create a file] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/create-test-file.yml:10 Thursday 21 July 2022 19:31:29 +0000 (0:00:00.035) 0:01:21.117 ********* changed: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/tests_luks_pool.yml:167 Thursday 21 July 2022 19:31:29 +0000 (0:00:00.439) 0:01:21.556 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:31:29 +0000 (0:00:00.042) 0:01:21.599 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:31:29 +0000 (0:00:00.039) 0:01:21.638 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:31:30 +0000 (0:00:00.602) 0:01:22.240 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:31:30 +0000 (0:00:00.065) 0:01:22.306 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:31:30 +0000 (0:00:00.036) 0:01:22.342 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:31:30 +0000 (0:00:00.038) 0:01:22.381 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:31:30 +0000 (0:00:00.057) 0:01:22.438 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:31:30 +0000 (0:00:00.022) 0:01:22.461 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:31:30 +0000 (0:00:00.028) 0:01:22.489 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:31:30 +0000 (0:00:00.083) 0:01:22.573 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:31:30 +0000 (0:00:00.072) 0:01:22.646 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:31:30 +0000 (0:00:00.029) 0:01:22.675 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:31:30 +0000 (0:00:00.028) 0:01:22.704 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:31:30 +0000 (0:00:00.028) 0:01:22.732 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:31:31 +0000 (0:00:00.070) 0:01:22.802 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:31:31 +0000 (0:00:00.061) 0:01:22.864 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:31:31 +0000 (0:00:00.022) 0:01:22.886 ********* fatal: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 19:31:33 +0000 (0:00:02.212) 0:01:25.099 ********* fatal: [/cache/fedora-36.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': ['nvme0n1'], '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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:31:33 +0000 (0:00:00.042) 0:01:25.142 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:188 Thursday 21 July 2022 19:31:33 +0000 (0:00:00.021) 0:01:25.164 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the safe_mode test] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:194 Thursday 21 July 2022 19:31:33 +0000 (0:00:00.038) 0:01:25.203 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-data-preservation.yml:10 Thursday 21 July 2022 19:31:33 +0000 (0:00:00.053) 0:01:25.256 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658431889.4724958, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658431889.4724958, "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": 1658431889.4724958, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "351480724", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-data-preservation.yml:15 Thursday 21 July 2022 19:31:33 +0000 (0:00:00.426) 0:01:25.682 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add encryption to the pool] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:201 Thursday 21 July 2022 19:31:33 +0000 (0:00:00.039) 0:01:25.722 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:31:34 +0000 (0:00:00.045) 0:01:25.767 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:31:34 +0000 (0:00:00.037) 0:01:25.804 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:31:34 +0000 (0:00:00.578) 0:01:26.383 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:31:34 +0000 (0:00:00.065) 0:01:26.448 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:31:34 +0000 (0:00:00.034) 0:01:26.483 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:31:34 +0000 (0:00:00.035) 0:01:26.518 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:31:34 +0000 (0:00:00.065) 0:01:26.584 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:31:34 +0000 (0:00:00.022) 0:01:26.607 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:31:34 +0000 (0:00:00.028) 0:01:26.635 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:31:34 +0000 (0:00:00.072) 0:01:26.708 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:31:35 +0000 (0:00:00.072) 0:01:26.780 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:31:35 +0000 (0:00:00.030) 0:01:26.811 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:31:35 +0000 (0:00:00.031) 0:01:26.843 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:31:35 +0000 (0:00:00.027) 0:01:26.870 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:31:35 +0000 (0:00:00.061) 0:01:26.932 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:31:35 +0000 (0:00:00.056) 0:01:26.988 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:31:35 +0000 (0:00:00.024) 0:01:27.012 ********* changed: [/cache/fedora-36.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/nvme0n1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88", "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/nvme0n1", "name": "luks-622bb80e-eadd-4b03-8b30-f75008480a88", "password": "-", "state": "present" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "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": [ "cryptsetup", "lvm2", "e2fsprogs", "dosfstools", "btrfs-progs", "xfsprogs" ], "pools": [ { "disks": [ "nvme0n1" ], "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:31:44 +0000 (0:00:09.397) 0:01:36.410 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:31:44 +0000 (0:00:00.036) 0:01:36.447 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:31:44 +0000 (0:00:00.022) 0:01:36.470 ********* ok: [/cache/fedora-36.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/nvme0n1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88", "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/nvme0n1", "name": "luks-622bb80e-eadd-4b03-8b30-f75008480a88", "password": "-", "state": "present" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "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": [ "cryptsetup", "lvm2", "e2fsprogs", "dosfstools", "btrfs-progs", "xfsprogs" ], "pools": [ { "disks": [ "nvme0n1" ], "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:31:44 +0000 (0:00:00.040) 0:01:36.510 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:31:44 +0000 (0:00:00.037) 0:01:36.548 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:31:44 +0000 (0:00:00.036) 0:01:36.584 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': '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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:31:45 +0000 (0:00:00.430) 0:01:37.015 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:31:46 +0000 (0:00:00.789) 0:01:37.805 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': '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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:31:46 +0000 (0:00:00.511) 0:01:38.317 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:31:47 +0000 (0:00:00.753) 0:01:39.071 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658431879.9024956, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658431877.3734958, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36726, "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": 1658431877.3714957, "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:31:47 +0000 (0:00:00.420) 0:01:39.491 ********* changed: [/cache/fedora-36.qcow2.snap] => (item={'backing_device': '/dev/nvme0n1', 'name': 'luks-622bb80e-eadd-4b03-8b30-f75008480a88', 'password': '-', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/nvme0n1", "name": "luks-622bb80e-eadd-4b03-8b30-f75008480a88", "password": "-", "state": "present" } } MSG: line added TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:31:48 +0000 (0:00:00.446) 0:01:39.938 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:220 Thursday 21 July 2022 19:31:49 +0000 (0:00:01.032) 0:01:40.971 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:31:49 +0000 (0:00:00.039) 0:01:41.011 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:31:49 +0000 (0:00:00.095) 0:01:41.106 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:31:49 +0000 (0:00:00.038) 0:01:41.145 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "b542fe34-2798-42ff-9c2a-963705acbdc9" }, "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88", "size": "10G", "type": "crypt", "uuid": "77cV9S-mrrB-WGv8-cXGp-nJst-anzg-ZXAv0F" }, "/dev/nvme0n1": { "fstype": "crypto_LUKS", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "622bb80e-eadd-4b03-8b30-f75008480a88" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-29-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:31:49 +0000 (0:00:00.423) 0:01:41.568 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003289", "end": "2022-07-21 19:31:49.908283", "rc": 0, "start": "2022-07-21 19:31:49.904994" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:31:50 +0000 (0:00:00.426) 0:01:41.994 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003523", "end": "2022-07-21 19:31:50.342004", "failed_when_result": false, "rc": 0, "start": "2022-07-21 19:31:50.338481" } STDOUT: luks-622bb80e-eadd-4b03-8b30-f75008480a88 /dev/nvme0n1 - TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:31:50 +0000 (0:00:00.427) 0:01:42.422 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['nvme0n1'], '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/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:31:50 +0000 (0:00:00.060) 0:01:42.482 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:31:50 +0000 (0:00:00.038) 0:01:42.520 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:31:50 +0000 (0:00:00.047) 0:01:42.568 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:31:50 +0000 (0:00:00.058) 0:01:42.626 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88", "pv": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.413) 0:01:43.040 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.052) 0:01:43.093 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.052) 0:01:43.145 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.051) 0:01:43.197 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.038) 0:01:43.235 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.024) 0:01:43.259 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.022) 0:01:43.282 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.041) 0:01:43.324 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.044) 0:01:43.368 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.026) 0:01:43.394 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.025) 0:01:43.420 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.027) 0:01:43.448 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.075) 0:01:43.523 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.027) 0:01:43.550 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.024) 0:01:43.575 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.023) 0:01:43.598 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.036) 0:01:43.635 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.044) 0:01:43.679 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:31:51 +0000 (0:00:00.046) 0:01:43.725 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.030) 0:01:43.756 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.030) 0:01:43.787 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.036) 0:01:43.824 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.053) 0:01:43.878 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.065) 0:01:43.943 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.027) 0:01:43.971 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.025) 0:01:43.997 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.025) 0:01:44.022 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.031) 0:01:44.053 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.064) 0:01:44.118 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.060) 0:01:44.179 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml for /cache/fedora-36.qcow2.snap => (item=/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88) TASK [Get the backing device path] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 19:31:52 +0000 (0:00:00.047) 0:01:44.226 ********* changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/622bb80e-eadd-4b03-8b30-f75008480a88" ], "delta": "0:00:01.004448", "end": "2022-07-21 19:31:53.579492", "rc": 0, "start": "2022-07-21 19:31:52.575044" } STDOUT: /dev/nvme0n1 TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 19:31:53 +0000 (0:00:01.435) 0:01:45.662 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 19:31:55 +0000 (0:00:02.053) 0:01:47.715 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/nvme0n1" ], "delta": "0:00:00.015470", "end": "2022-07-21 19:31:56.073169", "rc": 0, "start": "2022-07-21 19:31:56.057699" } STDOUT: LUKS header information for /dev/nvme0n1 Version: 1 Cipher name: serpent Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: 5a 57 c5 f2 43 ff 0e 24 61 35 f7 9e d7 a5 08 5c a4 34 6f b0 MK salt: c0 8c 52 61 0f 73 f0 80 83 25 b6 f6 f0 c4 96 c0 f8 41 c8 dd 84 ce a8 12 6f 73 5e 65 66 95 81 55 MK iterations: 107084 UUID: 622bb80e-eadd-4b03-8b30-f75008480a88 Key Slot 0: ENABLED Iterations: 1710564 Salt: e5 42 e7 7a 8b c1 71 32 10 3e d4 db 83 fd d9 ea e7 7c d7 80 c2 ec f1 7b a4 90 d9 da 18 f6 b0 5f 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/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.444) 0:01:48.159 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.052) 0:01:48.212 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.056) 0:01:48.268 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.056) 0:01:48.325 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.049) 0:01:48.374 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-622bb80e-eadd-4b03-8b30-f75008480a88 /dev/nvme0n1 -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.051) 0:01:48.426 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.053) 0:01:48.479 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.056) 0:01:48.536 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.035) 0:01:48.571 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.049) 0:01:48.621 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.034) 0:01:48.656 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.040) 0:01:48.697 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:31:56 +0000 (0:00:00.049) 0:01:48.746 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.053) 0:01:48.799 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.030) 0:01:48.830 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.024) 0:01:48.855 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.025) 0:01:48.881 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.023) 0:01:48.905 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.025) 0:01:48.930 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.026) 0:01:48.957 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.027) 0:01:48.985 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.033) 0:01:49.018 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.084) 0:01:49.103 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.085) 0:01:49.189 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.051) 0:01:49.240 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.088) 0:01:49.329 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.040) 0:01:49.370 ********* ok: [/cache/fedora-36.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": "b542fe34-2798-42ff-9c2a-963705acbdc9" } ], "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": "b542fe34-2798-42ff-9c2a-963705acbdc9" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.055) 0:01:49.425 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.047) 0:01:49.473 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.047) 0:01:49.521 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.050) 0:01:49.572 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.023) 0:01:49.595 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.026) 0:01:49.622 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.025) 0:01:49.647 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.040) 0:01:49.688 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:31:57 +0000 (0:00:00.059) 0:01:49.748 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:31:58 +0000 (0:00:00.048) 0:01:49.796 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:31:58 +0000 (0:00:00.054) 0:01:49.851 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:31:58 +0000 (0:00:00.035) 0:01:49.886 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:31:58 +0000 (0:00:00.036) 0:01:49.922 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:31:58 +0000 (0:00:00.041) 0:01:49.964 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:31:58 +0000 (0:00:00.045) 0:01:50.010 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658431907.8564956, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658431904.2564957, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1420, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658431904.2564957, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:31:58 +0000 (0:00:00.435) 0:01:50.445 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:31:58 +0000 (0:00:00.041) 0:01:50.487 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:31:58 +0000 (0:00:00.039) 0:01:50.526 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:31:58 +0000 (0:00:00.038) 0:01:50.564 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:31:58 +0000 (0:00:00.033) 0:01:50.598 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:31:58 +0000 (0:00:00.047) 0:01:50.645 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:31:58 +0000 (0:00:00.025) 0:01:50.671 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:32:00 +0000 (0:00:01.781) 0:01:52.452 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:32:00 +0000 (0:00:00.026) 0:01:52.478 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:32:00 +0000 (0:00:00.026) 0:01:52.505 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:32:00 +0000 (0:00:00.053) 0:01:52.558 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:32:00 +0000 (0:00:00.027) 0:01:52.586 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:32:00 +0000 (0:00:00.026) 0:01:52.613 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:32:00 +0000 (0:00:00.026) 0:01:52.639 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:32:00 +0000 (0:00:00.025) 0:01:52.665 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:32:00 +0000 (0:00:00.027) 0:01:52.693 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.058) 0:01:52.751 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.052) 0:01:52.804 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.037) 0:01:52.842 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.036) 0:01:52.878 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.038) 0:01:52.916 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.038) 0:01:52.954 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.041) 0:01:52.996 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.044) 0:01:53.040 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.045) 0:01:53.086 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.038) 0:01:53.125 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.043) 0:01:53.168 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.036) 0:01:53.205 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.037) 0:01:53.242 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:32:01 +0000 (0:00:00.397) 0:01:53.640 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.428) 0:01:54.069 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.050) 0:01:54.120 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.038) 0:01:54.158 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.037) 0:01:54.195 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.039) 0:01:54.234 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.036) 0:01:54.271 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.073) 0:01:54.345 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.037) 0:01:54.382 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.037) 0:01:54.420 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.041) 0:01:54.462 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:32:02 +0000 (0:00:00.050) 0:01:54.513 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.051743", "end": "2022-07-21 19:32:02.899124", "rc": 0, "start": "2022-07-21 19:32:02.847381" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:32:03 +0000 (0:00:00.475) 0:01:54.988 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:32:03 +0000 (0:00:00.050) 0:01:55.038 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:32:03 +0000 (0:00:00.051) 0:01:55.090 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:32:03 +0000 (0:00:00.040) 0:01:55.130 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:32:03 +0000 (0:00:00.040) 0:01:55.170 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:32:03 +0000 (0:00:00.035) 0:01:55.206 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:32:03 +0000 (0:00:00.035) 0:01:55.242 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:32:03 +0000 (0:00:00.033) 0:01:55.275 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:32:03 +0000 (0:00:00.033) 0:01:55.309 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [create a file] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/create-test-file.yml:10 Thursday 21 July 2022 19:32:03 +0000 (0:00:00.038) 0:01:55.347 ********* changed: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/tests_luks_pool.yml:224 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.425) 0:01:55.773 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.049) 0:01:55.823 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.037) 0:01:55.860 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.603) 0:01:56.464 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.112) 0:01:56.577 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.039) 0:01:56.616 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.042) 0:01:56.659 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:32:04 +0000 (0:00:00.060) 0:01:56.720 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.071) 0:01:56.792 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.031) 0:01:56.824 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test2", "name": "test1" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.039) 0:01:56.864 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.037) 0:01:56.902 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.035) 0:01:56.937 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.041) 0:01:56.978 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.031) 0:01:57.010 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.030) 0:01:57.040 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.058) 0:01:57.099 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:32:05 +0000 (0:00:00.025) 0:01:57.124 ********* ok: [/cache/fedora-36.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "cryptsetup", "lvm2", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "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": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:32:07 +0000 (0:00:02.192) 0:01:59.317 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:32:07 +0000 (0:00:00.038) 0:01:59.355 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:32:07 +0000 (0:00:00.022) 0:01:59.378 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "cryptsetup", "lvm2", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "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": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:32:07 +0000 (0:00:00.044) 0:01:59.422 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:32:07 +0000 (0:00:00.038) 0:01:59.461 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:32:07 +0000 (0:00:00.037) 0:01:59.499 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:32:08 +0000 (0:00:00.496) 0:01:59.996 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:32:09 +0000 (0:00:00.811) 0:02:00.807 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:32:09 +0000 (0:00:00.474) 0:02:01.282 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:32:10 +0000 (0:00:00.778) 0:02:02.061 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658431907.8724957, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ba386b3329d5e629d11ca67e4be87e06902c51e3", "ctime": 1658431907.8464956, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36778, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658431907.8454957, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 57, "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:32:10 +0000 (0:00:00.426) 0:02:02.488 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:32:10 +0000 (0:00:00.025) 0:02:02.513 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [Assert to implicitly preserve encryption on existing pool] *************** task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:236 Thursday 21 July 2022 19:32:11 +0000 (0:00:01.043) 0:02:03.556 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-data-preservation.yml:10 Thursday 21 July 2022 19:32:11 +0000 (0:00:00.103) 0:02:03.660 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658431923.6934958, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658431923.6934958, "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": 1658431923.6934958, "nlink": 1, "path": "/opt/test2/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "804967249", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-data-preservation.yml:15 Thursday 21 July 2022 19:32:12 +0000 (0:00:00.460) 0:02:04.120 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:245 Thursday 21 July 2022 19:32:12 +0000 (0:00:00.043) 0:02:04.164 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:32:12 +0000 (0:00:00.043) 0:02:04.208 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "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": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:32:12 +0000 (0:00:00.053) 0:02:04.262 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:32:12 +0000 (0:00:00.036) 0:02:04.298 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "b542fe34-2798-42ff-9c2a-963705acbdc9" }, "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88", "size": "10G", "type": "crypt", "uuid": "77cV9S-mrrB-WGv8-cXGp-nJst-anzg-ZXAv0F" }, "/dev/nvme0n1": { "fstype": "crypto_LUKS", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "622bb80e-eadd-4b03-8b30-f75008480a88" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-29-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:32:12 +0000 (0:00:00.423) 0:02:04.721 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003446", "end": "2022-07-21 19:32:13.052842", "rc": 0, "start": "2022-07-21 19:32:13.049396" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.413) 0:02:05.135 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003725", "end": "2022-07-21 19:32:13.468345", "failed_when_result": false, "rc": 0, "start": "2022-07-21 19:32:13.464620" } STDOUT: luks-622bb80e-eadd-4b03-8b30-f75008480a88 /dev/nvme0n1 - TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.414) 0:02:05.549 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['nvme0n1'], '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.058) 0:02:05.608 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.033) 0:02:05.642 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:32:13 +0000 (0:00:00.047) 0:02:05.689 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.061) 0:02:05.751 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88", "pv": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.424) 0:02:06.175 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.091) 0:02:06.266 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.104) 0:02:06.371 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.099) 0:02:06.470 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.105) 0:02:06.576 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.026) 0:02:06.603 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.024) 0:02:06.627 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.042) 0:02:06.670 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.042) 0:02:06.713 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:32:14 +0000 (0:00:00.023) 0:02:06.736 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.025) 0:02:06.762 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.027) 0:02:06.790 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.028) 0:02:06.818 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.028) 0:02:06.847 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.026) 0:02:06.873 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.027) 0:02:06.901 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.036) 0:02:06.938 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.049) 0:02:06.987 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.046) 0:02:07.034 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.030) 0:02:07.064 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.031) 0:02:07.096 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.028) 0:02:07.124 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.046) 0:02:07.170 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.045) 0:02:07.216 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.024) 0:02:07.240 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.022) 0:02:07.263 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.023) 0:02:07.287 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.023) 0:02:07.310 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.048) 0:02:07.359 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.051) 0:02:07.411 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml for /cache/fedora-36.qcow2.snap => (item=/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88) TASK [Get the backing device path] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 19:32:15 +0000 (0:00:00.045) 0:02:07.456 ********* changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/622bb80e-eadd-4b03-8b30-f75008480a88" ], "delta": "0:00:01.004683", "end": "2022-07-21 19:32:16.809139", "rc": 0, "start": "2022-07-21 19:32:15.804456" } STDOUT: /dev/nvme0n1 TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 19:32:17 +0000 (0:00:01.434) 0:02:08.891 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 19:32:19 +0000 (0:00:02.033) 0:02:10.925 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/nvme0n1" ], "delta": "0:00:00.029191", "end": "2022-07-21 19:32:19.287247", "rc": 0, "start": "2022-07-21 19:32:19.258056" } STDOUT: LUKS header information for /dev/nvme0n1 Version: 1 Cipher name: serpent Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: 5a 57 c5 f2 43 ff 0e 24 61 35 f7 9e d7 a5 08 5c a4 34 6f b0 MK salt: c0 8c 52 61 0f 73 f0 80 83 25 b6 f6 f0 c4 96 c0 f8 41 c8 dd 84 ce a8 12 6f 73 5e 65 66 95 81 55 MK iterations: 107084 UUID: 622bb80e-eadd-4b03-8b30-f75008480a88 Key Slot 0: ENABLED Iterations: 1710564 Salt: e5 42 e7 7a 8b c1 71 32 10 3e d4 db 83 fd d9 ea e7 7c d7 80 c2 ec f1 7b a4 90 d9 da 18 f6 b0 5f 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/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 19:32:19 +0000 (0:00:00.445) 0:02:11.370 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 19:32:19 +0000 (0:00:00.051) 0:02:11.421 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 19:32:19 +0000 (0:00:00.023) 0:02:11.445 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:32:19 +0000 (0:00:00.023) 0:02:11.468 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:32:19 +0000 (0:00:00.057) 0:02:11.526 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-622bb80e-eadd-4b03-8b30-f75008480a88 /dev/nvme0n1 -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:32:19 +0000 (0:00:00.053) 0:02:11.579 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:32:19 +0000 (0:00:00.051) 0:02:11.630 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:32:19 +0000 (0:00:00.056) 0:02:11.687 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:32:19 +0000 (0:00:00.040) 0:02:11.727 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.055) 0:02:11.783 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.037) 0:02:11.821 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.036) 0:02:11.858 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.047) 0:02:11.905 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.049) 0:02:11.954 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.027) 0:02:11.981 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.025) 0:02:12.007 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.026) 0:02:12.034 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.025) 0:02:12.060 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.024) 0:02:12.084 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.025) 0:02:12.110 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.027) 0:02:12.137 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.088) 0:02:12.226 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.037) 0:02:12.263 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.047) 0:02:12.311 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.049) 0:02:12.360 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.084) 0:02:12.444 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.044) 0:02:12.489 ********* ok: [/cache/fedora-36.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": "b542fe34-2798-42ff-9c2a-963705acbdc9" } ], "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": "b542fe34-2798-42ff-9c2a-963705acbdc9" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.060) 0:02:12.550 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.054) 0:02:12.604 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.056) 0:02:12.660 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.053) 0:02:12.714 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:32:20 +0000 (0:00:00.023) 0:02:12.738 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.025) 0:02:12.763 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.026) 0:02:12.789 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.039) 0:02:12.828 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.062) 0:02:12.891 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.050) 0:02:12.941 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.051) 0:02:12.993 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.037) 0:02:13.031 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.037) 0:02:13.069 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.039) 0:02:13.109 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.042) 0:02:13.151 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658431929.1924956, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658431904.2564957, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1420, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658431904.2564957, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.457) 0:02:13.608 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.041) 0:02:13.650 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.039) 0:02:13.690 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:32:21 +0000 (0:00:00.038) 0:02:13.728 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.025) 0:02:13.754 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.042) 0:02:13.796 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:32:22 +0000 (0:00:00.028) 0:02:13.825 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:32:23 +0000 (0:00:01.871) 0:02:15.696 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:32:23 +0000 (0:00:00.025) 0:02:15.722 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:32:23 +0000 (0:00:00.024) 0:02:15.746 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.052) 0:02:15.799 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.023) 0:02:15.823 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.023) 0:02:15.847 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.025) 0:02:15.873 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.026) 0:02:15.900 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.025) 0:02:15.926 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.056) 0:02:15.982 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.053) 0:02:16.036 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.035) 0:02:16.072 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.034) 0:02:16.106 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.034) 0:02:16.141 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.037) 0:02:16.178 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.037) 0:02:16.216 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.037) 0:02:16.254 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.037) 0:02:16.291 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.040) 0:02:16.332 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.040) 0:02:16.373 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.047) 0:02:16.420 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:32:24 +0000 (0:00:00.037) 0:02:16.458 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.431) 0:02:16.890 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.433) 0:02:17.324 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.052) 0:02:17.376 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.039) 0:02:17.416 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.036) 0:02:17.452 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.041) 0:02:17.494 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.037) 0:02:17.532 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.039) 0:02:17.571 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.042) 0:02:17.613 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.042) 0:02:17.655 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:32:25 +0000 (0:00:00.036) 0:02:17.692 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:32:26 +0000 (0:00:00.094) 0:02:17.787 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.044632", "end": "2022-07-21 19:32:26.169996", "rc": 0, "start": "2022-07-21 19:32:26.125364" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:32:26 +0000 (0:00:00.466) 0:02:18.253 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:32:26 +0000 (0:00:00.087) 0:02:18.341 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:32:26 +0000 (0:00:00.055) 0:02:18.396 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:32:26 +0000 (0:00:00.037) 0:02:18.434 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:32:26 +0000 (0:00:00.036) 0:02:18.470 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:32:26 +0000 (0:00:00.070) 0:02:18.540 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:32:26 +0000 (0:00:00.037) 0:02:18.578 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:32:26 +0000 (0:00:00.033) 0:02:18.611 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:32:26 +0000 (0:00:00.020) 0:02:18.632 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:247 Thursday 21 July 2022 19:32:26 +0000 (0:00:00.035) 0:02:18.668 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:32:26 +0000 (0:00:00.051) 0:02:18.720 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.040) 0:02:18.760 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.611) 0:02:19.372 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.072) 0:02:19.445 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.037) 0:02:19.482 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.035) 0:02:19.518 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.059) 0:02:19.577 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.021) 0:02:19.598 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.028) 0:02:19.627 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.040) 0:02:19.667 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": [ { "disks": [ "nvme0n1" ], "name": "foo", "state": "absent", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.045) 0:02:19.713 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:32:27 +0000 (0:00:00.031) 0:02:19.744 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:32:28 +0000 (0:00:00.031) 0:02:19.775 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:32:28 +0000 (0:00:00.031) 0:02:19.807 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:32:28 +0000 (0:00:00.035) 0:02:19.843 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:32:28 +0000 (0:00:00.062) 0:02:19.906 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:32:28 +0000 (0:00:00.024) 0:02:19.930 ********* changed: [/cache/fedora-36.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-622bb80e-eadd-4b03-8b30-f75008480a88", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/nvme0n1", "name": "luks-622bb80e-eadd-4b03-8b30-f75008480a88", "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-622bb80e-eadd-4b03-8b30-f75008480a88", "_mount_id": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88", "_raw_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:32:31 +0000 (0:00:03.095) 0:02:23.026 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.041) 0:02:23.067 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.024) 0:02:23.091 ********* ok: [/cache/fedora-36.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-622bb80e-eadd-4b03-8b30-f75008480a88", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88", "fs_type": null }, { "action": "destroy format", "device": "/dev/nvme0n1", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/nvme0n1", "name": "luks-622bb80e-eadd-4b03-8b30-f75008480a88", "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-622bb80e-eadd-4b03-8b30-f75008480a88", "_mount_id": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88", "_raw_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.095) 0:02:23.187 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.085) 0:02:23.273 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88", "_mount_id": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88", "_raw_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:32:31 +0000 (0:00:00.041) 0:02:23.314 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.447) 0:02:23.762 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.781) 0:02:24.544 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:32:32 +0000 (0:00:00.040) 0:02:24.585 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:32:33 +0000 (0:00:00.779) 0:02:25.364 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658431907.8724957, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ba386b3329d5e629d11ca67e4be87e06902c51e3", "ctime": 1658431907.8464956, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36778, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658431907.8454957, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 57, "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.479) 0:02:25.844 ********* changed: [/cache/fedora-36.qcow2.snap] => (item={'backing_device': '/dev/nvme0n1', 'name': 'luks-622bb80e-eadd-4b03-8b30-f75008480a88', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/nvme0n1", "name": "luks-622bb80e-eadd-4b03-8b30-f75008480a88", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:32:34 +0000 (0:00:00.452) 0:02:26.296 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_luks_pool.yml:257 Thursday 21 July 2022 19:32:35 +0000 (0:00:01.035) 0:02:27.332 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:32:35 +0000 (0:00:00.048) 0:02:27.381 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:32:35 +0000 (0:00:00.038) 0:02:27.420 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88", "_mount_id": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88", "_raw_device": "/dev/nvme0n1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "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/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:32:35 +0000 (0:00:00.087) 0:02:27.507 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-29-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:32:36 +0000 (0:00:00.435) 0:02:27.943 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003348", "end": "2022-07-21 19:32:36.312236", "rc": 0, "start": "2022-07-21 19:32:36.308888" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:32:36 +0000 (0:00:00.450) 0:02:28.393 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003333", "end": "2022-07-21 19:32:36.722791", "failed_when_result": false, "rc": 0, "start": "2022-07-21 19:32:36.719458" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.414) 0:02:28.807 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.025) 0:02:28.833 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.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': ['nvme0n1'], '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-622bb80e-eadd-4b03-8b30-f75008480a88', '_raw_device': '/dev/nvme0n1', '_mount_id': '/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.062) 0:02:28.895 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.067) 0:02:28.963 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.079) 0:02:29.042 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/luks-622bb80e-eadd-4b03-8b30-f75008480a88" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.043) 0:02:29.085 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.054) 0:02:29.139 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.023) 0:02:29.163 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.053) 0:02:29.216 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.035) 0:02:29.252 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.025) 0:02:29.277 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.024) 0:02:29.302 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.025) 0:02:29.328 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.034) 0:02:29.363 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.058) 0:02:29.422 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.021) 0:02:29.444 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.048) 0:02:29.493 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.037) 0:02:29.530 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.037) 0:02:29.567 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.025) 0:02:29.592 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:32:37 +0000 (0:00:00.026) 0:02:29.619 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658431950.8654957, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658431950.8654957, "dev": 5, "device_type": 66304, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 367, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658431950.8654957, "nlink": 1, "path": "/dev/nvme0n1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:32:38 +0000 (0:00:00.436) 0:02:30.055 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:32:38 +0000 (0:00:00.113) 0:02:30.169 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:32:38 +0000 (0:00:00.026) 0:02:30.195 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:32:38 +0000 (0:00:00.039) 0:02:30.234 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:32:38 +0000 (0:00:00.026) 0:02:30.261 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:32:38 +0000 (0:00:00.025) 0:02:30.286 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:32:38 +0000 (0:00:00.431) 0:02:30.717 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:32:41 +0000 (0:00:02.032) 0:02:32.750 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.035) 0:02:32.785 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.046) 0:02:32.832 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.025) 0:02:32.857 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.023) 0:02:32.880 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.022) 0:02:32.903 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.022) 0:02:32.926 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.023) 0:02:32.950 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.022) 0:02:32.973 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.052) 0:02:33.025 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.056) 0:02:33.081 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.041) 0:02:33.123 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.037) 0:02:33.160 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.035) 0:02:33.196 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.036) 0:02:33.232 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.035) 0:02:33.267 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.037) 0:02:33.304 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.039) 0:02:33.344 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.041) 0:02:33.386 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.038) 0:02:33.424 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.040) 0:02:33.464 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.041) 0:02:33.505 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.027) 0:02:33.533 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.038) 0:02:33.572 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.039) 0:02:33.611 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.078) 0:02:33.690 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:32:41 +0000 (0:00:00.037) 0:02:33.727 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.039) 0:02:33.766 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.039) 0:02:33.806 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.038) 0:02:33.844 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.075) 0:02:33.920 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.037) 0:02:33.958 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.038) 0:02:33.996 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.026) 0:02:34.023 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.024) 0:02:34.047 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.025) 0:02:34.073 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.026) 0:02:34.100 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.027) 0:02:34.127 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.025) 0:02:34.152 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.026) 0:02:34.178 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.026) 0:02:34.205 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.037) 0:02:34.242 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=542 changed=22 unreachable=0 failed=3 skipped=371 rescued=3 ignored=0 Thursday 21 July 2022 19:32:42 +0000 (0:00:00.046) 0:02:34.288 ********* =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state -- 10.94s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 9.40s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 3.70s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 3.10s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : make sure blivet is available ------- 2.63s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Find unused disks in the system ----------------------------------------- 2.56s /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml:2 -------------------------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.21s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : get service facts ------------------- 2.20s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.19s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.12s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 2.05s /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:6 ------------ Ensure cryptsetup is present -------------------------------------------- 2.05s /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 2.03s /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:6 ------------ Ensure cryptsetup is present -------------------------------------------- 2.03s /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : get required packages --------------- 2.01s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Ensure cryptsetup is present -------------------------------------------- 2.00s /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : make sure required packages are installed --- 1.99s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 1.97s /tmp/tmppde4z2jm/tests/storage/verify-pool-member-encryption.yml:6 ------------ Ensure cryptsetup is present -------------------------------------------- 1.87s /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : make sure required packages are installed --- 1.80s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41