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/tmpi19f9hzy 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/tmpsvhdx31t/tests/create-test-file.yml statically imported: /tmp/tmpsvhdx31t/tests/verify-data-preservation.yml statically imported: /tmp/tmpsvhdx31t/tests/create-test-file.yml statically imported: /tmp/tmpsvhdx31t/tests/verify-data-preservation.yml statically imported: /tmp/tmpsvhdx31t/tests/create-test-file.yml statically imported: /tmp/tmpsvhdx31t/tests/verify-data-preservation.yml Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_luks_pool.yml ************************************************** 1 plays in /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:2 Thursday 21 July 2022 08:50:50 +0000 (0:00:00.016) 0:00:00.016 ********* ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:14 Thursday 21 July 2022 08:50:51 +0000 (0:00:01.302) 0:00:01.318 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:50:51 +0000 (0:00:00.034) 0:00:01.352 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:50:51 +0000 (0:00:00.030) 0:00:01.382 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:50:51 +0000 (0:00:00.487) 0:00:01.870 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:50:52 +0000 (0:00:00.056) 0:00:01.926 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:50:52 +0000 (0:00:00.030) 0:00:01.956 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:50:52 +0000 (0:00:00.030) 0:00:01.986 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:50:52 +0000 (0:00:00.044) 0:00:02.031 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:50:52 +0000 (0:00:00.017) 0:00:02.048 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:50:53 +0000 (0:00:01.257) 0:00:03.306 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:50:53 +0000 (0:00:00.033) 0:00:03.339 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:50:53 +0000 (0:00:00.032) 0:00:03.372 ********* ok: [/cache/rhel-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:50:54 +0000 (0:00:00.697) 0:00:04.069 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 08:50:54 +0000 (0:00:00.042) 0:00:04.111 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 08:50:54 +0000 (0:00:00.030) 0:00:04.141 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 08:50:54 +0000 (0:00:00.033) 0:00:04.175 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:50:54 +0000 (0:00:00.029) 0:00:04.205 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:50:55 +0000 (0:00:00.882) 0:00:05.088 ********* ok: [/cache/rhel-9.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" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autofs.service": { "name": "autofs.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "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.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" }, "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": "inactive", "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" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "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" }, "insights-client-boot.service": { "name": "insights-client-boot.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "insights-client-results.service": { "name": "insights-client-results.service", "source": "systemd", "state": "inactive", "status": "static" }, "insights-client.service": { "name": "insights-client.service", "source": "systemd", "state": "inactive", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "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" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "logrotate.service": { "name": "logrotate.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.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" }, "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" }, "microcode.service": { "name": "microcode.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" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "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": "running", "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": "inactive", "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" }, "rhsm-facts.service": { "name": "rhsm-facts.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm.service": { "name": "rhsm.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsmcertd.service": { "name": "rhsmcertd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-svcgssd.service": { "name": "rpc-svcgssd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "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" }, "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" }, "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-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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-7B77\\x2d95E7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vda2.service": { "name": "systemd-fsck@dev-vda2.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "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-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-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-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "stopped", "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-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-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" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "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" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:50:56 +0000 (0:00:01.768) 0:00:06.856 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:50:57 +0000 (0:00:00.112) 0:00:06.969 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:50:57 +0000 (0:00:00.022) 0:00:06.991 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:50:57 +0000 (0:00:00.517) 0:00:07.509 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:50:57 +0000 (0:00:00.035) 0:00:07.545 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:50:57 +0000 (0:00:00.021) 0:00:07.566 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:50:57 +0000 (0:00:00.035) 0:00:07.601 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:50:57 +0000 (0:00:00.035) 0:00:07.637 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:50:57 +0000 (0:00:00.032) 0:00:07.670 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:50:57 +0000 (0:00:00.035) 0:00:07.705 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:50:57 +0000 (0:00:00.023) 0:00:07.729 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:50:57 +0000 (0:00:00.036) 0:00:07.765 ********* skipping: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:50:57 +0000 (0:00:00.023) 0:00:07.789 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:50:58 +0000 (0:00:00.473) 0:00:08.263 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:50:58 +0000 (0:00:00.023) 0:00:08.286 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:17 Thursday 21 July 2022 08:50:59 +0000 (0:00:00.929) 0:00:09.216 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:23 Thursday 21 July 2022 08:50:59 +0000 (0:00:00.035) 0:00:09.252 ********* included: /tmp/tmpsvhdx31t/tests/get_unused_disk.yml for /cache/rhel-9.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpsvhdx31t/tests/get_unused_disk.yml:2 Thursday 21 July 2022 08:50:59 +0000 (0:00:00.034) 0:00:09.286 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpsvhdx31t/tests/get_unused_disk.yml:9 Thursday 21 July 2022 08:50:59 +0000 (0:00:00.481) 0:00:09.768 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpsvhdx31t/tests/get_unused_disk.yml:14 Thursday 21 July 2022 08:50:59 +0000 (0:00:00.060) 0:00:09.829 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/get_unused_disk.yml:19 Thursday 21 July 2022 08:50:59 +0000 (0:00:00.035) 0:00:09.864 ********* ok: [/cache/rhel-9.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create an encrypted lvm pool] ******************************************** task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:34 Thursday 21 July 2022 08:51:00 +0000 (0:00:00.056) 0:00:09.920 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:51:00 +0000 (0:00:00.039) 0:00:09.959 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:51:00 +0000 (0:00:00.064) 0:00:10.024 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:51:00 +0000 (0:00:00.498) 0:00:10.522 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:51:00 +0000 (0:00:00.062) 0:00:10.585 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:51:00 +0000 (0:00:00.034) 0:00:10.619 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:51:00 +0000 (0:00:00.031) 0:00:10.650 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:51:00 +0000 (0:00:00.044) 0:00:10.695 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:51:00 +0000 (0:00:00.019) 0:00:10.714 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:51:00 +0000 (0:00:00.027) 0:00:10.741 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:51:00 +0000 (0:00:00.034) 0:00:10.775 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:51:00 +0000 (0:00:00.036) 0:00:10.812 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:51:02 +0000 (0:00:01.257) 0:00:12.070 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 08:51:02 +0000 (0:00:00.046) 0:00:12.117 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 08:51:02 +0000 (0:00:00.034) 0:00:12.151 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 08:51:02 +0000 (0:00:00.036) 0:00:12.188 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:51:02 +0000 (0:00:00.034) 0:00:12.222 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:51:03 +0000 (0:00:00.898) 0:00:13.121 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:51:03 +0000 (0:00:00.030) 0:00:13.151 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:51:03 +0000 (0:00:00.086) 0:00:13.238 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:51:03 +0000 (0:00:00.023) 0:00:13.262 ********* fatal: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 08:51:04 +0000 (0:00:01.286) 0:00:14.549 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "encrypted pool 'foo' missing key/password", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': True, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:51:04 +0000 (0:00:00.040) 0:00:14.589 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:53 Thursday 21 July 2022 08:51:04 +0000 (0:00:00.022) 0:00:14.611 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the keyless luks test] ****************************** task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:59 Thursday 21 July 2022 08:51:04 +0000 (0:00:00.038) 0:00:14.650 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:66 Thursday 21 July 2022 08:51:04 +0000 (0:00:00.048) 0:00:14.698 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [Create a key file] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:75 Thursday 21 July 2022 08:51:04 +0000 (0:00:00.034) 0:00:14.733 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/storage_test30h2pbnilukskey", "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/tmpsvhdx31t/tests/tests_luks_pool.yml:82 Thursday 21 July 2022 08:51:05 +0000 (0:00:00.474) 0:00:15.207 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "checksum": "7a4dff3752e2baf5617c57eaac048e2b95e8af91", "dest": "/tmp/storage_test30h2pbnilukskey", "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-1658393465.358962-145982-16172641690139/source", "state": "file", "uid": 0 } TASK [Create an encrypted lvm pool using a key file] *************************** task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:89 Thursday 21 July 2022 08:51:06 +0000 (0:00:00.801) 0:00:16.008 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:51:06 +0000 (0:00:00.039) 0:00:16.048 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:51:06 +0000 (0:00:00.035) 0:00:16.083 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:51:06 +0000 (0:00:00.530) 0:00:16.614 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:51:06 +0000 (0:00:00.061) 0:00:16.676 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:51:06 +0000 (0:00:00.035) 0:00:16.711 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:51:06 +0000 (0:00:00.061) 0:00:16.773 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:51:06 +0000 (0:00:00.048) 0:00:16.821 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:51:06 +0000 (0:00:00.019) 0:00:16.841 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:51:06 +0000 (0:00:00.057) 0:00:16.899 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_key": "/tmp/storage_test30h2pbnilukskey", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:51:07 +0000 (0:00:00.035) 0:00:16.935 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:51:07 +0000 (0:00:00.033) 0:00:16.968 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:51:07 +0000 (0:00:00.026) 0:00:16.995 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:51:07 +0000 (0:00:00.027) 0:00:17.022 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:51:07 +0000 (0:00:00.027) 0:00:17.050 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:51:07 +0000 (0:00:00.028) 0:00:17.078 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:51:07 +0000 (0:00:00.056) 0:00:17.135 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:51:07 +0000 (0:00:00.024) 0:00:17.159 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-8d675115-0923-4abc-b605-7db6069effde", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-8d675115-0923-4abc-b605-7db6069effde", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-8d675115-0923-4abc-b605-7db6069effde", "password": "/tmp/storage_test30h2pbnilukskey", "state": "present" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/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", "lvm2", "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_test30h2pbnilukskey", "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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:51:20 +0000 (0:00:13.239) 0:00:30.398 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:51:20 +0000 (0:00:00.042) 0:00:30.441 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:51:20 +0000 (0:00:00.022) 0:00:30.464 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-8d675115-0923-4abc-b605-7db6069effde", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-8d675115-0923-4abc-b605-7db6069effde", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-8d675115-0923-4abc-b605-7db6069effde", "password": "/tmp/storage_test30h2pbnilukskey", "state": "present" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/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", "lvm2", "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_test30h2pbnilukskey", "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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:51:20 +0000 (0:00:00.040) 0:00:30.504 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_test30h2pbnilukskey", "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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:51:20 +0000 (0:00:00.038) 0:00:30.542 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:51:20 +0000 (0:00:00.038) 0:00:30.580 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:51:20 +0000 (0:00:00.039) 0:00:30.620 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:51:21 +0000 (0:00:00.942) 0:00:31.562 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:51:22 +0000 (0:00:00.541) 0:00:32.104 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:51:22 +0000 (0:00:00.659) 0:00:32.763 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:51:23 +0000 (0:00:00.394) 0:00:33.157 ********* changed: [/cache/rhel-9.qcow2.snap] => (item={'backing_device': '/dev/sda', 'name': 'luks-8d675115-0923-4abc-b605-7db6069effde', 'password': '/tmp/storage_test30h2pbnilukskey', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-8d675115-0923-4abc-b605-7db6069effde", "password": "/tmp/storage_test30h2pbnilukskey", "state": "present" } } MSG: line added and ownership, perms or SE linux context changed TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:51:23 +0000 (0:00:00.559) 0:00:33.717 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:104 Thursday 21 July 2022 08:51:24 +0000 (0:00:01.031) 0:00:34.749 ********* included: /tmp/tmpsvhdx31t/tests/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:1 Thursday 21 July 2022 08:51:24 +0000 (0:00:00.039) 0:00:34.788 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_test30h2pbnilukskey", "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/tmpsvhdx31t/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:51:24 +0000 (0:00:00.051) 0:00:34.839 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:51:24 +0000 (0:00:00.034) 0:00:34.874 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "e895e472-94d9-4416-9ce2-9eac55cf0dfa" }, "/dev/mapper/luks-8d675115-0923-4abc-b605-7db6069effde": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-8d675115-0923-4abc-b605-7db6069effde", "size": "10G", "type": "crypt", "uuid": "bPFwj9-eeTZ-OgSc-WXvu-DJi8-SyDz-F00wYD" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "8d675115-0923-4abc-b605-7db6069effde" }, "/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-08-50-37-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/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": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/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": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/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": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:19 Thursday 21 July 2022 08:51:25 +0000 (0:00:00.505) 0:00:35.379 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002746", "end": "2022-07-21 04:51:24.756871", "rc": 0, "start": "2022-07-21 04:51:24.754125" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:51:25 +0000 (0:00:00.491) 0:00:35.871 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002246", "end": "2022-07-21 04:51:25.114367", "failed_when_result": false, "rc": 0, "start": "2022-07-21 04:51:25.112121" } STDOUT: luks-8d675115-0923-4abc-b605-7db6069effde /dev/sda /tmp/storage_test30h2pbnilukskey TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:33 Thursday 21 July 2022 08:51:26 +0000 (0:00:00.353) 0:00:36.224 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda'], 'encryption': True, 'encryption_cipher': None, 'encryption_key': '/tmp/storage_test30h2pbnilukskey', '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/tmpsvhdx31t/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:51:26 +0000 (0:00:00.058) 0:00:36.283 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:51:26 +0000 (0:00:00.032) 0:00:36.315 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:51:26 +0000 (0:00:00.047) 0:00:36.363 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-8d675115-0923-4abc-b605-7db6069effde" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:51:26 +0000 (0:00:00.089) 0:00:36.453 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/mapper/luks-8d675115-0923-4abc-b605-7db6069effde) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-8d675115-0923-4abc-b605-7db6069effde", "pv": "/dev/mapper/luks-8d675115-0923-4abc-b605-7db6069effde" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.484) 0:00:36.937 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.075) 0:00:37.013 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-8d675115-0923-4abc-b605-7db6069effde" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.107) 0:00:37.120 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.049) 0:00:37.169 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.037) 0:00:37.207 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.025) 0:00:37.233 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.024) 0:00:37.258 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/mapper/luks-8d675115-0923-4abc-b605-7db6069effde) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-8d675115-0923-4abc-b605-7db6069effde" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.041) 0:00:37.299 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.043) 0:00:37.343 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.026) 0:00:37.370 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.026) 0:00:37.396 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.023) 0:00:37.419 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:24 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.023) 0:00:37.442 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:30 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.024) 0:00:37.466 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.023) 0:00:37.490 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.025) 0:00:37.515 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.036) 0:00:37.551 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.045) 0:00:37.597 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.042) 0:00:37.639 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.026) 0:00:37.665 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.025) 0:00:37.691 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.026) 0:00:37.717 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.046) 0:00:37.764 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.045) 0:00:37.809 ********* skipping: [/cache/rhel-9.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/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.026) 0:00:37.836 ********* skipping: [/cache/rhel-9.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/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.024) 0:00:37.860 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 08:51:27 +0000 (0:00:00.024) 0:00:37.885 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:51:28 +0000 (0:00:00.024) 0:00:37.909 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:51:28 +0000 (0:00:00.049) 0:00:37.958 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_storage_test_expected_crypttab_key_file": "/tmp/storage_test30h2pbnilukskey" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:51:28 +0000 (0:00:00.049) 0:00:38.008 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml for /cache/rhel-9.qcow2.snap => (item=/dev/mapper/luks-8d675115-0923-4abc-b605-7db6069effde) TASK [Get the backing device path] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 08:51:28 +0000 (0:00:00.046) 0:00:38.055 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/8d675115-0923-4abc-b605-7db6069effde" ], "delta": "0:00:00.003065", "end": "2022-07-21 04:51:27.331098", "rc": 0, "start": "2022-07-21 04:51:27.328033" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 08:51:28 +0000 (0:00:00.389) 0:00:38.444 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 08:51:29 +0000 (0:00:00.950) 0:00:39.394 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.013871", "end": "2022-07-21 04:51:28.653175", "rc": 0, "start": "2022-07-21 04:51:28.639304" } STDOUT: LUKS header information Version: 2 Epoch: 3 Metadata area: 16384 [bytes] Keyslots area: 16744448 [bytes] UUID: 8d675115-0923-4abc-b605-7db6069effde 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: 11 Memory: 908436 Threads: 4 Salt: 85 e2 03 f1 f4 7a 43 f4 c3 4c 08 07 50 07 06 b5 df a7 bd 79 a5 9a d9 73 3e 3c 2d e5 53 3c 14 91 AF stripes: 4000 AF hash: sha256 Area offset:32768 [bytes] Area length:258048 [bytes] Digest ID: 0 Tokens: Digests: 0: pbkdf2 Hash: sha256 Iterations: 98107 Salt: 73 c3 e1 2f 33 2e 16 c6 12 08 70 9b e3 9e a9 69 74 f2 80 ab 5f 4e ab 7a e9 7e 55 74 08 44 f1 40 Digest: 0f fc 6f 5f 53 11 0d d1 1f c7 11 e9 99 35 37 29 cd 87 c5 43 35 de 9d 83 40 18 28 21 50 84 35 cc TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 08:51:29 +0000 (0:00:00.371) 0:00:39.766 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 08:51:29 +0000 (0:00:00.024) 0:00:39.790 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 08:51:29 +0000 (0:00:00.023) 0:00:39.814 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:51:29 +0000 (0:00:00.026) 0:00:39.840 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/mapper/luks-8d675115-0923-4abc-b605-7db6069effde) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:51:29 +0000 (0:00:00.049) 0:00:39.890 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-8d675115-0923-4abc-b605-7db6069effde /dev/sda /tmp/storage_test30h2pbnilukskey" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.049) 0:00:39.939 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.046) 0:00:39.986 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.046) 0:00:40.032 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.033) 0:00:40.065 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.048) 0:00:40.114 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.034) 0:00:40.148 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.036) 0:00:40.184 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.049) 0:00:40.234 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.044) 0:00:40.278 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.024) 0:00:40.303 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.026) 0:00:40.329 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.024) 0:00:40.354 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.025) 0:00:40.380 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.024) 0:00:40.405 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.024) 0:00:40.429 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.023) 0:00:40.452 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.066) 0:00:40.519 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.102) 0:00:40.622 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.044) 0:00:40.667 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.050) 0:00:40.717 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.084) 0:00:40.802 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:51:30 +0000 (0:00:00.044) 0:00:40.846 ********* ok: [/cache/rhel-9.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": "e895e472-94d9-4416-9ce2-9eac55cf0dfa" } ], "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": "e895e472-94d9-4416-9ce2-9eac55cf0dfa" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 08:51:31 +0000 (0:00:00.058) 0:00:40.904 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 08:51:31 +0000 (0:00:00.052) 0:00:40.956 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 08:51:31 +0000 (0:00:00.049) 0:00:41.006 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:51:31 +0000 (0:00:00.050) 0:00:41.056 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 08:51:31 +0000 (0:00:00.024) 0:00:41.080 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 08:51:31 +0000 (0:00:00.027) 0:00:41.107 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 08:51:31 +0000 (0:00:00.024) 0:00:41.131 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 08:51:31 +0000 (0:00:00.034) 0:00:41.166 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:51:31 +0000 (0:00:00.058) 0:00:41.225 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 08:51:31 +0000 (0:00:00.046) 0:00:41.271 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 08:51:31 +0000 (0:00:00.047) 0:00:41.318 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 08:51:31 +0000 (0:00:00.039) 0:00:41.358 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 08:51:31 +0000 (0:00:00.037) 0:00:41.395 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 08:51:31 +0000 (0:00:00.041) 0:00:41.437 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 08:51:31 +0000 (0:00:00.041) 0:00:41.479 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658393479.2075372, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658393479.2075372, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 874, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658393479.2075372, "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/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 08:51:31 +0000 (0:00:00.375) 0:00:41.854 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 08:51:31 +0000 (0:00:00.038) 0:00:41.893 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 08:51:32 +0000 (0:00:00.039) 0:00:41.932 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 08:51:32 +0000 (0:00:00.037) 0:00:41.969 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 08:51:32 +0000 (0:00:00.025) 0:00:41.995 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 08:51:32 +0000 (0:00:00.040) 0:00:42.036 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 08:51:32 +0000 (0:00:00.025) 0:00:42.061 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 08:51:32 +0000 (0:00:00.828) 0:00:42.890 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.026) 0:00:42.916 ********* skipping: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.024) 0:00:42.940 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.087) 0:00:43.028 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.025) 0:00:43.053 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.062) 0:00:43.115 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.026) 0:00:43.142 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.026) 0:00:43.168 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.025) 0:00:43.193 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.063) 0:00:43.257 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.058) 0:00:43.315 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.038) 0:00:43.354 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.034) 0:00:43.389 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.040) 0:00:43.429 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.033) 0:00:43.462 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.037) 0:00:43.499 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.038) 0:00:43.537 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.040) 0:00:43.578 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.038) 0:00:43.616 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.036) 0:00:43.653 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.037) 0:00:43.690 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 08:51:33 +0000 (0:00:00.040) 0:00:43.731 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:51:34 +0000 (0:00:00.510) 0:00:44.241 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:51:34 +0000 (0:00:00.383) 0:00:44.625 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:51:34 +0000 (0:00:00.052) 0:00:44.678 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:51:34 +0000 (0:00:00.037) 0:00:44.715 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:51:34 +0000 (0:00:00.040) 0:00:44.755 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 08:51:34 +0000 (0:00:00.039) 0:00:44.795 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 08:51:34 +0000 (0:00:00.038) 0:00:44.833 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 08:51:34 +0000 (0:00:00.038) 0:00:44.871 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 08:51:35 +0000 (0:00:00.038) 0:00:44.910 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:51:35 +0000 (0:00:00.039) 0:00:44.949 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:51:35 +0000 (0:00:00.039) 0:00:44.989 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:51:35 +0000 (0:00:00.057) 0:00:45.046 ********* ok: [/cache/rhel-9.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.037017", "end": "2022-07-21 04:51:34.351229", "rc": 0, "start": "2022-07-21 04:51:34.314212" } 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/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:51:35 +0000 (0:00:00.419) 0:00:45.466 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:51:35 +0000 (0:00:00.085) 0:00:45.552 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:51:35 +0000 (0:00:00.088) 0:00:45.640 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 08:51:35 +0000 (0:00:00.037) 0:00:45.678 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 08:51:35 +0000 (0:00:00.038) 0:00:45.716 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 08:51:35 +0000 (0:00:00.040) 0:00:45.757 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 08:51:35 +0000 (0:00:00.039) 0:00:45.797 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:51:35 +0000 (0:00:00.035) 0:00:45.832 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:51:35 +0000 (0:00:00.022) 0:00:45.855 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/tests_luks_pool.yml:106 Thursday 21 July 2022 08:51:35 +0000 (0:00:00.036) 0:00:45.891 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "path": "/tmp/storage_test30h2pbnilukskey", "state": "absent" } TASK [create a file] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/create-test-file.yml:10 Thursday 21 July 2022 08:51:36 +0000 (0:00:00.473) 0:00:46.365 ********* changed: [/cache/rhel-9.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/tmpsvhdx31t/tests/tests_luks_pool.yml:116 Thursday 21 July 2022 08:51:36 +0000 (0:00:00.383) 0:00:46.748 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:51:36 +0000 (0:00:00.038) 0:00:46.787 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:51:36 +0000 (0:00:00.037) 0:00:46.824 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:51:37 +0000 (0:00:00.529) 0:00:47.354 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:51:37 +0000 (0:00:00.061) 0:00:47.415 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:51:37 +0000 (0:00:00.037) 0:00:47.452 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:51:37 +0000 (0:00:00.036) 0:00:47.489 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:51:37 +0000 (0:00:00.049) 0:00:47.539 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:51:37 +0000 (0:00:00.020) 0:00:47.559 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:51:37 +0000 (0:00:00.027) 0:00:47.587 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:51:37 +0000 (0:00:00.038) 0:00:47.625 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:51:37 +0000 (0:00:00.068) 0:00:47.693 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:51:37 +0000 (0:00:00.030) 0:00:47.724 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:51:37 +0000 (0:00:00.066) 0:00:47.790 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:51:37 +0000 (0:00:00.029) 0:00:47.819 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:51:37 +0000 (0:00:00.027) 0:00:47.846 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:51:38 +0000 (0:00:00.055) 0:00:47.902 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:51:38 +0000 (0:00:00.024) 0:00:47.926 ********* fatal: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 08:51:39 +0000 (0:00:01.568) 0:00:49.495 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove and recreate existing pool 'foo' in safe mode", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks2', 'encryption_password': 'yabbadabbadoo', 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:51:39 +0000 (0:00:00.044) 0:00:49.539 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:134 Thursday 21 July 2022 08:51:39 +0000 (0:00:00.023) 0:00:49.563 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the safe_mode test] ********************************* task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:140 Thursday 21 July 2022 08:51:39 +0000 (0:00:00.035) 0:00:49.599 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-data-preservation.yml:10 Thursday 21 July 2022 08:51:39 +0000 (0:00:00.050) 0:00:49.649 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658393495.634537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658393495.634537, "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": 1658393495.634537, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "3320670930", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-data-preservation.yml:15 Thursday 21 July 2022 08:51:40 +0000 (0:00:00.374) 0:00:50.024 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Remove the encryption layer] ********************************************* task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:151 Thursday 21 July 2022 08:51:40 +0000 (0:00:00.043) 0:00:50.067 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:51:40 +0000 (0:00:00.042) 0:00:50.110 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:51:40 +0000 (0:00:00.038) 0:00:50.149 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:51:40 +0000 (0:00:00.545) 0:00:50.694 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:51:40 +0000 (0:00:00.064) 0:00:50.758 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:51:40 +0000 (0:00:00.068) 0:00:50.827 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:51:40 +0000 (0:00:00.037) 0:00:50.864 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:51:41 +0000 (0:00:00.048) 0:00:50.913 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:51:41 +0000 (0:00:00.023) 0:00:50.936 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:51:41 +0000 (0:00:00.027) 0:00:50.963 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:51:41 +0000 (0:00:00.073) 0:00:51.037 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:51:41 +0000 (0:00:00.101) 0:00:51.139 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:51:41 +0000 (0:00:00.030) 0:00:51.170 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:51:41 +0000 (0:00:00.027) 0:00:51.197 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:51:41 +0000 (0:00:00.029) 0:00:51.227 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:51:41 +0000 (0:00:00.031) 0:00:51.258 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:51:41 +0000 (0:00:00.058) 0:00:51.317 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:51:41 +0000 (0:00:00.021) 0:00:51.339 ********* changed: [/cache/rhel-9.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-8d675115-0923-4abc-b605-7db6069effde", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-8d675115-0923-4abc-b605-7db6069effde", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-8d675115-0923-4abc-b605-7db6069effde", "password": "-", "state": "absent" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/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": [ "xfsprogs", "e2fsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:51:44 +0000 (0:00:02.941) 0:00:54.280 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:51:44 +0000 (0:00:00.038) 0:00:54.318 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:51:44 +0000 (0:00:00.023) 0:00:54.342 ********* ok: [/cache/rhel-9.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-8d675115-0923-4abc-b605-7db6069effde", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-8d675115-0923-4abc-b605-7db6069effde", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-8d675115-0923-4abc-b605-7db6069effde", "password": "-", "state": "absent" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/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": [ "xfsprogs", "e2fsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:51:44 +0000 (0:00:00.039) 0:00:54.382 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:51:44 +0000 (0:00:00.039) 0:00:54.421 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:51:44 +0000 (0:00:00.038) 0:00:54.460 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:51:44 +0000 (0:00:00.407) 0:00:54.867 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:51:45 +0000 (0:00:00.672) 0:00:55.540 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:51:46 +0000 (0:00:00.424) 0:00:55.964 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:51:46 +0000 (0:00:00.661) 0:00:56.626 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658393485.113537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dd6f4aef5609ef13e2e513c85c9e1e00dec1b1c2", "ctime": 1658393482.5995371, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25716415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658393482.5925372, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 84, "uid": 0, "version": "624339530", "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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:51:47 +0000 (0:00:00.383) 0:00:57.010 ********* changed: [/cache/rhel-9.qcow2.snap] => (item={'backing_device': '/dev/sda', 'name': 'luks-8d675115-0923-4abc-b605-7db6069effde', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-8d675115-0923-4abc-b605-7db6069effde", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:51:47 +0000 (0:00:00.389) 0:00:57.399 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:167 Thursday 21 July 2022 08:51:48 +0000 (0:00:01.036) 0:00:58.436 ********* included: /tmp/tmpsvhdx31t/tests/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:1 Thursday 21 July 2022 08:51:48 +0000 (0:00:00.038) 0:00:58.474 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:51:48 +0000 (0:00:00.051) 0:00:58.525 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:51:48 +0000 (0:00:00.036) 0:00:58.562 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "dde84e6c-5776-4da4-9cbe-6d6ff5209726" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "sSj1fW-NSNF-KCUD-Ryc2-dgcQ-ct6D-2dZE6e" }, "/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-08-50-37-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/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": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/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": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/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": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:19 Thursday 21 July 2022 08:51:49 +0000 (0:00:00.366) 0:00:58.928 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002556", "end": "2022-07-21 04:51:48.186303", "rc": 0, "start": "2022-07-21 04:51:48.183747" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:51:49 +0000 (0:00:00.372) 0:00:59.301 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002287", "end": "2022-07-21 04:51:48.547061", "failed_when_result": false, "rc": 0, "start": "2022-07-21 04:51:48.544774" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:33 Thursday 21 July 2022 08:51:49 +0000 (0:00:00.360) 0:00:59.661 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks2', 'encryption_password': 'yabbadabbadoo', 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:51:49 +0000 (0:00:00.059) 0:00:59.721 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:51:49 +0000 (0:00:00.037) 0:00:59.759 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:51:49 +0000 (0:00:00.045) 0:00:59.805 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:51:49 +0000 (0:00:00.055) 0:00:59.861 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.371) 0:01:00.232 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.052) 0:01:00.285 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.050) 0:01:00.336 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.046) 0:01:00.382 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.035) 0:01:00.418 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.046) 0:01:00.464 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.022) 0:01:00.486 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.070) 0:01:00.556 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.072) 0:01:00.629 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.026) 0:01:00.655 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.024) 0:01:00.680 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.027) 0:01:00.708 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:24 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.025) 0:01:00.734 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:30 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.026) 0:01:00.760 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.025) 0:01:00.785 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.024) 0:01:00.810 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.031) 0:01:00.842 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:51:50 +0000 (0:00:00.044) 0:01:00.887 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.045) 0:01:00.932 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.028) 0:01:00.961 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.029) 0:01:00.991 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.030) 0:01:01.022 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.046) 0:01:01.068 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.046) 0:01:01.114 ********* skipping: [/cache/rhel-9.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/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.023) 0:01:01.138 ********* skipping: [/cache/rhel-9.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/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.023) 0:01:01.161 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.022) 0:01:01.184 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.022) 0:01:01.207 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.044) 0:01:01.252 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.047) 0:01:01.299 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.025) 0:01:01.325 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.039) 0:01:01.365 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.046) 0:01:01.412 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.045) 0:01:01.458 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.034) 0:01:01.492 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.033) 0:01:01.526 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.034) 0:01:01.560 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.044) 0:01:01.605 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.057) 0:01:01.662 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.051) 0:01:01.714 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.044) 0:01:01.758 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.063) 0:01:01.822 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.026) 0:01:01.848 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.025) 0:01:01.873 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 08:51:51 +0000 (0:00:00.023) 0:01:01.897 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.027) 0:01:01.925 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.023) 0:01:01.948 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.023) 0:01:01.972 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.037) 0:01:02.010 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.037) 0:01:02.047 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.041) 0:01:02.089 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.049) 0:01:02.138 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.081) 0:01:02.220 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.042) 0:01:02.263 ********* ok: [/cache/rhel-9.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": "dde84e6c-5776-4da4-9cbe-6d6ff5209726" } ], "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": "dde84e6c-5776-4da4-9cbe-6d6ff5209726" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.058) 0:01:02.321 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.051) 0:01:02.373 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.047) 0:01:02.421 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.048) 0:01:02.469 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.023) 0:01:02.493 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.024) 0:01:02.518 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.024) 0:01:02.542 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.035) 0:01:02.577 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.063) 0:01:02.640 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.050) 0:01:02.691 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.058) 0:01:02.749 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.037) 0:01:02.787 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.047) 0:01:02.834 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 08:51:52 +0000 (0:00:00.042) 0:01:02.876 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 08:51:53 +0000 (0:00:00.039) 0:01:02.916 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658393503.093537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658393503.093537, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1044, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658393503.093537, "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/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 08:51:53 +0000 (0:00:00.370) 0:01:03.287 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 08:51:53 +0000 (0:00:00.042) 0:01:03.330 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 08:51:53 +0000 (0:00:00.090) 0:01:03.420 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 08:51:53 +0000 (0:00:00.118) 0:01:03.538 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 08:51:53 +0000 (0:00:00.027) 0:01:03.566 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 08:51:53 +0000 (0:00:00.039) 0:01:03.605 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 08:51:53 +0000 (0:00:00.025) 0:01:03.630 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 08:51:54 +0000 (0:00:00.864) 0:01:04.495 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 08:51:54 +0000 (0:00:00.027) 0:01:04.523 ********* skipping: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 08:51:54 +0000 (0:00:00.026) 0:01:04.549 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 08:51:54 +0000 (0:00:00.053) 0:01:04.603 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 08:51:54 +0000 (0:00:00.025) 0:01:04.629 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 08:51:54 +0000 (0:00:00.025) 0:01:04.654 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 08:51:54 +0000 (0:00:00.023) 0:01:04.677 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 08:51:54 +0000 (0:00:00.026) 0:01:04.704 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 08:51:54 +0000 (0:00:00.025) 0:01:04.729 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 08:51:54 +0000 (0:00:00.053) 0:01:04.783 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 08:51:54 +0000 (0:00:00.051) 0:01:04.834 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 08:51:54 +0000 (0:00:00.035) 0:01:04.870 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 08:51:55 +0000 (0:00:00.039) 0:01:04.910 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 08:51:55 +0000 (0:00:00.035) 0:01:04.945 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 08:51:55 +0000 (0:00:00.034) 0:01:04.980 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 08:51:55 +0000 (0:00:00.037) 0:01:05.018 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 08:51:55 +0000 (0:00:00.038) 0:01:05.057 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 08:51:55 +0000 (0:00:00.039) 0:01:05.096 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 08:51:55 +0000 (0:00:00.038) 0:01:05.135 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 08:51:55 +0000 (0:00:00.045) 0:01:05.180 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 08:51:55 +0000 (0:00:00.042) 0:01:05.223 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 08:51:55 +0000 (0:00:00.039) 0:01:05.263 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:51:55 +0000 (0:00:00.372) 0:01:05.635 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:51:56 +0000 (0:00:00.377) 0:01:06.013 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:51:56 +0000 (0:00:00.053) 0:01:06.066 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:51:56 +0000 (0:00:00.071) 0:01:06.138 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:51:56 +0000 (0:00:00.038) 0:01:06.177 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 08:51:56 +0000 (0:00:00.075) 0:01:06.252 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 08:51:56 +0000 (0:00:00.039) 0:01:06.291 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 08:51:56 +0000 (0:00:00.037) 0:01:06.328 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 08:51:56 +0000 (0:00:00.037) 0:01:06.365 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:51:56 +0000 (0:00:00.037) 0:01:06.403 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:51:56 +0000 (0:00:00.038) 0:01:06.441 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:51:56 +0000 (0:00:00.055) 0:01:06.496 ********* ok: [/cache/rhel-9.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.037459", "end": "2022-07-21 04:51:55.800238", "rc": 0, "start": "2022-07-21 04:51:55.762779" } 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/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:51:57 +0000 (0:00:00.416) 0:01:06.913 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:51:57 +0000 (0:00:00.052) 0:01:06.966 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:51:57 +0000 (0:00:00.054) 0:01:07.020 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 08:51:57 +0000 (0:00:00.039) 0:01:07.060 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 08:51:57 +0000 (0:00:00.038) 0:01:07.098 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 08:51:57 +0000 (0:00:00.044) 0:01:07.143 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 08:51:57 +0000 (0:00:00.047) 0:01:07.191 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:51:57 +0000 (0:00:00.035) 0:01:07.227 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:51:57 +0000 (0:00:00.023) 0:01:07.250 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/create-test-file.yml:10 Thursday 21 July 2022 08:51:57 +0000 (0:00:00.036) 0:01:07.287 ********* changed: [/cache/rhel-9.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/tmpsvhdx31t/tests/tests_luks_pool.yml:173 Thursday 21 July 2022 08:51:57 +0000 (0:00:00.372) 0:01:07.659 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:51:57 +0000 (0:00:00.041) 0:01:07.701 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:51:57 +0000 (0:00:00.038) 0:01:07.740 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:51:58 +0000 (0:00:00.544) 0:01:08.284 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:51:58 +0000 (0:00:00.101) 0:01:08.386 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:51:58 +0000 (0:00:00.075) 0:01:08.461 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:51:58 +0000 (0:00:00.035) 0:01:08.496 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:51:58 +0000 (0:00:00.050) 0:01:08.547 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:51:58 +0000 (0:00:00.063) 0:01:08.610 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:51:58 +0000 (0:00:00.031) 0:01:08.641 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:51:58 +0000 (0:00:00.038) 0:01:08.680 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:51:58 +0000 (0:00:00.036) 0:01:08.716 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:51:58 +0000 (0:00:00.031) 0:01:08.748 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:51:58 +0000 (0:00:00.027) 0:01:08.775 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:51:58 +0000 (0:00:00.027) 0:01:08.802 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:51:58 +0000 (0:00:00.027) 0:01:08.829 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:51:58 +0000 (0:00:00.056) 0:01:08.886 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:51:59 +0000 (0:00:00.023) 0:01:08.909 ********* fatal: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 08:52:00 +0000 (0:00:01.527) 0:01:10.436 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove and recreate existing pool 'foo' in safe mode", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': True, 'encryption_cipher': 'serpent-xts-plain64', 'encryption_key': None, 'encryption_key_size': 512, 'encryption_luks_version': 'luks1', 'encryption_password': 'yabbadabbadoo', 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:52:00 +0000 (0:00:00.041) 0:01:10.478 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:194 Thursday 21 July 2022 08:52:00 +0000 (0:00:00.022) 0:01:10.501 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the safe_mode test] ********************************* task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:200 Thursday 21 July 2022 08:52:00 +0000 (0:00:00.037) 0:01:10.539 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-data-preservation.yml:10 Thursday 21 July 2022 08:52:00 +0000 (0:00:00.051) 0:01:10.590 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658393516.544537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658393516.544537, "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": 1658393516.544537, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "706673650", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-data-preservation.yml:15 Thursday 21 July 2022 08:52:01 +0000 (0:00:00.381) 0:01:10.972 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add encryption to the pool] ********************************************** task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:211 Thursday 21 July 2022 08:52:01 +0000 (0:00:00.041) 0:01:11.014 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:52:01 +0000 (0:00:00.044) 0:01:11.058 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:52:01 +0000 (0:00:00.034) 0:01:11.092 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:52:01 +0000 (0:00:00.504) 0:01:11.597 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:52:01 +0000 (0:00:00.094) 0:01:11.691 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:52:01 +0000 (0:00:00.035) 0:01:11.727 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:52:01 +0000 (0:00:00.033) 0:01:11.760 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:52:01 +0000 (0:00:00.047) 0:01:11.808 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:52:01 +0000 (0:00:00.058) 0:01:11.867 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:52:01 +0000 (0:00:00.030) 0:01:11.898 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:52:02 +0000 (0:00:00.049) 0:01:11.947 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:52:02 +0000 (0:00:00.045) 0:01:11.992 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:52:02 +0000 (0:00:00.036) 0:01:12.029 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:52:02 +0000 (0:00:00.029) 0:01:12.059 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:52:02 +0000 (0:00:00.032) 0:01:12.091 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:52:02 +0000 (0:00:00.030) 0:01:12.122 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:52:02 +0000 (0:00:00.062) 0:01:12.184 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:52:02 +0000 (0:00:00.023) 0:01:12.208 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "password": "-", "state": "present" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/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": [ "xfsprogs", "lvm2", "e2fsprogs", "dosfstools", "cryptsetup" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:52:11 +0000 (0:00:08.695) 0:01:20.904 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:52:11 +0000 (0:00:00.042) 0:01:20.946 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:52:11 +0000 (0:00:00.023) 0:01:20.970 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "password": "-", "state": "present" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/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": [ "xfsprogs", "lvm2", "e2fsprogs", "dosfstools", "cryptsetup" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:52:11 +0000 (0:00:00.045) 0:01:21.015 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:52:11 +0000 (0:00:00.039) 0:01:21.054 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:52:11 +0000 (0:00:00.040) 0:01:21.095 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:52:11 +0000 (0:00:00.378) 0:01:21.473 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:52:12 +0000 (0:00:00.657) 0:01:22.131 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:52:12 +0000 (0:00:00.455) 0:01:22.587 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:52:13 +0000 (0:00:00.692) 0:01:23.279 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658393508.5465372, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658393506.2795372, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 678893, "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": 1658393506.278537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "2987766147", "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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:52:13 +0000 (0:00:00.357) 0:01:23.636 ********* changed: [/cache/rhel-9.qcow2.snap] => (item={'backing_device': '/dev/sda', 'name': 'luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7', 'password': '-', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "password": "-", "state": "present" } } MSG: line added TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:52:14 +0000 (0:00:00.442) 0:01:24.078 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:230 Thursday 21 July 2022 08:52:15 +0000 (0:00:01.002) 0:01:25.081 ********* included: /tmp/tmpsvhdx31t/tests/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:1 Thursday 21 July 2022 08:52:15 +0000 (0:00:00.076) 0:01:25.157 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:52:15 +0000 (0:00:00.052) 0:01:25.209 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:52:15 +0000 (0:00:00.039) 0:01:25.249 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "c17cf2cc-7bcf-4073-ad33-b63f84cb9ea5" }, "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "size": "10G", "type": "crypt", "uuid": "leHcer-7W1w-GkQw-uLGh-j689-t2nW-bkL43M" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "45b8f1ac-4df9-490c-84c8-bfc9d58844a7" }, "/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-08-50-37-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/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": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/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": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/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": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:19 Thursday 21 July 2022 08:52:15 +0000 (0:00:00.362) 0:01:25.611 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002457", "end": "2022-07-21 04:52:14.854440", "rc": 0, "start": "2022-07-21 04:52:14.851983" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:52:16 +0000 (0:00:00.356) 0:01:25.968 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002513", "end": "2022-07-21 04:52:15.203910", "failed_when_result": false, "rc": 0, "start": "2022-07-21 04:52:15.201397" } STDOUT: luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7 /dev/sda - TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:33 Thursday 21 July 2022 08:52:16 +0000 (0:00:00.349) 0:01:26.317 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda'], 'encryption': True, 'encryption_cipher': 'serpent-xts-plain64', 'encryption_key': None, 'encryption_key_size': 512, 'encryption_luks_version': 'luks1', 'encryption_password': 'yabbadabbadoo', 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:52:16 +0000 (0:00:00.067) 0:01:26.384 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:52:16 +0000 (0:00:00.037) 0:01:26.422 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:52:16 +0000 (0:00:00.050) 0:01:26.473 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:52:16 +0000 (0:00:00.059) 0:01:26.532 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "pv": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:52:16 +0000 (0:00:00.360) 0:01:26.893 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.053) 0:01:26.946 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.058) 0:01:27.005 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.051) 0:01:27.056 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.035) 0:01:27.092 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.024) 0:01:27.117 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.026) 0:01:27.143 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.043) 0:01:27.186 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.043) 0:01:27.230 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.026) 0:01:27.256 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.025) 0:01:27.281 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.023) 0:01:27.305 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:24 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.022) 0:01:27.327 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:30 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.066) 0:01:27.394 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.026) 0:01:27.420 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.026) 0:01:27.446 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.037) 0:01:27.484 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.046) 0:01:27.530 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.043) 0:01:27.574 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.032) 0:01:27.606 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.028) 0:01:27.635 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.028) 0:01:27.663 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.047) 0:01:27.711 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.044) 0:01:27.756 ********* skipping: [/cache/rhel-9.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/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.025) 0:01:27.782 ********* skipping: [/cache/rhel-9.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/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.023) 0:01:27.805 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.024) 0:01:27.830 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:52:17 +0000 (0:00:00.024) 0:01:27.854 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:52:18 +0000 (0:00:00.048) 0:01:27.903 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:52:18 +0000 (0:00:00.049) 0:01:27.952 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml for /cache/rhel-9.qcow2.snap => (item=/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7) TASK [Get the backing device path] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 08:52:18 +0000 (0:00:00.045) 0:01:27.998 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/45b8f1ac-4df9-490c-84c8-bfc9d58844a7" ], "delta": "0:00:00.002481", "end": "2022-07-21 04:52:17.272081", "rc": 0, "start": "2022-07-21 04:52:17.269600" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 08:52:18 +0000 (0:00:00.392) 0:01:28.390 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 08:52:19 +0000 (0:00:00.895) 0:01:29.286 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.010313", "end": "2022-07-21 04:52:18.584312", "rc": 0, "start": "2022-07-21 04:52:18.573999" } STDOUT: LUKS header information for /dev/sda Version: 1 Cipher name: serpent Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: 84 c9 70 e6 3a c1 53 e0 82 f1 c9 d2 9e 2f 88 7d 47 ca f6 84 MK salt: b7 40 48 f5 07 7e 9c 27 01 bf b5 1d 21 92 73 49 5f 39 ab 62 4a a4 9c e9 27 83 b9 d9 fc f9 5f b6 MK iterations: 96946 UUID: 45b8f1ac-4df9-490c-84c8-bfc9d58844a7 Key Slot 0: ENABLED Iterations: 1546572 Salt: 38 fd f9 40 5f 45 72 cd f5 ae 4f 0d 12 91 7b f1 e5 0f 88 44 bc 23 95 66 61 ac 5e e9 c4 e8 d4 c6 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/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 08:52:19 +0000 (0:00:00.444) 0:01:29.730 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 08:52:19 +0000 (0:00:00.050) 0:01:29.781 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 08:52:19 +0000 (0:00:00.055) 0:01:29.837 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:52:19 +0000 (0:00:00.055) 0:01:29.893 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.048) 0:01:29.942 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7 /dev/sda -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.053) 0:01:29.995 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.050) 0:01:30.045 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.054) 0:01:30.100 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.038) 0:01:30.138 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.055) 0:01:30.194 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.037) 0:01:30.231 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.035) 0:01:30.267 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.053) 0:01:30.321 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.047) 0:01:30.368 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.031) 0:01:30.399 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.028) 0:01:30.428 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.026) 0:01:30.455 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.027) 0:01:30.482 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.028) 0:01:30.510 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.024) 0:01:30.535 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.023) 0:01:30.558 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.035) 0:01:30.594 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.036) 0:01:30.630 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.042) 0:01:30.673 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.049) 0:01:30.722 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.079) 0:01:30.802 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:52:20 +0000 (0:00:00.043) 0:01:30.846 ********* ok: [/cache/rhel-9.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": "c17cf2cc-7bcf-4073-ad33-b63f84cb9ea5" } ], "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": "c17cf2cc-7bcf-4073-ad33-b63f84cb9ea5" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 08:52:21 +0000 (0:00:00.056) 0:01:30.902 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 08:52:21 +0000 (0:00:00.054) 0:01:30.957 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 08:52:21 +0000 (0:00:00.050) 0:01:31.008 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:52:21 +0000 (0:00:00.107) 0:01:31.115 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 08:52:21 +0000 (0:00:00.066) 0:01:31.181 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 08:52:21 +0000 (0:00:00.026) 0:01:31.208 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 08:52:21 +0000 (0:00:00.027) 0:01:31.235 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 08:52:21 +0000 (0:00:00.039) 0:01:31.274 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:52:21 +0000 (0:00:00.067) 0:01:31.342 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 08:52:21 +0000 (0:00:00.051) 0:01:31.394 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 08:52:21 +0000 (0:00:00.051) 0:01:31.445 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 08:52:21 +0000 (0:00:00.038) 0:01:31.484 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 08:52:21 +0000 (0:00:00.035) 0:01:31.519 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 08:52:21 +0000 (0:00:00.047) 0:01:31.567 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 08:52:21 +0000 (0:00:00.048) 0:01:31.616 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658393529.7305372, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658393529.7305372, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1239, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658393529.7305372, "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/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 08:52:22 +0000 (0:00:00.366) 0:01:31.982 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 08:52:22 +0000 (0:00:00.041) 0:01:32.024 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 08:52:22 +0000 (0:00:00.040) 0:01:32.065 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 08:52:22 +0000 (0:00:00.039) 0:01:32.104 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 08:52:22 +0000 (0:00:00.027) 0:01:32.131 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 08:52:22 +0000 (0:00:00.039) 0:01:32.171 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 08:52:22 +0000 (0:00:00.025) 0:01:32.196 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.829) 0:01:33.026 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.024) 0:01:33.051 ********* skipping: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.023) 0:01:33.075 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.049) 0:01:33.124 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.022) 0:01:33.147 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.022) 0:01:33.170 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.024) 0:01:33.194 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.023) 0:01:33.217 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.023) 0:01:33.241 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.057) 0:01:33.298 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.050) 0:01:33.348 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.035) 0:01:33.383 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.034) 0:01:33.418 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.034) 0:01:33.452 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.040) 0:01:33.492 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.039) 0:01:33.531 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.037) 0:01:33.569 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.037) 0:01:33.607 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.040) 0:01:33.647 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.036) 0:01:33.684 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.035) 0:01:33.720 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 08:52:23 +0000 (0:00:00.036) 0:01:33.756 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:52:24 +0000 (0:00:00.399) 0:01:34.155 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:52:24 +0000 (0:00:00.397) 0:01:34.553 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:52:24 +0000 (0:00:00.049) 0:01:34.603 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:52:24 +0000 (0:00:00.039) 0:01:34.643 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:52:24 +0000 (0:00:00.036) 0:01:34.679 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 08:52:24 +0000 (0:00:00.035) 0:01:34.715 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 08:52:24 +0000 (0:00:00.039) 0:01:34.754 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 08:52:24 +0000 (0:00:00.040) 0:01:34.794 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 08:52:24 +0000 (0:00:00.036) 0:01:34.831 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:52:24 +0000 (0:00:00.035) 0:01:34.866 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:52:25 +0000 (0:00:00.035) 0:01:34.902 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:52:25 +0000 (0:00:00.052) 0:01:34.955 ********* ok: [/cache/rhel-9.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.033507", "end": "2022-07-21 04:52:24.257078", "rc": 0, "start": "2022-07-21 04:52:24.223571" } 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/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:52:25 +0000 (0:00:00.419) 0:01:35.375 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:52:25 +0000 (0:00:00.055) 0:01:35.431 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:52:25 +0000 (0:00:00.052) 0:01:35.483 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 08:52:25 +0000 (0:00:00.038) 0:01:35.521 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 08:52:25 +0000 (0:00:00.039) 0:01:35.561 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 08:52:25 +0000 (0:00:00.042) 0:01:35.603 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 08:52:25 +0000 (0:00:00.036) 0:01:35.640 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:52:25 +0000 (0:00:00.038) 0:01:35.679 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:52:25 +0000 (0:00:00.022) 0:01:35.702 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/create-test-file.yml:10 Thursday 21 July 2022 08:52:25 +0000 (0:00:00.038) 0:01:35.740 ********* changed: [/cache/rhel-9.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/tmpsvhdx31t/tests/tests_luks_pool.yml:234 Thursday 21 July 2022 08:52:26 +0000 (0:00:00.372) 0:01:36.113 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:52:26 +0000 (0:00:00.049) 0:01:36.163 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:52:26 +0000 (0:00:00.036) 0:01:36.200 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:52:26 +0000 (0:00:00.519) 0:01:36.719 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:52:26 +0000 (0:00:00.063) 0:01:36.783 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:52:26 +0000 (0:00:00.034) 0:01:36.818 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:52:27 +0000 (0:00:00.092) 0:01:36.910 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:52:27 +0000 (0:00:00.090) 0:01:37.001 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:52:27 +0000 (0:00:00.023) 0:01:37.024 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:52:27 +0000 (0:00:00.029) 0:01:37.054 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test2", "name": "test1" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:52:27 +0000 (0:00:00.042) 0:01:37.096 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:52:27 +0000 (0:00:00.038) 0:01:37.135 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:52:27 +0000 (0:00:00.029) 0:01:37.164 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:52:27 +0000 (0:00:00.029) 0:01:37.193 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:52:27 +0000 (0:00:00.034) 0:01:37.227 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:52:27 +0000 (0:00:00.027) 0:01:37.255 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:52:27 +0000 (0:00:00.056) 0:01:37.312 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:52:27 +0000 (0:00:00.024) 0:01:37.337 ********* ok: [/cache/rhel-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/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": [ "cryptsetup", "lvm2", "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:52:29 +0000 (0:00:01.619) 0:01:38.957 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:52:29 +0000 (0:00:00.036) 0:01:38.993 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:52:29 +0000 (0:00:00.023) 0:01:39.016 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/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": [ "cryptsetup", "lvm2", "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:52:29 +0000 (0:00:00.037) 0:01:39.053 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:52:29 +0000 (0:00:00.036) 0:01:39.090 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:52:29 +0000 (0:00:00.035) 0:01:39.126 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:52:29 +0000 (0:00:00.397) 0:01:39.524 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:52:30 +0000 (0:00:00.658) 0:01:40.182 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:52:30 +0000 (0:00:00.418) 0:01:40.601 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:52:31 +0000 (0:00:00.644) 0:01:41.246 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658393535.202537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "519a89249596113f79bd13a28dd89cc6b014a4ff", "ctime": 1658393532.955537, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8989449, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658393532.9545372, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "3578234098", "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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:52:31 +0000 (0:00:00.392) 0:01:41.638 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:52:31 +0000 (0:00:00.025) 0:01:41.663 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [Assert to implicitly preserve encryption on existing pool] *************** task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:246 Thursday 21 July 2022 08:52:32 +0000 (0:00:01.017) 0:01:42.681 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-data-preservation.yml:10 Thursday 21 July 2022 08:52:32 +0000 (0:00:00.106) 0:01:42.787 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658393544.9935372, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658393544.9935372, "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": 1658393544.9935372, "nlink": 1, "path": "/opt/test2/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "3455679986", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-data-preservation.yml:15 Thursday 21 July 2022 08:52:33 +0000 (0:00:00.360) 0:01:43.148 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:255 Thursday 21 July 2022 08:52:33 +0000 (0:00:00.039) 0:01:43.187 ********* included: /tmp/tmpsvhdx31t/tests/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:1 Thursday 21 July 2022 08:52:33 +0000 (0:00:00.041) 0:01:43.229 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:52:33 +0000 (0:00:00.054) 0:01:43.284 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:52:33 +0000 (0:00:00.035) 0:01:43.319 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "c17cf2cc-7bcf-4073-ad33-b63f84cb9ea5" }, "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "size": "10G", "type": "crypt", "uuid": "leHcer-7W1w-GkQw-uLGh-j689-t2nW-bkL43M" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "45b8f1ac-4df9-490c-84c8-bfc9d58844a7" }, "/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-08-50-37-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/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": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/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": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/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": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:19 Thursday 21 July 2022 08:52:33 +0000 (0:00:00.375) 0:01:43.695 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002397", "end": "2022-07-21 04:52:32.942211", "rc": 0, "start": "2022-07-21 04:52:32.939814" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:52:34 +0000 (0:00:00.360) 0:01:44.056 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002222", "end": "2022-07-21 04:52:33.321850", "failed_when_result": false, "rc": 0, "start": "2022-07-21 04:52:33.319628" } STDOUT: luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7 /dev/sda - TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:33 Thursday 21 July 2022 08:52:34 +0000 (0:00:00.379) 0:01:44.435 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda'], 'encryption': True, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks1', 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:52:34 +0000 (0:00:00.058) 0:01:44.493 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:52:34 +0000 (0:00:00.033) 0:01:44.527 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpsvhdx31t/tests/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:52:34 +0000 (0:00:00.057) 0:01:44.584 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:52:34 +0000 (0:00:00.062) 0:01:44.647 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "pv": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.391) 0:01:45.039 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.100) 0:01:45.139 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.053) 0:01:45.192 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.090) 0:01:45.282 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.078) 0:01:45.360 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.026) 0:01:45.387 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.024) 0:01:45.412 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.091) 0:01:45.504 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.077) 0:01:45.582 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.024) 0:01:45.606 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.022) 0:01:45.629 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.023) 0:01:45.652 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:24 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.025) 0:01:45.678 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:30 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.026) 0:01:45.705 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.027) 0:01:45.733 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.026) 0:01:45.759 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.036) 0:01:45.795 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.045) 0:01:45.841 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 08:52:35 +0000 (0:00:00.044) 0:01:45.886 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 08:52:36 +0000 (0:00:00.028) 0:01:45.915 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 08:52:36 +0000 (0:00:00.029) 0:01:45.945 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:52:36 +0000 (0:00:00.029) 0:01:45.974 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:52:36 +0000 (0:00:00.045) 0:01:46.020 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 08:52:36 +0000 (0:00:00.045) 0:01:46.065 ********* skipping: [/cache/rhel-9.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/tmpsvhdx31t/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 08:52:36 +0000 (0:00:00.023) 0:01:46.088 ********* skipping: [/cache/rhel-9.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/tmpsvhdx31t/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 08:52:36 +0000 (0:00:00.021) 0:01:46.110 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 08:52:36 +0000 (0:00:00.023) 0:01:46.133 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:52:36 +0000 (0:00:00.022) 0:01:46.156 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:52:36 +0000 (0:00:00.045) 0:01:46.201 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:52:36 +0000 (0:00:00.047) 0:01:46.248 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml for /cache/rhel-9.qcow2.snap => (item=/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7) TASK [Get the backing device path] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 08:52:36 +0000 (0:00:00.043) 0:01:46.292 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/45b8f1ac-4df9-490c-84c8-bfc9d58844a7" ], "delta": "0:00:00.002529", "end": "2022-07-21 04:52:35.553752", "rc": 0, "start": "2022-07-21 04:52:35.551223" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 08:52:36 +0000 (0:00:00.382) 0:01:46.674 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 08:52:37 +0000 (0:00:00.882) 0:01:47.557 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.011823", "end": "2022-07-21 04:52:36.824405", "rc": 0, "start": "2022-07-21 04:52:36.812582" } STDOUT: LUKS header information for /dev/sda Version: 1 Cipher name: serpent Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: 84 c9 70 e6 3a c1 53 e0 82 f1 c9 d2 9e 2f 88 7d 47 ca f6 84 MK salt: b7 40 48 f5 07 7e 9c 27 01 bf b5 1d 21 92 73 49 5f 39 ab 62 4a a4 9c e9 27 83 b9 d9 fc f9 5f b6 MK iterations: 96946 UUID: 45b8f1ac-4df9-490c-84c8-bfc9d58844a7 Key Slot 0: ENABLED Iterations: 1546572 Salt: 38 fd f9 40 5f 45 72 cd f5 ae 4f 0d 12 91 7b f1 e5 0f 88 44 bc 23 95 66 61 ac 5e e9 c4 e8 d4 c6 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/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.384) 0:01:47.941 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.053) 0:01:47.995 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.025) 0:01:48.020 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.024) 0:01:48.044 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.047) 0:01:48.091 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7 /dev/sda -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.055) 0:01:48.147 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.050) 0:01:48.197 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.051) 0:01:48.249 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.038) 0:01:48.287 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.049) 0:01:48.336 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.035) 0:01:48.372 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.035) 0:01:48.407 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.050) 0:01:48.457 ********* included: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.045) 0:01:48.503 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.024) 0:01:48.527 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.025) 0:01:48.553 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.023) 0:01:48.576 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.024) 0:01:48.601 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.025) 0:01:48.627 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.025) 0:01:48.652 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.025) 0:01:48.677 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.037) 0:01:48.715 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.032) 0:01:48.747 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.041) 0:01:48.789 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 08:52:38 +0000 (0:00:00.049) 0:01:48.839 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 08:52:39 +0000 (0:00:00.106) 0:01:48.945 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:52:39 +0000 (0:00:00.040) 0:01:48.986 ********* ok: [/cache/rhel-9.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": "c17cf2cc-7bcf-4073-ad33-b63f84cb9ea5" } ], "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": "c17cf2cc-7bcf-4073-ad33-b63f84cb9ea5" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 08:52:39 +0000 (0:00:00.059) 0:01:49.045 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 08:52:39 +0000 (0:00:00.054) 0:01:49.099 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 08:52:39 +0000 (0:00:00.049) 0:01:49.149 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:52:39 +0000 (0:00:00.054) 0:01:49.203 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 08:52:39 +0000 (0:00:00.028) 0:01:49.232 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 08:52:39 +0000 (0:00:00.026) 0:01:49.259 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 08:52:39 +0000 (0:00:00.024) 0:01:49.283 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 08:52:39 +0000 (0:00:00.038) 0:01:49.322 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:52:39 +0000 (0:00:00.067) 0:01:49.389 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 08:52:39 +0000 (0:00:00.052) 0:01:49.441 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 08:52:39 +0000 (0:00:00.061) 0:01:49.503 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 08:52:39 +0000 (0:00:00.041) 0:01:49.545 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 08:52:39 +0000 (0:00:00.035) 0:01:49.580 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 08:52:39 +0000 (0:00:00.039) 0:01:49.619 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 08:52:39 +0000 (0:00:00.044) 0:01:49.664 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658393529.7305372, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658393529.7305372, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1239, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658393529.7305372, "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/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 08:52:40 +0000 (0:00:00.376) 0:01:50.040 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 08:52:40 +0000 (0:00:00.040) 0:01:50.080 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 08:52:40 +0000 (0:00:00.041) 0:01:50.122 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 08:52:40 +0000 (0:00:00.040) 0:01:50.163 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 08:52:40 +0000 (0:00:00.026) 0:01:50.189 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 08:52:40 +0000 (0:00:00.042) 0:01:50.232 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 08:52:40 +0000 (0:00:00.025) 0:01:50.258 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.843) 0:01:51.102 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.027) 0:01:51.129 ********* skipping: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.027) 0:01:51.156 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.102) 0:01:51.259 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.026) 0:01:51.285 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.026) 0:01:51.312 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.028) 0:01:51.340 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.027) 0:01:51.367 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.026) 0:01:51.394 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.056) 0:01:51.451 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.094) 0:01:51.546 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.037) 0:01:51.583 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.080) 0:01:51.663 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.038) 0:01:51.702 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.037) 0:01:51.740 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.038) 0:01:51.779 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.038) 0:01:51.817 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.036) 0:01:51.854 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 08:52:41 +0000 (0:00:00.035) 0:01:51.890 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 08:52:42 +0000 (0:00:00.036) 0:01:51.926 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 08:52:42 +0000 (0:00:00.035) 0:01:51.962 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 08:52:42 +0000 (0:00:00.035) 0:01:51.997 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:52:42 +0000 (0:00:00.460) 0:01:52.458 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:52:42 +0000 (0:00:00.383) 0:01:52.841 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:52:42 +0000 (0:00:00.050) 0:01:52.892 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:52:43 +0000 (0:00:00.036) 0:01:52.928 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:52:43 +0000 (0:00:00.037) 0:01:52.966 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 08:52:43 +0000 (0:00:00.039) 0:01:53.005 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 08:52:43 +0000 (0:00:00.041) 0:01:53.047 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 08:52:43 +0000 (0:00:00.042) 0:01:53.089 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 08:52:43 +0000 (0:00:00.040) 0:01:53.130 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:52:43 +0000 (0:00:00.039) 0:01:53.169 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:52:43 +0000 (0:00:00.038) 0:01:53.208 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:52:43 +0000 (0:00:00.053) 0:01:53.262 ********* ok: [/cache/rhel-9.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.031497", "end": "2022-07-21 04:52:42.542162", "rc": 0, "start": "2022-07-21 04:52:42.510665" } 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/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:52:43 +0000 (0:00:00.395) 0:01:53.657 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:52:43 +0000 (0:00:00.057) 0:01:53.715 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:52:43 +0000 (0:00:00.052) 0:01:53.767 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 08:52:43 +0000 (0:00:00.039) 0:01:53.806 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 08:52:43 +0000 (0:00:00.042) 0:01:53.849 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 08:52:43 +0000 (0:00:00.044) 0:01:53.894 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 08:52:44 +0000 (0:00:00.040) 0:01:53.934 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:52:44 +0000 (0:00:00.086) 0:01:54.020 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:52:44 +0000 (0:00:00.025) 0:01:54.046 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:257 Thursday 21 July 2022 08:52:44 +0000 (0:00:00.082) 0:01:54.129 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:52:44 +0000 (0:00:00.052) 0:01:54.182 ********* included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:52:44 +0000 (0:00:00.035) 0:01:54.217 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:52:44 +0000 (0:00:00.518) 0:01:54.735 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:52:44 +0000 (0:00:00.063) 0:01:54.799 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:52:44 +0000 (0:00:00.036) 0:01:54.835 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:52:44 +0000 (0:00:00.033) 0:01:54.869 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:52:45 +0000 (0:00:00.047) 0:01:54.916 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:52:45 +0000 (0:00:00.020) 0:01:54.937 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:52:45 +0000 (0:00:00.027) 0:01:54.965 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:52:45 +0000 (0:00:00.037) 0:01:55.002 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "disk" } ] } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:52:45 +0000 (0:00:00.041) 0:01:55.043 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:52:45 +0000 (0:00:00.028) 0:01:55.072 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:52:45 +0000 (0:00:00.027) 0:01:55.099 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:52:45 +0000 (0:00:00.027) 0:01:55.126 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:52:45 +0000 (0:00:00.028) 0:01:55.155 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:52:45 +0000 (0:00:00.055) 0:01:55.211 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:52:45 +0000 (0:00:00.023) 0:01:55.235 ********* changed: [/cache/rhel-9.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-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "password": "-", "state": "absent" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "_mount_id": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:52:47 +0000 (0:00:02.331) 0:01:57.566 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:52:47 +0000 (0:00:00.038) 0:01:57.605 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:52:47 +0000 (0:00:00.024) 0:01:57.629 ********* ok: [/cache/rhel-9.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-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "password": "-", "state": "absent" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "_mount_id": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:52:47 +0000 (0:00:00.118) 0:01:57.748 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:52:47 +0000 (0:00:00.039) 0:01:57.787 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "_mount_id": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:52:47 +0000 (0:00:00.039) 0:01:57.826 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:52:48 +0000 (0:00:00.422) 0:01:58.249 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:52:49 +0000 (0:00:00.676) 0:01:58.925 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:52:49 +0000 (0:00:00.041) 0:01:58.967 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:52:49 +0000 (0:00:00.670) 0:01:59.637 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658393535.202537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "519a89249596113f79bd13a28dd89cc6b014a4ff", "ctime": 1658393532.955537, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8989449, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658393532.9545372, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "3578234098", "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/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:52:50 +0000 (0:00:00.387) 0:02:00.025 ********* changed: [/cache/rhel-9.qcow2.snap] => (item={'backing_device': '/dev/sda', 'name': 'luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:52:50 +0000 (0:00:00.396) 0:02:00.421 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:267 Thursday 21 July 2022 08:52:51 +0000 (0:00:00.956) 0:02:01.378 ********* included: /tmp/tmpsvhdx31t/tests/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:1 Thursday 21 July 2022 08:52:51 +0000 (0:00:00.046) 0:02:01.424 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:52:51 +0000 (0:00:00.037) 0:02:01.461 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "_mount_id": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:52:51 +0000 (0:00:00.058) 0:02:01.519 ********* ok: [/cache/rhel-9.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-08-50-37-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/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": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/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": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/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": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:19 Thursday 21 July 2022 08:52:52 +0000 (0:00:00.389) 0:02:01.909 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002416", "end": "2022-07-21 04:52:51.158499", "rc": 0, "start": "2022-07-21 04:52:51.156083" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:52:52 +0000 (0:00:00.365) 0:02:02.274 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002455", "end": "2022-07-21 04:52:51.563056", "failed_when_result": false, "rc": 0, "start": "2022-07-21 04:52:51.560601" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:33 Thursday 21 July 2022 08:52:52 +0000 (0:00:00.404) 0:02:02.679 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:52:52 +0000 (0:00:00.021) 0:02:02.700 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': True, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks1', 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'lvmpv', 'mount_options': 'defaults', 'mount_point': None, 'name': 'foo', 'raid_level': None, 'size': 10735321088, 'state': 'absent', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7', '_raw_device': '/dev/sda', '_mount_id': '/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:52:52 +0000 (0:00:00.055) 0:02:02.755 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 08:52:52 +0000 (0:00:00.095) 0:02:02.851 ********* included: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.078) 0:02:02.930 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/luks-45b8f1ac-4df9-490c-84c8-bfc9d58844a7" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.042) 0:02:02.973 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.055) 0:02:03.029 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.024) 0:02:03.053 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.047) 0:02:03.101 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.035) 0:02:03.136 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.024) 0:02:03.161 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.023) 0:02:03.184 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.023) 0:02:03.208 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.035) 0:02:03.243 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.067) 0:02:03.311 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.023) 0:02:03.335 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.049) 0:02:03.384 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.035) 0:02:03.420 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.035) 0:02:03.455 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.023) 0:02:03.479 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.022) 0:02:03.501 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658393566.384537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658393566.384537, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 361, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658393566.384537, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 08:52:53 +0000 (0:00:00.362) 0:02:03.864 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 08:52:54 +0000 (0:00:00.040) 0:02:03.904 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 08:52:54 +0000 (0:00:00.028) 0:02:03.932 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 08:52:54 +0000 (0:00:00.038) 0:02:03.971 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 08:52:54 +0000 (0:00:00.024) 0:02:03.996 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 08:52:54 +0000 (0:00:00.022) 0:02:04.019 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 08:52:54 +0000 (0:00:00.365) 0:02:04.385 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 08:52:55 +0000 (0:00:00.906) 0:02:05.291 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 08:52:55 +0000 (0:00:00.026) 0:02:05.318 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 08:52:55 +0000 (0:00:00.102) 0:02:05.420 ********* skipping: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 08:52:55 +0000 (0:00:00.023) 0:02:05.444 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 08:52:55 +0000 (0:00:00.025) 0:02:05.469 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 08:52:55 +0000 (0:00:00.026) 0:02:05.495 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 08:52:55 +0000 (0:00:00.025) 0:02:05.521 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 08:52:55 +0000 (0:00:00.023) 0:02:05.544 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 08:52:55 +0000 (0:00:00.022) 0:02:05.566 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 08:52:55 +0000 (0:00:00.056) 0:02:05.623 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 08:52:55 +0000 (0:00:00.050) 0:02:05.673 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 08:52:55 +0000 (0:00:00.034) 0:02:05.707 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 08:52:55 +0000 (0:00:00.035) 0:02:05.743 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 08:52:55 +0000 (0:00:00.040) 0:02:05.784 ********* ok: [/cache/rhel-9.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/tmpsvhdx31t/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 08:52:55 +0000 (0:00:00.043) 0:02:05.827 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 08:52:55 +0000 (0:00:00.040) 0:02:05.867 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.037) 0:02:05.904 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.039) 0:02:05.944 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.035) 0:02:05.979 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.034) 0:02:06.013 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.037) 0:02:06.051 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.040) 0:02:06.091 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.026) 0:02:06.118 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.036) 0:02:06.154 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.034) 0:02:06.189 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.041) 0:02:06.230 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.038) 0:02:06.269 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.041) 0:02:06.310 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.041) 0:02:06.352 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.043) 0:02:06.395 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.039) 0:02:06.434 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.040) 0:02:06.474 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.039) 0:02:06.514 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.024) 0:02:06.538 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.023) 0:02:06.562 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.025) 0:02:06.587 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.025) 0:02:06.613 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.026) 0:02:06.640 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.024) 0:02:06.665 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.025) 0:02:06.690 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:16 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.024) 0:02:06.715 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.039) 0:02:06.754 ********* ok: [/cache/rhel-9.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/rhel-9.qcow2.snap : ok=540 changed=22 unreachable=0 failed=3 skipped=371 rescued=3 ignored=0 Thursday 21 July 2022 08:52:56 +0000 (0:00:00.049) 0:02:06.803 ********* =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state -- 13.24s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 8.70s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.94s /tmp/tmpsvhdx31t/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.33s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 1.77s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.62s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.57s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.53s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Gathering Facts --------------------------------------------------------- 1.30s /tmp/tmpsvhdx31t/tests/tests_luks_pool.yml:2 ---------------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.29s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : make sure blivet is available -------------- 1.26s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : get required packages ---------------------- 1.26s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 linux-system-roles.storage : Update facts ------------------------------- 1.04s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.03s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.02s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.00s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.96s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Ensure cryptsetup is present -------------------------------------------- 0.95s /tmp/tmpsvhdx31t/tests/verify-pool-member-encryption.yml:6 -------------------- linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.94s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 linux-system-roles.storage : Update facts ------------------------------- 0.93s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpi19f9hzy 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/tmpfc26zqih/tests/storage/create-test-file.yml statically imported: /tmp/tmpfc26zqih/tests/storage/verify-data-preservation.yml statically imported: /tmp/tmpfc26zqih/tests/storage/create-test-file.yml statically imported: /tmp/tmpfc26zqih/tests/storage/verify-data-preservation.yml statically imported: /tmp/tmpfc26zqih/tests/storage/create-test-file.yml statically imported: /tmp/tmpfc26zqih/tests/storage/verify-data-preservation.yml Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_luks_pool.yml ************************************************** 1 plays in /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:2 Thursday 21 July 2022 12:03:49 +0000 (0:00:00.016) 0:00:00.016 ********* ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:14 Thursday 21 July 2022 12:03:51 +0000 (0:00:01.303) 0:00:01.320 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 12:03:51 +0000 (0:00:00.035) 0:00:01.355 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 12:03:51 +0000 (0:00:00.029) 0:00:01.385 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 12:03:51 +0000 (0:00:00.498) 0:00:01.883 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 12:03:51 +0000 (0:00:00.058) 0:00:01.942 ********* ok: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 12:03:51 +0000 (0:00:00.037) 0:00:01.980 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 12:03:51 +0000 (0:00:00.032) 0:00:02.013 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 12:03:51 +0000 (0:00:00.054) 0:00:02.068 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 12:03:52 +0000 (0:00:00.020) 0:00:02.088 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 12:03:53 +0000 (0:00:01.240) 0:00:03.329 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 12:03:53 +0000 (0:00:00.034) 0:00:03.364 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 12:03:53 +0000 (0:00:00.034) 0:00:03.399 ********* ok: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 12:03:54 +0000 (0:00:00.705) 0:00:04.104 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 12:03:54 +0000 (0:00:00.044) 0:00:04.149 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 12:03:54 +0000 (0:00:00.030) 0:00:04.180 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 12:03:54 +0000 (0:00:00.035) 0:00:04.215 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 12:03:54 +0000 (0:00:00.032) 0:00:04.248 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 12:03:55 +0000 (0:00:00.861) 0:00:05.109 ********* ok: [/cache/rhel-9.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" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autofs.service": { "name": "autofs.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "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.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" }, "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": "inactive", "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" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "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" }, "insights-client-boot.service": { "name": "insights-client-boot.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "insights-client-results.service": { "name": "insights-client-results.service", "source": "systemd", "state": "inactive", "status": "static" }, "insights-client.service": { "name": "insights-client.service", "source": "systemd", "state": "inactive", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "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" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "logrotate.service": { "name": "logrotate.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.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" }, "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" }, "microcode.service": { "name": "microcode.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" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "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": "running", "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": "inactive", "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" }, "rhsm-facts.service": { "name": "rhsm-facts.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm.service": { "name": "rhsm.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsmcertd.service": { "name": "rhsmcertd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-svcgssd.service": { "name": "rpc-svcgssd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "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" }, "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" }, "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-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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-7B77\\x2d95E7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vda2.service": { "name": "systemd-fsck@dev-vda2.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "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-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-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-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "stopped", "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-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-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" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "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" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 12:03:56 +0000 (0:00:01.803) 0:00:06.912 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 12:03:56 +0000 (0:00:00.091) 0:00:07.004 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 12:03:56 +0000 (0:00:00.022) 0:00:07.026 ********* ok: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 12:03:57 +0000 (0:00:00.526) 0:00:07.553 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 12:03:57 +0000 (0:00:00.037) 0:00:07.591 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 12:03:57 +0000 (0:00:00.021) 0:00:07.612 ********* ok: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 12:03:57 +0000 (0:00:00.037) 0:00:07.650 ********* ok: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 12:03:57 +0000 (0:00:00.037) 0:00:07.687 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 12:03:57 +0000 (0:00:00.035) 0:00:07.722 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 12:03:57 +0000 (0:00:00.033) 0:00:07.755 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 12:03:57 +0000 (0:00:00.023) 0:00:07.779 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 12:03:57 +0000 (0:00:00.032) 0:00:07.811 ********* skipping: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 12:03:57 +0000 (0:00:00.022) 0:00:07.834 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 12:03:58 +0000 (0:00:00.490) 0:00:08.324 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 12:03:58 +0000 (0:00:00.023) 0:00:08.347 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:17 Thursday 21 July 2022 12:03:59 +0000 (0:00:01.006) 0:00:09.354 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:23 Thursday 21 July 2022 12:03:59 +0000 (0:00:00.035) 0:00:09.389 ********* included: /tmp/tmpfc26zqih/tests/storage/get_unused_disk.yml for /cache/rhel-9.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 12:03:59 +0000 (0:00:00.037) 0:00:09.427 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 12:03:59 +0000 (0:00:00.516) 0:00:09.944 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpfc26zqih/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 12:03:59 +0000 (0:00:00.047) 0:00:09.992 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 12:03:59 +0000 (0:00:00.039) 0:00:10.031 ********* ok: [/cache/rhel-9.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create an encrypted lvm pool] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:34 Thursday 21 July 2022 12:04:00 +0000 (0:00:00.064) 0:00:10.095 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 12:04:00 +0000 (0:00:00.041) 0:00:10.136 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 12:04:00 +0000 (0:00:00.037) 0:00:10.173 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 12:04:00 +0000 (0:00:00.550) 0:00:10.724 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 12:04:00 +0000 (0:00:00.065) 0:00:10.789 ********* ok: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 12:04:00 +0000 (0:00:00.033) 0:00:10.823 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 12:04:00 +0000 (0:00:00.036) 0:00:10.859 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 12:04:00 +0000 (0:00:00.055) 0:00:10.915 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 12:04:00 +0000 (0:00:00.019) 0:00:10.935 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 12:04:00 +0000 (0:00:00.028) 0:00:10.963 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 12:04:00 +0000 (0:00:00.038) 0:00:11.002 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 12:04:00 +0000 (0:00:00.033) 0:00:11.035 ********* ok: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 12:04:02 +0000 (0:00:01.350) 0:00:12.385 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 12:04:02 +0000 (0:00:00.049) 0:00:12.435 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 12:04:02 +0000 (0:00:00.034) 0:00:12.469 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 12:04:02 +0000 (0:00:00.038) 0:00:12.507 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 12:04:02 +0000 (0:00:00.035) 0:00:12.543 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 12:04:03 +0000 (0:00:00.916) 0:00:13.459 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 12:04:03 +0000 (0:00:00.029) 0:00:13.489 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 12:04:03 +0000 (0:00:00.057) 0:00:13.547 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 12:04:03 +0000 (0:00:00.023) 0:00:13.570 ********* fatal: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 12:04:04 +0000 (0:00:01.327) 0:00:14.897 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "encrypted pool 'foo' missing key/password", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': True, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 12:04:04 +0000 (0:00:00.068) 0:00:14.966 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:53 Thursday 21 July 2022 12:04:04 +0000 (0:00:00.022) 0:00:14.988 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the keyless luks test] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:59 Thursday 21 July 2022 12:04:04 +0000 (0:00:00.073) 0:00:15.062 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:64 Thursday 21 July 2022 12:04:05 +0000 (0:00:00.125) 0:00:15.187 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [Create a key file] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:73 Thursday 21 July 2022 12:04:05 +0000 (0:00:00.031) 0:00:15.219 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/storage_testgyqn9_nglukskey", "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/tmpfc26zqih/tests/storage/tests_luks_pool.yml:80 Thursday 21 July 2022 12:04:05 +0000 (0:00:00.436) 0:00:15.655 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "checksum": "7a4dff3752e2baf5617c57eaac048e2b95e8af91", "dest": "/tmp/storage_testgyqn9_nglukskey", "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-1658405045.6314144-105963-206116981032284/source", "state": "file", "uid": 0 } TASK [Create an encrypted lvm pool using a key file] *************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:87 Thursday 21 July 2022 12:04:06 +0000 (0:00:00.761) 0:00:16.417 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 12:04:06 +0000 (0:00:00.038) 0:00:16.455 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 12:04:06 +0000 (0:00:00.034) 0:00:16.490 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 12:04:06 +0000 (0:00:00.491) 0:00:16.982 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 12:04:06 +0000 (0:00:00.060) 0:00:17.042 ********* ok: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 12:04:07 +0000 (0:00:00.035) 0:00:17.077 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 12:04:07 +0000 (0:00:00.034) 0:00:17.112 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 12:04:07 +0000 (0:00:00.054) 0:00:17.167 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 12:04:07 +0000 (0:00:00.021) 0:00:17.188 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 12:04:07 +0000 (0:00:00.026) 0:00:17.215 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_key": "/tmp/storage_testgyqn9_nglukskey", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 12:04:07 +0000 (0:00:00.037) 0:00:17.252 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 12:04:07 +0000 (0:00:00.034) 0:00:17.287 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 12:04:07 +0000 (0:00:00.029) 0:00:17.317 ********* skipping: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 12:04:07 +0000 (0:00:00.026) 0:00:17.343 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 12:04:07 +0000 (0:00:00.026) 0:00:17.369 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 12:04:07 +0000 (0:00:00.026) 0:00:17.395 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 12:04:07 +0000 (0:00:00.055) 0:00:17.450 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 12:04:07 +0000 (0:00:00.021) 0:00:17.472 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-2717cb3b-f944-438c-91e9-a399ca51d4cf", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-2717cb3b-f944-438c-91e9-a399ca51d4cf", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-2717cb3b-f944-438c-91e9-a399ca51d4cf", "password": "/tmp/storage_testgyqn9_nglukskey", "state": "present" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2", "cryptsetup", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_testgyqn9_nglukskey", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 12:04:19 +0000 (0:00:12.433) 0:00:29.905 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 12:04:19 +0000 (0:00:00.103) 0:00:30.009 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 12:04:19 +0000 (0:00:00.023) 0:00:30.032 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-2717cb3b-f944-438c-91e9-a399ca51d4cf", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-2717cb3b-f944-438c-91e9-a399ca51d4cf", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-2717cb3b-f944-438c-91e9-a399ca51d4cf", "password": "/tmp/storage_testgyqn9_nglukskey", "state": "present" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "lvm2", "cryptsetup", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_testgyqn9_nglukskey", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 12:04:19 +0000 (0:00:00.042) 0:00:30.075 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_testgyqn9_nglukskey", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 12:04:20 +0000 (0:00:00.042) 0:00:30.117 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 12:04:20 +0000 (0:00:00.038) 0:00:30.156 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 12:04:20 +0000 (0:00:00.039) 0:00:30.195 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 12:04:21 +0000 (0:00:00.927) 0:00:31.122 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 12:04:21 +0000 (0:00:00.539) 0:00:31.662 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 12:04:22 +0000 (0:00:00.658) 0:00:32.320 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 12:04:22 +0000 (0:00:00.355) 0:00:32.675 ********* changed: [/cache/rhel-9.qcow2.snap] => (item={'backing_device': '/dev/sda', 'name': 'luks-2717cb3b-f944-438c-91e9-a399ca51d4cf', 'password': '/tmp/storage_testgyqn9_nglukskey', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-2717cb3b-f944-438c-91e9-a399ca51d4cf", "password": "/tmp/storage_testgyqn9_nglukskey", "state": "present" } } MSG: line added and ownership, perms or SE linux context changed TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 12:04:23 +0000 (0:00:00.514) 0:00:33.190 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:102 Thursday 21 July 2022 12:04:24 +0000 (0:00:00.986) 0:00:34.177 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 12:04:24 +0000 (0:00:00.038) 0:00:34.216 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": "/tmp/storage_testgyqn9_nglukskey", "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/tmpfc26zqih/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 12:04:24 +0000 (0:00:00.086) 0:00:34.302 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 12:04:24 +0000 (0:00:00.038) 0:00:34.341 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "5405947d-0df5-466c-9b81-4db8c8d8096d" }, "/dev/mapper/luks-2717cb3b-f944-438c-91e9-a399ca51d4cf": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-2717cb3b-f944-438c-91e9-a399ca51d4cf", "size": "10G", "type": "crypt", "uuid": "RfTFKP-c2vu-iFer-vJLg-GpvZ-BVsl-2aT8LA" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "2717cb3b-f944-438c-91e9-a399ca51d4cf" }, "/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-12-03-37-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/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": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/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": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/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": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 12:04:24 +0000 (0:00:00.490) 0:00:34.832 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004600", "end": "2022-07-21 08:04:26.050524", "rc": 0, "start": "2022-07-21 08:04:25.045924" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 12:04:26 +0000 (0:00:01.502) 0:00:36.334 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002486", "end": "2022-07-21 08:04:26.436564", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:04:26.434078" } STDOUT: luks-2717cb3b-f944-438c-91e9-a399ca51d4cf /dev/sda /tmp/storage_testgyqn9_nglukskey TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 12:04:26 +0000 (0:00:00.376) 0:00:36.711 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda'], 'encryption': True, 'encryption_cipher': None, 'encryption_key': '/tmp/storage_testgyqn9_nglukskey', '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/tmpfc26zqih/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 12:04:26 +0000 (0:00:00.058) 0:00:36.770 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 12:04:26 +0000 (0:00:00.033) 0:00:36.803 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 12:04:26 +0000 (0:00:00.048) 0:00:36.852 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-2717cb3b-f944-438c-91e9-a399ca51d4cf" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 12:04:26 +0000 (0:00:00.071) 0:00:36.924 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/mapper/luks-2717cb3b-f944-438c-91e9-a399ca51d4cf) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-2717cb3b-f944-438c-91e9-a399ca51d4cf", "pv": "/dev/mapper/luks-2717cb3b-f944-438c-91e9-a399ca51d4cf" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 12:04:27 +0000 (0:00:00.513) 0:00:37.438 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 12:04:27 +0000 (0:00:00.049) 0:00:37.487 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-2717cb3b-f944-438c-91e9-a399ca51d4cf" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 12:04:27 +0000 (0:00:00.048) 0:00:37.536 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 12:04:27 +0000 (0:00:00.086) 0:00:37.622 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 12:04:27 +0000 (0:00:00.039) 0:00:37.661 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 12:04:27 +0000 (0:00:00.023) 0:00:37.685 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 12:04:27 +0000 (0:00:00.026) 0:00:37.712 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/mapper/luks-2717cb3b-f944-438c-91e9-a399ca51d4cf) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-2717cb3b-f944-438c-91e9-a399ca51d4cf" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 12:04:27 +0000 (0:00:00.090) 0:00:37.802 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 12:04:27 +0000 (0:00:00.046) 0:00:37.848 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 12:04:27 +0000 (0:00:00.025) 0:00:37.874 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 12:04:27 +0000 (0:00:00.026) 0:00:37.900 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 12:04:27 +0000 (0:00:00.054) 0:00:37.955 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 12:04:27 +0000 (0:00:00.026) 0:00:37.982 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 12:04:27 +0000 (0:00:00.023) 0:00:38.006 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 12:04:27 +0000 (0:00:00.024) 0:00:38.030 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 12:04:27 +0000 (0:00:00.026) 0:00:38.057 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 12:04:28 +0000 (0:00:00.035) 0:00:38.092 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 12:04:28 +0000 (0:00:00.046) 0:00:38.138 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 12:04:28 +0000 (0:00:00.044) 0:00:38.182 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 12:04:28 +0000 (0:00:00.027) 0:00:38.210 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 12:04:28 +0000 (0:00:00.027) 0:00:38.238 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 12:04:28 +0000 (0:00:00.029) 0:00:38.268 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 12:04:28 +0000 (0:00:00.045) 0:00:38.313 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 12:04:28 +0000 (0:00:00.043) 0:00:38.357 ********* skipping: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 12:04:28 +0000 (0:00:00.025) 0:00:38.383 ********* skipping: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 12:04:28 +0000 (0:00:00.025) 0:00:38.408 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 12:04:28 +0000 (0:00:00.026) 0:00:38.434 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 12:04:28 +0000 (0:00:00.024) 0:00:38.459 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 12:04:28 +0000 (0:00:00.049) 0:00:38.508 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "1", "_storage_test_expected_crypttab_key_file": "/tmp/storage_testgyqn9_nglukskey" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 12:04:28 +0000 (0:00:00.051) 0:00:38.559 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml for /cache/rhel-9.qcow2.snap => (item=/dev/mapper/luks-2717cb3b-f944-438c-91e9-a399ca51d4cf) TASK [Get the backing device path] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 12:04:28 +0000 (0:00:00.044) 0:00:38.604 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/2717cb3b-f944-438c-91e9-a399ca51d4cf" ], "delta": "0:00:00.003640", "end": "2022-07-21 08:04:28.709126", "rc": 0, "start": "2022-07-21 08:04:28.705486" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 12:04:28 +0000 (0:00:00.379) 0:00:38.983 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 12:04:29 +0000 (0:00:00.872) 0:00:39.856 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.014410", "end": "2022-07-21 08:04:29.973834", "rc": 0, "start": "2022-07-21 08:04:29.959424" } STDOUT: LUKS header information Version: 2 Epoch: 3 Metadata area: 16384 [bytes] Keyslots area: 16744448 [bytes] UUID: 2717cb3b-f944-438c-91e9-a399ca51d4cf 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: 11 Memory: 908436 Threads: 4 Salt: 85 36 03 0c e1 81 ec 5d 73 c6 68 f1 74 a5 11 9f 22 45 1d b8 23 eb 95 00 cf 2f c8 aa a7 b4 28 91 AF stripes: 4000 AF hash: sha256 Area offset:32768 [bytes] Area length:258048 [bytes] Digest ID: 0 Tokens: Digests: 0: pbkdf2 Hash: sha256 Iterations: 96803 Salt: 32 5a fc 35 eb cf 87 1a 3b 63 fc a6 0e 53 4f 4b 2f 56 62 c1 18 42 01 ec ef af dd 89 a0 8e 03 6b Digest: f9 ba 6d d8 4f 4f 42 19 73 aa 39 ee ea 04 4f d2 bf c7 cf 59 84 a0 b7 ad 5c 7b 57 6a 25 14 44 23 TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.393) 0:00:40.249 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.026) 0:00:40.276 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.024) 0:00:40.300 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.024) 0:00:40.325 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/mapper/luks-2717cb3b-f944-438c-91e9-a399ca51d4cf) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.047) 0:00:40.373 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-2717cb3b-f944-438c-91e9-a399ca51d4cf /dev/sda /tmp/storage_testgyqn9_nglukskey" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.054) 0:00:40.427 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.051) 0:00:40.478 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.050) 0:00:40.529 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.036) 0:00:40.566 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.049) 0:00:40.615 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.034) 0:00:40.649 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.037) 0:00:40.687 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.050) 0:00:40.738 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.047) 0:00:40.785 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.025) 0:00:40.811 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.026) 0:00:40.837 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.033) 0:00:40.870 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.027) 0:00:40.898 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.025) 0:00:40.924 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.024) 0:00:40.949 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.023) 0:00:40.972 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.037) 0:00:41.010 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 12:04:30 +0000 (0:00:00.035) 0:00:41.046 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.044) 0:00:41.090 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.056) 0:00:41.147 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.092) 0:00:41.240 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.086) 0:00:41.326 ********* ok: [/cache/rhel-9.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": "5405947d-0df5-466c-9b81-4db8c8d8096d" } ], "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": "5405947d-0df5-466c-9b81-4db8c8d8096d" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.126) 0:00:41.453 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.049) 0:00:41.503 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.049) 0:00:41.552 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.053) 0:00:41.606 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.026) 0:00:41.632 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.026) 0:00:41.658 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.026) 0:00:41.685 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.035) 0:00:41.721 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.063) 0:00:41.784 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.049) 0:00:41.833 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.050) 0:00:41.884 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.036) 0:00:41.921 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.033) 0:00:41.954 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.042) 0:00:41.997 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 12:04:31 +0000 (0:00:00.041) 0:00:42.038 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658405059.5640035, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658405059.5640035, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 872, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658405059.5640035, "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/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 12:04:32 +0000 (0:00:00.372) 0:00:42.411 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 12:04:32 +0000 (0:00:00.039) 0:00:42.450 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 12:04:32 +0000 (0:00:00.041) 0:00:42.492 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 12:04:32 +0000 (0:00:00.036) 0:00:42.529 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 12:04:32 +0000 (0:00:00.025) 0:00:42.554 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 12:04:32 +0000 (0:00:00.041) 0:00:42.596 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 12:04:32 +0000 (0:00:00.026) 0:00:42.623 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 12:04:33 +0000 (0:00:00.825) 0:00:43.449 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 12:04:33 +0000 (0:00:00.026) 0:00:43.475 ********* skipping: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 12:04:33 +0000 (0:00:00.025) 0:00:43.501 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 12:04:33 +0000 (0:00:00.082) 0:00:43.583 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 12:04:33 +0000 (0:00:00.025) 0:00:43.608 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 12:04:33 +0000 (0:00:00.025) 0:00:43.634 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 12:04:33 +0000 (0:00:00.025) 0:00:43.660 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 12:04:33 +0000 (0:00:00.025) 0:00:43.685 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 12:04:33 +0000 (0:00:00.027) 0:00:43.712 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 12:04:33 +0000 (0:00:00.089) 0:00:43.802 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 12:04:33 +0000 (0:00:00.084) 0:00:43.886 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 12:04:33 +0000 (0:00:00.077) 0:00:43.964 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 12:04:33 +0000 (0:00:00.039) 0:00:44.004 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 12:04:33 +0000 (0:00:00.038) 0:00:44.042 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 12:04:34 +0000 (0:00:00.039) 0:00:44.081 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 12:04:34 +0000 (0:00:00.037) 0:00:44.119 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 12:04:34 +0000 (0:00:00.038) 0:00:44.158 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 12:04:34 +0000 (0:00:00.038) 0:00:44.196 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 12:04:34 +0000 (0:00:00.038) 0:00:44.234 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 12:04:34 +0000 (0:00:00.034) 0:00:44.269 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 12:04:34 +0000 (0:00:00.037) 0:00:44.306 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 12:04:34 +0000 (0:00:00.037) 0:00:44.344 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 12:04:34 +0000 (0:00:00.466) 0:00:44.810 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 12:04:35 +0000 (0:00:00.380) 0:00:45.190 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 12:04:35 +0000 (0:00:00.051) 0:00:45.242 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 12:04:35 +0000 (0:00:00.036) 0:00:45.278 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 12:04:35 +0000 (0:00:00.036) 0:00:45.315 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 12:04:35 +0000 (0:00:00.039) 0:00:45.355 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 12:04:35 +0000 (0:00:00.041) 0:00:45.396 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 12:04:35 +0000 (0:00:00.038) 0:00:45.435 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 12:04:35 +0000 (0:00:00.037) 0:00:45.473 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 12:04:35 +0000 (0:00:00.038) 0:00:45.511 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 12:04:35 +0000 (0:00:00.040) 0:00:45.551 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 12:04:35 +0000 (0:00:00.050) 0:00:45.602 ********* ok: [/cache/rhel-9.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.033487", "end": "2022-07-21 08:04:35.732677", "rc": 0, "start": "2022-07-21 08:04:35.699190" } 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/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 12:04:35 +0000 (0:00:00.411) 0:00:46.013 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 12:04:35 +0000 (0:00:00.052) 0:00:46.066 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 12:04:36 +0000 (0:00:00.054) 0:00:46.120 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 12:04:36 +0000 (0:00:00.039) 0:00:46.160 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 12:04:36 +0000 (0:00:00.040) 0:00:46.200 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 12:04:36 +0000 (0:00:00.040) 0:00:46.240 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 12:04:36 +0000 (0:00:00.039) 0:00:46.280 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 12:04:36 +0000 (0:00:00.070) 0:00:46.351 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 12:04:36 +0000 (0:00:00.021) 0:00:46.373 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/tests_luks_pool.yml:104 Thursday 21 July 2022 12:04:36 +0000 (0:00:00.068) 0:00:46.441 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "path": "/tmp/storage_testgyqn9_nglukskey", "state": "absent" } TASK [create a file] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/create-test-file.yml:10 Thursday 21 July 2022 12:04:36 +0000 (0:00:00.507) 0:00:46.948 ********* changed: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/tests_luks_pool.yml:114 Thursday 21 July 2022 12:04:37 +0000 (0:00:00.380) 0:00:47.328 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 12:04:37 +0000 (0:00:00.040) 0:00:47.369 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 12:04:37 +0000 (0:00:00.038) 0:00:47.408 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 12:04:37 +0000 (0:00:00.517) 0:00:47.926 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 12:04:37 +0000 (0:00:00.086) 0:00:48.012 ********* ok: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 12:04:37 +0000 (0:00:00.034) 0:00:48.047 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 12:04:38 +0000 (0:00:00.037) 0:00:48.085 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 12:04:38 +0000 (0:00:00.059) 0:00:48.145 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 12:04:38 +0000 (0:00:00.023) 0:00:48.168 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 12:04:38 +0000 (0:00:00.030) 0:00:48.198 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 12:04:38 +0000 (0:00:00.041) 0:00:48.240 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 12:04:38 +0000 (0:00:00.034) 0:00:48.274 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 12:04:38 +0000 (0:00:00.027) 0:00:48.302 ********* skipping: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 12:04:38 +0000 (0:00:00.027) 0:00:48.329 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 12:04:38 +0000 (0:00:00.028) 0:00:48.357 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 12:04:38 +0000 (0:00:00.028) 0:00:48.386 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 12:04:38 +0000 (0:00:00.058) 0:00:48.445 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 12:04:38 +0000 (0:00:00.022) 0:00:48.467 ********* fatal: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 12:04:39 +0000 (0:00:01.521) 0:00:49.988 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove and recreate existing pool 'foo' in safe mode", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks2', 'encryption_password': 'yabbadabbadoo', 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 12:04:39 +0000 (0:00:00.070) 0:00:50.058 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:132 Thursday 21 July 2022 12:04:40 +0000 (0:00:00.021) 0:00:50.079 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the safe_mode test] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:138 Thursday 21 July 2022 12:04:40 +0000 (0:00:00.040) 0:00:50.120 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-data-preservation.yml:10 Thursday 21 July 2022 12:04:40 +0000 (0:00:00.059) 0:00:50.179 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658405077.0500033, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658405077.0500033, "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": 1658405077.0500033, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "152945597", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-data-preservation.yml:15 Thursday 21 July 2022 12:04:40 +0000 (0:00:00.358) 0:00:50.537 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Remove the encryption layer] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:145 Thursday 21 July 2022 12:04:40 +0000 (0:00:00.039) 0:00:50.577 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 12:04:40 +0000 (0:00:00.040) 0:00:50.617 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 12:04:40 +0000 (0:00:00.035) 0:00:50.653 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 12:04:41 +0000 (0:00:00.543) 0:00:51.197 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 12:04:41 +0000 (0:00:00.064) 0:00:51.261 ********* ok: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 12:04:41 +0000 (0:00:00.037) 0:00:51.299 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 12:04:41 +0000 (0:00:00.038) 0:00:51.337 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 12:04:41 +0000 (0:00:00.058) 0:00:51.396 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 12:04:41 +0000 (0:00:00.022) 0:00:51.418 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 12:04:41 +0000 (0:00:00.031) 0:00:51.449 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 12:04:41 +0000 (0:00:00.042) 0:00:51.492 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 12:04:41 +0000 (0:00:00.039) 0:00:51.531 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 12:04:41 +0000 (0:00:00.028) 0:00:51.560 ********* skipping: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 12:04:41 +0000 (0:00:00.030) 0:00:51.590 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 12:04:41 +0000 (0:00:00.028) 0:00:51.619 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 12:04:41 +0000 (0:00:00.035) 0:00:51.655 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 12:04:41 +0000 (0:00:00.061) 0:00:51.717 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 12:04:41 +0000 (0:00:00.024) 0:00:51.741 ********* changed: [/cache/rhel-9.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-2717cb3b-f944-438c-91e9-a399ca51d4cf", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-2717cb3b-f944-438c-91e9-a399ca51d4cf", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-2717cb3b-f944-438c-91e9-a399ca51d4cf", "password": "-", "state": "absent" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/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": [ "xfsprogs", "e2fsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 12:04:44 +0000 (0:00:02.948) 0:00:54.690 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 12:04:44 +0000 (0:00:00.040) 0:00:54.730 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 12:04:44 +0000 (0:00:00.024) 0:00:54.755 ********* ok: [/cache/rhel-9.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-2717cb3b-f944-438c-91e9-a399ca51d4cf", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-2717cb3b-f944-438c-91e9-a399ca51d4cf", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-2717cb3b-f944-438c-91e9-a399ca51d4cf", "password": "-", "state": "absent" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/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": [ "xfsprogs", "e2fsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 12:04:44 +0000 (0:00:00.039) 0:00:54.795 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 12:04:44 +0000 (0:00:00.084) 0:00:54.879 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 12:04:44 +0000 (0:00:00.102) 0:00:54.981 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 12:04:45 +0000 (0:00:00.391) 0:00:55.373 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 12:04:45 +0000 (0:00:00.685) 0:00:56.058 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 12:04:46 +0000 (0:00:00.423) 0:00:56.481 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 12:04:47 +0000 (0:00:00.684) 0:00:57.166 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658405066.4360034, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "422a7bcfbb52a769b10884b4207bca7897c0e02c", "ctime": 1658405062.9070034, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25716415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658405062.9020033, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 84, "uid": 0, "version": "2610171896", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 12:04:47 +0000 (0:00:00.379) 0:00:57.545 ********* changed: [/cache/rhel-9.qcow2.snap] => (item={'backing_device': '/dev/sda', 'name': 'luks-2717cb3b-f944-438c-91e9-a399ca51d4cf', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-2717cb3b-f944-438c-91e9-a399ca51d4cf", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 12:04:47 +0000 (0:00:00.398) 0:00:57.944 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:161 Thursday 21 July 2022 12:04:48 +0000 (0:00:01.024) 0:00:58.969 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 12:04:48 +0000 (0:00:00.039) 0:00:59.008 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks2", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 12:04:48 +0000 (0:00:00.051) 0:00:59.060 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 12:04:49 +0000 (0:00:00.037) 0:00:59.097 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "cc9bdb0f-b837-433a-a6fd-ecc0d3ef8715" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "EFFbkr-4zAu-QXVz-JzbJ-x1zI-5v81-LPskJC" }, "/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-12-03-37-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/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": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/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": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/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": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 12:04:49 +0000 (0:00:00.375) 0:00:59.472 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002828", "end": "2022-07-21 08:04:49.556671", "rc": 0, "start": "2022-07-21 08:04:49.553843" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 12:04:49 +0000 (0:00:00.360) 0:00:59.833 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002472", "end": "2022-07-21 08:04:49.966494", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:04:49.964022" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 12:04:50 +0000 (0:00:00.408) 0:01:00.242 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks2', 'encryption_password': 'yabbadabbadoo', 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 12:04:50 +0000 (0:00:00.061) 0:01:00.303 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 12:04:50 +0000 (0:00:00.035) 0:01:00.339 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 12:04:50 +0000 (0:00:00.048) 0:01:00.387 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 12:04:50 +0000 (0:00:00.057) 0:01:00.445 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 12:04:50 +0000 (0:00:00.387) 0:01:00.832 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 12:04:50 +0000 (0:00:00.048) 0:01:00.880 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 12:04:50 +0000 (0:00:00.049) 0:01:00.930 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 12:04:50 +0000 (0:00:00.050) 0:01:00.981 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 12:04:50 +0000 (0:00:00.036) 0:01:01.018 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 12:04:50 +0000 (0:00:00.050) 0:01:01.069 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.025) 0:01:01.094 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.047) 0:01:01.142 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.045) 0:01:01.187 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.029) 0:01:01.216 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.024) 0:01:01.241 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.024) 0:01:01.266 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.024) 0:01:01.291 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.024) 0:01:01.316 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.023) 0:01:01.339 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.022) 0:01:01.362 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.033) 0:01:01.396 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.044) 0:01:01.440 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.042) 0:01:01.483 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.027) 0:01:01.510 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.026) 0:01:01.537 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.026) 0:01:01.563 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.076) 0:01:01.639 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.044) 0:01:01.684 ********* skipping: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.022) 0:01:01.707 ********* skipping: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.026) 0:01:01.733 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.023) 0:01:01.756 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.022) 0:01:01.779 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.046) 0:01:01.826 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.046) 0:01:01.873 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.029) 0:01:01.902 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.057) 0:01:01.959 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.054) 0:01:02.013 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 12:04:51 +0000 (0:00:00.053) 0:01:02.067 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.041) 0:01:02.109 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.039) 0:01:02.149 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.038) 0:01:02.188 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.039) 0:01:02.227 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.040) 0:01:02.267 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.051) 0:01:02.319 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.048) 0:01:02.368 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.024) 0:01:02.392 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.025) 0:01:02.418 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.029) 0:01:02.448 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.026) 0:01:02.474 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.026) 0:01:02.501 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.024) 0:01:02.525 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.025) 0:01:02.550 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.037) 0:01:02.588 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.036) 0:01:02.625 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.045) 0:01:02.670 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.057) 0:01:02.728 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.082) 0:01:02.811 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.094) 0:01:02.905 ********* ok: [/cache/rhel-9.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": "cc9bdb0f-b837-433a-a6fd-ecc0d3ef8715" } ], "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": "cc9bdb0f-b837-433a-a6fd-ecc0d3ef8715" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 12:04:52 +0000 (0:00:00.134) 0:01:03.039 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 12:04:53 +0000 (0:00:00.053) 0:01:03.093 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 12:04:53 +0000 (0:00:00.047) 0:01:03.141 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 12:04:53 +0000 (0:00:00.049) 0:01:03.190 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 12:04:53 +0000 (0:00:00.026) 0:01:03.217 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 12:04:53 +0000 (0:00:00.025) 0:01:03.243 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 12:04:53 +0000 (0:00:00.027) 0:01:03.270 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 12:04:53 +0000 (0:00:00.035) 0:01:03.306 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 12:04:53 +0000 (0:00:00.068) 0:01:03.374 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 12:04:53 +0000 (0:00:00.049) 0:01:03.423 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 12:04:53 +0000 (0:00:00.052) 0:01:03.476 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 12:04:53 +0000 (0:00:00.039) 0:01:03.515 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 12:04:53 +0000 (0:00:00.038) 0:01:03.554 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 12:04:53 +0000 (0:00:00.042) 0:01:03.596 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 12:04:53 +0000 (0:00:00.039) 0:01:03.635 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658405084.3560033, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658405084.3560033, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1038, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658405084.3560033, "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/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 12:04:53 +0000 (0:00:00.375) 0:01:04.010 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 12:04:53 +0000 (0:00:00.039) 0:01:04.050 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 12:04:54 +0000 (0:00:00.040) 0:01:04.091 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 12:04:54 +0000 (0:00:00.036) 0:01:04.127 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 12:04:54 +0000 (0:00:00.023) 0:01:04.151 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 12:04:54 +0000 (0:00:00.038) 0:01:04.190 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 12:04:54 +0000 (0:00:00.023) 0:01:04.213 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.886) 0:01:05.100 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.027) 0:01:05.127 ********* skipping: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.025) 0:01:05.153 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.059) 0:01:05.213 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.026) 0:01:05.239 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.025) 0:01:05.265 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.026) 0:01:05.291 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.025) 0:01:05.317 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.023) 0:01:05.340 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.088) 0:01:05.429 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.134) 0:01:05.563 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.035) 0:01:05.599 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.037) 0:01:05.636 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.038) 0:01:05.675 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.039) 0:01:05.714 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.038) 0:01:05.752 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.038) 0:01:05.791 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.036) 0:01:05.828 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.040) 0:01:05.868 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.039) 0:01:05.907 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.038) 0:01:05.946 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 12:04:55 +0000 (0:00:00.039) 0:01:05.985 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 12:04:56 +0000 (0:00:00.376) 0:01:06.362 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 12:04:56 +0000 (0:00:00.383) 0:01:06.746 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 12:04:56 +0000 (0:00:00.051) 0:01:06.798 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 12:04:56 +0000 (0:00:00.039) 0:01:06.838 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 12:04:56 +0000 (0:00:00.037) 0:01:06.875 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 12:04:56 +0000 (0:00:00.039) 0:01:06.915 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 12:04:56 +0000 (0:00:00.037) 0:01:06.952 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 12:04:56 +0000 (0:00:00.040) 0:01:06.993 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 12:04:56 +0000 (0:00:00.040) 0:01:07.033 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 12:04:56 +0000 (0:00:00.039) 0:01:07.073 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 12:04:57 +0000 (0:00:00.036) 0:01:07.110 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 12:04:57 +0000 (0:00:00.056) 0:01:07.167 ********* ok: [/cache/rhel-9.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.035322", "end": "2022-07-21 08:04:57.297398", "rc": 0, "start": "2022-07-21 08:04:57.262076" } 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/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 12:04:57 +0000 (0:00:00.406) 0:01:07.573 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 12:04:57 +0000 (0:00:00.061) 0:01:07.635 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 12:04:57 +0000 (0:00:00.052) 0:01:07.688 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 12:04:57 +0000 (0:00:00.039) 0:01:07.728 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 12:04:57 +0000 (0:00:00.038) 0:01:07.766 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 12:04:57 +0000 (0:00:00.039) 0:01:07.805 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 12:04:57 +0000 (0:00:00.035) 0:01:07.840 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 12:04:57 +0000 (0:00:00.064) 0:01:07.905 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 12:04:57 +0000 (0:00:00.022) 0:01:07.927 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/create-test-file.yml:10 Thursday 21 July 2022 12:04:57 +0000 (0:00:00.032) 0:01:07.959 ********* changed: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/tests_luks_pool.yml:167 Thursday 21 July 2022 12:04:58 +0000 (0:00:00.404) 0:01:08.364 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 12:04:58 +0000 (0:00:00.079) 0:01:08.443 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 12:04:58 +0000 (0:00:00.042) 0:01:08.486 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 12:04:58 +0000 (0:00:00.505) 0:01:08.991 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 12:04:58 +0000 (0:00:00.063) 0:01:09.055 ********* ok: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 12:04:59 +0000 (0:00:00.037) 0:01:09.093 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 12:04:59 +0000 (0:00:00.033) 0:01:09.126 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 12:04:59 +0000 (0:00:00.056) 0:01:09.182 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 12:04:59 +0000 (0:00:00.020) 0:01:09.203 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 12:04:59 +0000 (0:00:00.028) 0:01:09.231 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 12:04:59 +0000 (0:00:00.039) 0:01:09.270 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 12:04:59 +0000 (0:00:00.037) 0:01:09.308 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 12:04:59 +0000 (0:00:00.030) 0:01:09.339 ********* skipping: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 12:04:59 +0000 (0:00:00.034) 0:01:09.373 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 12:04:59 +0000 (0:00:00.031) 0:01:09.405 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 12:04:59 +0000 (0:00:00.031) 0:01:09.436 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 12:04:59 +0000 (0:00:00.059) 0:01:09.496 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 12:04:59 +0000 (0:00:00.024) 0:01:09.521 ********* fatal: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 12:05:00 +0000 (0:00:01.470) 0:01:10.991 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "cannot remove and recreate existing pool 'foo' in safe mode", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': True, 'encryption_cipher': 'serpent-xts-plain64', 'encryption_key': None, 'encryption_key_size': 512, 'encryption_luks_version': 'luks1', 'encryption_password': 'yabbadabbadoo', 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': None, 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': True, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 12:05:00 +0000 (0:00:00.044) 0:01:11.036 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:188 Thursday 21 July 2022 12:05:00 +0000 (0:00:00.022) 0:01:11.058 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output of the safe_mode test] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:194 Thursday 21 July 2022 12:05:01 +0000 (0:00:00.040) 0:01:11.099 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-data-preservation.yml:10 Thursday 21 July 2022 12:05:01 +0000 (0:00:00.087) 0:01:11.187 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658405098.0860033, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658405098.0860033, "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": 1658405098.0860033, "nlink": 1, "path": "/opt/test1/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "2617623892", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-data-preservation.yml:15 Thursday 21 July 2022 12:05:01 +0000 (0:00:00.379) 0:01:11.566 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Add encryption to the pool] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:201 Thursday 21 July 2022 12:05:01 +0000 (0:00:00.083) 0:01:11.650 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 12:05:01 +0000 (0:00:00.047) 0:01:11.698 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 12:05:01 +0000 (0:00:00.038) 0:01:11.737 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 12:05:02 +0000 (0:00:00.547) 0:01:12.285 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 12:05:02 +0000 (0:00:00.066) 0:01:12.351 ********* ok: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 12:05:02 +0000 (0:00:00.038) 0:01:12.390 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 12:05:02 +0000 (0:00:00.037) 0:01:12.427 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 12:05:02 +0000 (0:00:00.059) 0:01:12.486 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 12:05:02 +0000 (0:00:00.023) 0:01:12.509 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 12:05:02 +0000 (0:00:00.031) 0:01:12.541 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 12:05:02 +0000 (0:00:00.042) 0:01:12.584 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 12:05:02 +0000 (0:00:00.042) 0:01:12.627 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 12:05:02 +0000 (0:00:00.030) 0:01:12.658 ********* skipping: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 12:05:02 +0000 (0:00:00.029) 0:01:12.687 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 12:05:02 +0000 (0:00:00.030) 0:01:12.718 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 12:05:02 +0000 (0:00:00.029) 0:01:12.747 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 12:05:02 +0000 (0:00:00.060) 0:01:12.807 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 12:05:02 +0000 (0:00:00.024) 0:01:12.832 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "password": "-", "state": "present" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/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", "xfsprogs", "lvm2", "cryptsetup", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 12:05:11 +0000 (0:00:08.752) 0:01:21.584 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 12:05:11 +0000 (0:00:00.043) 0:01:21.628 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 12:05:11 +0000 (0:00:00.024) 0:01:21.653 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "luks" }, { "action": "create device", "device": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "password": "-", "state": "present" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/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", "xfsprogs", "lvm2", "cryptsetup", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 12:05:11 +0000 (0:00:00.044) 0:01:21.697 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 12:05:11 +0000 (0:00:00.041) 0:01:21.739 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 12:05:11 +0000 (0:00:00.040) 0:01:21.779 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 12:05:12 +0000 (0:00:00.404) 0:01:22.184 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 12:05:12 +0000 (0:00:00.663) 0:01:22.847 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 12:05:13 +0000 (0:00:00.451) 0:01:23.299 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 12:05:13 +0000 (0:00:00.632) 0:01:23.932 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658405089.9660034, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658405087.6490033, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 678893, "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": 1658405087.6480033, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "4179413651", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 12:05:14 +0000 (0:00:00.409) 0:01:24.341 ********* changed: [/cache/rhel-9.qcow2.snap] => (item={'backing_device': '/dev/sda', 'name': 'luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef', 'password': '-', 'state': 'present'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "password": "-", "state": "present" } } MSG: line added TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 12:05:14 +0000 (0:00:00.386) 0:01:24.728 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:220 Thursday 21 July 2022 12:05:15 +0000 (0:00:00.985) 0:01:25.713 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 12:05:15 +0000 (0:00:00.042) 0:01:25.755 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": "serpent-xts-plain64", "encryption_key": null, "encryption_key_size": 512, "encryption_luks_version": "luks1", "encryption_password": "yabbadabbadoo", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 12:05:15 +0000 (0:00:00.051) 0:01:25.807 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 12:05:15 +0000 (0:00:00.037) 0:01:25.844 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "c81be623-b5af-4912-976a-893586e080e9" }, "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "size": "10G", "type": "crypt", "uuid": "00lWEq-LZQn-0n6l-Rpji-MgAC-kyzp-KmXxsX" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "65eb9dd8-75dd-4ae5-b9b3-cafc452967ef" }, "/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-12-03-37-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/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": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/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": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/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": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 12:05:16 +0000 (0:00:00.388) 0:01:26.232 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002828", "end": "2022-07-21 08:05:16.319374", "rc": 0, "start": "2022-07-21 08:05:16.316546" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 12:05:16 +0000 (0:00:00.364) 0:01:26.597 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002474", "end": "2022-07-21 08:05:16.692780", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:05:16.690306" } STDOUT: luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef /dev/sda - TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 12:05:16 +0000 (0:00:00.374) 0:01:26.971 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda'], 'encryption': True, 'encryption_cipher': 'serpent-xts-plain64', 'encryption_key': None, 'encryption_key_size': 512, 'encryption_luks_version': 'luks1', 'encryption_password': 'yabbadabbadoo', 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 12:05:16 +0000 (0:00:00.060) 0:01:27.031 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 12:05:17 +0000 (0:00:00.068) 0:01:27.100 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 12:05:17 +0000 (0:00:00.075) 0:01:27.175 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 12:05:17 +0000 (0:00:00.054) 0:01:27.229 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "pv": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 12:05:17 +0000 (0:00:00.376) 0:01:27.606 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 12:05:17 +0000 (0:00:00.051) 0:01:27.657 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 12:05:17 +0000 (0:00:00.050) 0:01:27.708 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 12:05:17 +0000 (0:00:00.049) 0:01:27.757 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 12:05:17 +0000 (0:00:00.037) 0:01:27.795 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 12:05:17 +0000 (0:00:00.027) 0:01:27.822 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 12:05:17 +0000 (0:00:00.027) 0:01:27.850 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 12:05:17 +0000 (0:00:00.041) 0:01:27.892 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 12:05:17 +0000 (0:00:00.046) 0:01:27.938 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 12:05:17 +0000 (0:00:00.026) 0:01:27.965 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 12:05:17 +0000 (0:00:00.026) 0:01:27.992 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 12:05:17 +0000 (0:00:00.027) 0:01:28.019 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 12:05:17 +0000 (0:00:00.027) 0:01:28.046 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 12:05:17 +0000 (0:00:00.026) 0:01:28.073 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 12:05:18 +0000 (0:00:00.029) 0:01:28.103 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 12:05:18 +0000 (0:00:00.027) 0:01:28.130 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 12:05:18 +0000 (0:00:00.041) 0:01:28.172 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 12:05:18 +0000 (0:00:00.047) 0:01:28.220 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 12:05:18 +0000 (0:00:00.047) 0:01:28.267 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 12:05:18 +0000 (0:00:00.030) 0:01:28.298 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 12:05:18 +0000 (0:00:00.028) 0:01:28.326 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 12:05:18 +0000 (0:00:00.027) 0:01:28.354 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 12:05:18 +0000 (0:00:00.049) 0:01:28.403 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 12:05:18 +0000 (0:00:00.047) 0:01:28.451 ********* skipping: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 12:05:18 +0000 (0:00:00.027) 0:01:28.478 ********* skipping: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 12:05:18 +0000 (0:00:00.026) 0:01:28.504 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 12:05:18 +0000 (0:00:00.026) 0:01:28.531 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 12:05:18 +0000 (0:00:00.025) 0:01:28.557 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 12:05:18 +0000 (0:00:00.101) 0:01:28.659 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 12:05:18 +0000 (0:00:00.053) 0:01:28.712 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml for /cache/rhel-9.qcow2.snap => (item=/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef) TASK [Get the backing device path] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 12:05:18 +0000 (0:00:00.044) 0:01:28.756 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/65eb9dd8-75dd-4ae5-b9b3-cafc452967ef" ], "delta": "0:00:00.002505", "end": "2022-07-21 08:05:18.857875", "rc": 0, "start": "2022-07-21 08:05:18.855370" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 12:05:19 +0000 (0:00:00.382) 0:01:29.138 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 12:05:19 +0000 (0:00:00.856) 0:01:29.995 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.011879", "end": "2022-07-21 08:05:20.102939", "rc": 0, "start": "2022-07-21 08:05:20.091060" } STDOUT: LUKS header information for /dev/sda Version: 1 Cipher name: serpent Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: 13 a3 2f 1c 21 5f 43 55 e8 0c 6b 67 5d 58 29 0d 0e e1 88 7a MK salt: 4b d9 2f 26 a1 32 b6 b6 f3 2a eb 4c 12 38 eb c1 91 00 9f 92 c8 dc 77 2a 88 d1 42 52 e2 fc dc 47 MK iterations: 96518 UUID: 65eb9dd8-75dd-4ae5-b9b3-cafc452967ef Key Slot 0: ENABLED Iterations: 1548856 Salt: 21 b7 7d 4a da 0f 0f 5e 1e 8e a2 65 7d 47 71 e9 75 8e b5 92 c8 6a 99 26 eb 89 37 10 78 b9 1b 22 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/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 12:05:20 +0000 (0:00:00.390) 0:01:30.385 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 12:05:20 +0000 (0:00:00.054) 0:01:30.439 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 12:05:20 +0000 (0:00:00.054) 0:01:30.494 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 12:05:20 +0000 (0:00:00.054) 0:01:30.549 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 12:05:20 +0000 (0:00:00.048) 0:01:30.597 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef /dev/sda -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 12:05:20 +0000 (0:00:00.054) 0:01:30.652 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 12:05:20 +0000 (0:00:00.053) 0:01:30.705 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 12:05:20 +0000 (0:00:00.055) 0:01:30.761 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 12:05:20 +0000 (0:00:00.039) 0:01:30.800 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 12:05:20 +0000 (0:00:00.057) 0:01:30.857 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 12:05:20 +0000 (0:00:00.035) 0:01:30.892 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 12:05:20 +0000 (0:00:00.067) 0:01:30.960 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 12:05:20 +0000 (0:00:00.054) 0:01:31.015 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 12:05:20 +0000 (0:00:00.046) 0:01:31.061 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.066) 0:01:31.128 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.026) 0:01:31.154 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.026) 0:01:31.181 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.025) 0:01:31.206 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.025) 0:01:31.232 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.025) 0:01:31.258 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.024) 0:01:31.282 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.035) 0:01:31.318 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.037) 0:01:31.356 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, '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/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.043) 0:01:31.400 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.051) 0:01:31.451 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.078) 0:01:31.530 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.039) 0:01:31.569 ********* ok: [/cache/rhel-9.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": "c81be623-b5af-4912-976a-893586e080e9" } ], "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": "c81be623-b5af-4912-976a-893586e080e9" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.055) 0:01:31.625 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.051) 0:01:31.676 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.047) 0:01:31.723 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.049) 0:01:31.772 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.023) 0:01:31.796 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.025) 0:01:31.821 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.025) 0:01:31.847 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.035) 0:01:31.883 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.066) 0:01:31.949 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.052) 0:01:32.002 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 12:05:21 +0000 (0:00:00.052) 0:01:32.054 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 12:05:22 +0000 (0:00:00.038) 0:01:32.092 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 12:05:22 +0000 (0:00:00.040) 0:01:32.133 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 12:05:22 +0000 (0:00:00.040) 0:01:32.173 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 12:05:22 +0000 (0:00:00.039) 0:01:32.213 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658405111.2450035, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658405111.2450035, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1228, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658405111.2450035, "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/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 12:05:22 +0000 (0:00:00.365) 0:01:32.579 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 12:05:22 +0000 (0:00:00.041) 0:01:32.620 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 12:05:22 +0000 (0:00:00.080) 0:01:32.701 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 12:05:22 +0000 (0:00:00.108) 0:01:32.809 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 12:05:22 +0000 (0:00:00.025) 0:01:32.835 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 12:05:22 +0000 (0:00:00.039) 0:01:32.875 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 12:05:22 +0000 (0:00:00.025) 0:01:32.900 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 12:05:23 +0000 (0:00:00.826) 0:01:33.727 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 12:05:23 +0000 (0:00:00.024) 0:01:33.751 ********* skipping: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 12:05:23 +0000 (0:00:00.026) 0:01:33.778 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 12:05:23 +0000 (0:00:00.054) 0:01:33.832 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 12:05:23 +0000 (0:00:00.026) 0:01:33.858 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 12:05:23 +0000 (0:00:00.023) 0:01:33.882 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 12:05:23 +0000 (0:00:00.023) 0:01:33.906 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 12:05:23 +0000 (0:00:00.025) 0:01:33.932 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 12:05:23 +0000 (0:00:00.024) 0:01:33.956 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 12:05:23 +0000 (0:00:00.058) 0:01:34.015 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 12:05:23 +0000 (0:00:00.051) 0:01:34.066 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 12:05:24 +0000 (0:00:00.038) 0:01:34.104 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 12:05:24 +0000 (0:00:00.044) 0:01:34.148 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 12:05:24 +0000 (0:00:00.052) 0:01:34.201 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 12:05:24 +0000 (0:00:00.038) 0:01:34.240 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 12:05:24 +0000 (0:00:00.039) 0:01:34.280 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 12:05:24 +0000 (0:00:00.041) 0:01:34.321 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 12:05:24 +0000 (0:00:00.043) 0:01:34.364 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 12:05:24 +0000 (0:00:00.040) 0:01:34.404 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 12:05:24 +0000 (0:00:00.041) 0:01:34.446 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 12:05:24 +0000 (0:00:00.037) 0:01:34.483 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 12:05:24 +0000 (0:00:00.042) 0:01:34.526 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 12:05:24 +0000 (0:00:00.362) 0:01:34.888 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 12:05:25 +0000 (0:00:00.396) 0:01:35.285 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 12:05:25 +0000 (0:00:00.053) 0:01:35.338 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 12:05:25 +0000 (0:00:00.037) 0:01:35.375 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 12:05:25 +0000 (0:00:00.040) 0:01:35.415 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 12:05:25 +0000 (0:00:00.041) 0:01:35.457 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 12:05:25 +0000 (0:00:00.038) 0:01:35.495 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 12:05:25 +0000 (0:00:00.039) 0:01:35.535 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 12:05:25 +0000 (0:00:00.038) 0:01:35.573 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 12:05:25 +0000 (0:00:00.093) 0:01:35.667 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 12:05:25 +0000 (0:00:00.038) 0:01:35.705 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 12:05:25 +0000 (0:00:00.101) 0:01:35.807 ********* ok: [/cache/rhel-9.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.036760", "end": "2022-07-21 08:05:25.972736", "rc": 0, "start": "2022-07-21 08:05:25.935976" } 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/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 12:05:26 +0000 (0:00:00.441) 0:01:36.248 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 12:05:26 +0000 (0:00:00.052) 0:01:36.301 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 12:05:26 +0000 (0:00:00.052) 0:01:36.354 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 12:05:26 +0000 (0:00:00.035) 0:01:36.390 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 12:05:26 +0000 (0:00:00.035) 0:01:36.425 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 12:05:26 +0000 (0:00:00.035) 0:01:36.461 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 12:05:26 +0000 (0:00:00.037) 0:01:36.498 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 12:05:26 +0000 (0:00:00.032) 0:01:36.530 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 12:05:26 +0000 (0:00:00.020) 0:01:36.551 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/create-test-file.yml:10 Thursday 21 July 2022 12:05:26 +0000 (0:00:00.034) 0:01:36.585 ********* changed: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/tests_luks_pool.yml:224 Thursday 21 July 2022 12:05:26 +0000 (0:00:00.367) 0:01:36.952 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 12:05:26 +0000 (0:00:00.051) 0:01:37.004 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 12:05:26 +0000 (0:00:00.039) 0:01:37.044 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 12:05:27 +0000 (0:00:00.522) 0:01:37.566 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 12:05:27 +0000 (0:00:00.068) 0:01:37.635 ********* ok: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 12:05:27 +0000 (0:00:00.040) 0:01:37.675 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 12:05:27 +0000 (0:00:00.044) 0:01:37.720 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 12:05:27 +0000 (0:00:00.057) 0:01:37.777 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 12:05:27 +0000 (0:00:00.024) 0:01:37.802 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 12:05:27 +0000 (0:00:00.030) 0:01:37.832 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "mount_point": "/opt/test2", "name": "test1" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 12:05:27 +0000 (0:00:00.080) 0:01:37.912 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 12:05:27 +0000 (0:00:00.131) 0:01:38.044 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 12:05:28 +0000 (0:00:00.032) 0:01:38.076 ********* skipping: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 12:05:28 +0000 (0:00:00.031) 0:01:38.108 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 12:05:28 +0000 (0:00:00.028) 0:01:38.136 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 12:05:28 +0000 (0:00:00.034) 0:01:38.171 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 12:05:28 +0000 (0:00:00.058) 0:01:38.230 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 12:05:28 +0000 (0:00:00.023) 0:01:38.254 ********* ok: [/cache/rhel-9.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "cryptsetup", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 12:05:29 +0000 (0:00:01.624) 0:01:39.879 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 12:05:29 +0000 (0:00:00.039) 0:01:39.918 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 12:05:29 +0000 (0:00:00.024) 0:01:39.943 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "cryptsetup", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 12:05:29 +0000 (0:00:00.043) 0:01:39.986 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 12:05:29 +0000 (0:00:00.041) 0:01:40.028 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 12:05:29 +0000 (0:00:00.040) 0:01:40.069 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 12:05:30 +0000 (0:00:00.403) 0:01:40.472 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 12:05:31 +0000 (0:00:00.653) 0:01:41.126 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 12:05:31 +0000 (0:00:00.430) 0:01:41.556 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 12:05:32 +0000 (0:00:00.711) 0:01:42.267 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658405116.6920033, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c6174b776c6a0f788e3d265d415793decf040971", "ctime": 1658405114.4430034, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8989449, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658405114.4420033, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "2820199929", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 12:05:32 +0000 (0:00:00.383) 0:01:42.651 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 12:05:32 +0000 (0:00:00.026) 0:01:42.677 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [Assert to implicitly preserve encryption on existing pool] *************** task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:236 Thursday 21 July 2022 12:05:33 +0000 (0:00:01.048) 0:01:43.726 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [stat the file] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-data-preservation.yml:10 Thursday 21 July 2022 12:05:33 +0000 (0:00:00.083) 0:01:43.809 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658405126.6720033, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658405126.6720033, "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": 1658405126.6720033, "nlink": 1, "path": "/opt/test2/quux", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": "948829355", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [assert file presence] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-data-preservation.yml:15 Thursday 21 July 2022 12:05:34 +0000 (0:00:00.427) 0:01:44.236 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:245 Thursday 21 July 2022 12:05:34 +0000 (0:00:00.124) 0:01:44.361 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 12:05:34 +0000 (0:00:00.043) 0:01:44.404 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 4294967296, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 12:05:34 +0000 (0:00:00.058) 0:01:44.462 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 12:05:34 +0000 (0:00:00.038) 0:01:44.501 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "c81be623-b5af-4912-976a-893586e080e9" }, "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef": { "fstype": "LVM2_member", "label": "", "name": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "size": "10G", "type": "crypt", "uuid": "00lWEq-LZQn-0n6l-Rpji-MgAC-kyzp-KmXxsX" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "crypto_LUKS", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "65eb9dd8-75dd-4ae5-b9b3-cafc452967ef" }, "/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-12-03-37-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/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": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/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": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/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": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 12:05:34 +0000 (0:00:00.370) 0:01:44.872 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002732", "end": "2022-07-21 08:05:34.969382", "rc": 0, "start": "2022-07-21 08:05:34.966650" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 12:05:35 +0000 (0:00:00.375) 0:01:45.247 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002325", "end": "2022-07-21 08:05:35.335287", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:05:35.332962" } STDOUT: luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef /dev/sda - TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 12:05:35 +0000 (0:00:00.365) 0:01:45.613 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml for /cache/rhel-9.qcow2.snap => (item={'disks': ['sda'], 'encryption': True, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks1', 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 12:05:35 +0000 (0:00:00.061) 0:01:45.675 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 12:05:35 +0000 (0:00:00.034) 0:01:45.710 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml for /cache/rhel-9.qcow2.snap => (item=members) included: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-9.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 12:05:35 +0000 (0:00:00.046) 0:01:45.756 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 12:05:35 +0000 (0:00:00.055) 0:01:45.811 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "pv": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.380) 0:01:46.191 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.052) 0:01:46.244 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.051) 0:01:46.295 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.054) 0:01:46.349 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "crypt" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.040) 0:01:46.390 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.028) 0:01:46.418 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.025) 0:01:46.444 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.082) 0:01:46.526 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml for /cache/rhel-9.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.077) 0:01:46.604 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.026) 0:01:46.630 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.026) 0:01:46.657 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.025) 0:01:46.682 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.026) 0:01:46.708 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.025) 0:01:46.734 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.025) 0:01:46.760 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.026) 0:01:46.786 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.036) 0:01:46.822 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.046) 0:01:46.869 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.049) 0:01:46.918 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.031) 0:01:46.950 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.031) 0:01:46.982 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.038) 0:01:47.021 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 12:05:36 +0000 (0:00:00.049) 0:01:47.070 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 12:05:37 +0000 (0:00:00.046) 0:01:47.116 ********* skipping: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 12:05:37 +0000 (0:00:00.025) 0:01:47.142 ********* skipping: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 12:05:37 +0000 (0:00:00.025) 0:01:47.168 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 12:05:37 +0000 (0:00:00.025) 0:01:47.193 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 12:05:37 +0000 (0:00:00.024) 0:01:47.217 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-9.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 12:05:37 +0000 (0:00:00.049) 0:01:47.266 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 12:05:37 +0000 (0:00:00.056) 0:01:47.323 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml for /cache/rhel-9.qcow2.snap => (item=/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef) TASK [Get the backing device path] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:1 Thursday 21 July 2022 12:05:37 +0000 (0:00:00.048) 0:01:47.371 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/disk/by-uuid/65eb9dd8-75dd-4ae5-b9b3-cafc452967ef" ], "delta": "0:00:00.002435", "end": "2022-07-21 08:05:37.478887", "rc": 0, "start": "2022-07-21 08:05:37.476452" } STDOUT: /dev/sda TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:6 Thursday 21 July 2022 12:05:37 +0000 (0:00:00.385) 0:01:47.756 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this member] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:11 Thursday 21 July 2022 12:05:38 +0000 (0:00:00.840) 0:01:48.597 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "luksDump", "/dev/sda" ], "delta": "0:00:00.011363", "end": "2022-07-21 08:05:38.704584", "rc": 0, "start": "2022-07-21 08:05:38.693221" } STDOUT: LUKS header information for /dev/sda Version: 1 Cipher name: serpent Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK digest: 13 a3 2f 1c 21 5f 43 55 e8 0c 6b 67 5d 58 29 0d 0e e1 88 7a MK salt: 4b d9 2f 26 a1 32 b6 b6 f3 2a eb 4c 12 38 eb c1 91 00 9f 92 c8 dc 77 2a 88 d1 42 52 e2 fc dc 47 MK iterations: 96518 UUID: 65eb9dd8-75dd-4ae5-b9b3-cafc452967ef Key Slot 0: ENABLED Iterations: 1548856 Salt: 21 b7 7d 4a da 0f 0f 5e 1e 8e a2 65 7d 47 71 e9 75 8e b5 92 c8 6a 99 26 eb 89 37 10 78 b9 1b 22 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/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:17 Thursday 21 July 2022 12:05:38 +0000 (0:00:00.389) 0:01:48.987 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:23 Thursday 21 July 2022 12:05:38 +0000 (0:00:00.054) 0:01:49.042 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-encryption.yml:29 Thursday 21 July 2022 12:05:38 +0000 (0:00:00.027) 0:01:49.069 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.028) 0:01:49.097 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-9.qcow2.snap => (item=/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.049) 0:01:49.147 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [ "luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef /dev/sda -" ] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.054) 0:01:49.201 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.052) 0:01:49.254 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.053) 0:01:49.307 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.039) 0:01:49.346 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.056) 0:01:49.403 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.034) 0:01:49.437 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.035) 0:01:49.472 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-9.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.051) 0:01:49.524 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.044) 0:01:49.569 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.024) 0:01:49.593 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.026) 0:01:49.620 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.024) 0:01:49.645 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.024) 0:01:49.669 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.025) 0:01:49.694 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.023) 0:01:49.718 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.023) 0:01:49.741 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.037) 0:01:49.778 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.037) 0:01:49.816 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', 'raid_level': None, 'size': 4294967296, 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.044) 0:01:49.860 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.049) 0:01:49.910 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 12:05:39 +0000 (0:00:00.089) 0:01:49.999 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 12:05:40 +0000 (0:00:00.107) 0:01:50.106 ********* ok: [/cache/rhel-9.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": "c81be623-b5af-4912-976a-893586e080e9" } ], "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": "c81be623-b5af-4912-976a-893586e080e9" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 12:05:40 +0000 (0:00:00.058) 0:01:50.165 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 12:05:40 +0000 (0:00:00.052) 0:01:50.218 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 12:05:40 +0000 (0:00:00.051) 0:01:50.269 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 12:05:40 +0000 (0:00:00.049) 0:01:50.318 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 12:05:40 +0000 (0:00:00.023) 0:01:50.341 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 12:05:40 +0000 (0:00:00.026) 0:01:50.367 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 12:05:40 +0000 (0:00:00.026) 0:01:50.394 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 12:05:40 +0000 (0:00:00.038) 0:01:50.433 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 12:05:40 +0000 (0:00:00.066) 0:01:50.499 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 12:05:40 +0000 (0:00:00.053) 0:01:50.552 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 12:05:40 +0000 (0:00:00.051) 0:01:50.604 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 12:05:40 +0000 (0:00:00.039) 0:01:50.644 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 12:05:40 +0000 (0:00:00.039) 0:01:50.683 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 12:05:40 +0000 (0:00:00.039) 0:01:50.723 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 12:05:40 +0000 (0:00:00.042) 0:01:50.766 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658405111.2450035, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658405111.2450035, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1228, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658405111.2450035, "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/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 12:05:41 +0000 (0:00:00.374) 0:01:51.140 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 12:05:41 +0000 (0:00:00.041) 0:01:51.182 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 12:05:41 +0000 (0:00:00.042) 0:01:51.224 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 12:05:41 +0000 (0:00:00.037) 0:01:51.262 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 12:05:41 +0000 (0:00:00.025) 0:01:51.287 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 12:05:41 +0000 (0:00:00.036) 0:01:51.324 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 12:05:41 +0000 (0:00:00.025) 0:01:51.350 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.818) 0:01:52.168 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.024) 0:01:52.192 ********* skipping: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.024) 0:01:52.217 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.056) 0:01:52.273 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.025) 0:01:52.299 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.025) 0:01:52.325 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.039) 0:01:52.365 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.027) 0:01:52.392 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.025) 0:01:52.418 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.096) 0:01:52.514 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.053) 0:01:52.568 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.039) 0:01:52.607 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.038) 0:01:52.646 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.040) 0:01:52.687 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.080) 0:01:52.767 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.037) 0:01:52.805 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.036) 0:01:52.841 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.036) 0:01:52.878 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.034) 0:01:52.913 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.039) 0:01:52.953 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.036) 0:01:52.990 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 12:05:42 +0000 (0:00:00.037) 0:01:53.027 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 12:05:43 +0000 (0:00:00.373) 0:01:53.401 ********* ok: [/cache/rhel-9.qcow2.snap] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 12:05:43 +0000 (0:00:00.392) 0:01:53.793 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 12:05:43 +0000 (0:00:00.054) 0:01:53.847 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 12:05:43 +0000 (0:00:00.037) 0:01:53.885 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 12:05:43 +0000 (0:00:00.037) 0:01:53.922 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 12:05:43 +0000 (0:00:00.039) 0:01:53.962 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 12:05:43 +0000 (0:00:00.044) 0:01:54.006 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 12:05:43 +0000 (0:00:00.038) 0:01:54.045 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 12:05:44 +0000 (0:00:00.039) 0:01:54.084 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 12:05:44 +0000 (0:00:00.041) 0:01:54.126 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 12:05:44 +0000 (0:00:00.042) 0:01:54.169 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 12:05:44 +0000 (0:00:00.054) 0:01:54.223 ********* ok: [/cache/rhel-9.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.033987", "end": "2022-07-21 08:05:44.344465", "rc": 0, "start": "2022-07-21 08:05:44.310478" } 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/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 12:05:44 +0000 (0:00:00.399) 0:01:54.623 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 12:05:44 +0000 (0:00:00.055) 0:01:54.678 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 12:05:44 +0000 (0:00:00.060) 0:01:54.738 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 12:05:44 +0000 (0:00:00.040) 0:01:54.779 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 12:05:44 +0000 (0:00:00.043) 0:01:54.822 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 12:05:44 +0000 (0:00:00.037) 0:01:54.860 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 12:05:44 +0000 (0:00:00.038) 0:01:54.899 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 12:05:44 +0000 (0:00:00.092) 0:01:54.991 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 12:05:44 +0000 (0:00:00.025) 0:01:55.017 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:247 Thursday 21 July 2022 12:05:45 +0000 (0:00:00.086) 0:01:55.103 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 12:05:45 +0000 (0:00:00.103) 0:01:55.207 ********* included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 12:05:45 +0000 (0:00:00.038) 0:01:55.245 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 12:05:45 +0000 (0:00:00.512) 0:01:55.757 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 12:05:45 +0000 (0:00:00.067) 0:01:55.825 ********* ok: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 12:05:45 +0000 (0:00:00.036) 0:01:55.861 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 12:05:45 +0000 (0:00:00.039) 0:01:55.901 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 12:05:45 +0000 (0:00:00.060) 0:01:55.961 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 12:05:45 +0000 (0:00:00.023) 0:01:55.984 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 12:05:45 +0000 (0:00:00.030) 0:01:56.015 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 12:05:45 +0000 (0:00:00.042) 0:01:56.058 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "disk" } ] } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 12:05:46 +0000 (0:00:00.039) 0:01:56.097 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 12:05:46 +0000 (0:00:00.029) 0:01:56.126 ********* skipping: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 12:05:46 +0000 (0:00:00.028) 0:01:56.155 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 12:05:46 +0000 (0:00:00.030) 0:01:56.185 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 12:05:46 +0000 (0:00:00.027) 0:01:56.213 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 12:05:46 +0000 (0:00:00.056) 0:01:56.270 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 12:05:46 +0000 (0:00:00.023) 0:01:56.293 ********* changed: [/cache/rhel-9.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-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "password": "-", "state": "absent" } ], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "_mount_id": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 12:05:48 +0000 (0:00:02.400) 0:01:58.693 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 12:05:48 +0000 (0:00:00.042) 0:01:58.736 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 12:05:48 +0000 (0:00:00.023) 0:01:58.760 ********* ok: [/cache/rhel-9.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-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "luks" } ], "changed": true, "crypts": [ { "backing_device": "/dev/sda", "name": "luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "password": "-", "state": "absent" } ], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "e2fsprogs", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "_mount_id": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 12:05:48 +0000 (0:00:00.040) 0:01:58.800 ********* ok: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 12:05:48 +0000 (0:00:00.073) 0:01:58.874 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "_mount_id": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 12:05:48 +0000 (0:00:00.039) 0:01:58.913 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 12:05:49 +0000 (0:00:00.428) 0:01:59.342 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 12:05:49 +0000 (0:00:00.704) 0:02:00.046 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 12:05:50 +0000 (0:00:00.041) 0:02:00.088 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 12:05:50 +0000 (0:00:00.680) 0:02:00.769 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658405116.6920033, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c6174b776c6a0f788e3d265d415793decf040971", "ctime": 1658405114.4430034, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8989449, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1658405114.4420033, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 53, "uid": 0, "version": "2820199929", "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/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 12:05:51 +0000 (0:00:00.376) 0:02:01.145 ********* changed: [/cache/rhel-9.qcow2.snap] => (item={'backing_device': '/dev/sda', 'name': 'luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef', 'password': '-', 'state': 'absent'}) => { "ansible_loop_var": "entry", "backup": "", "changed": true, "entry": { "backing_device": "/dev/sda", "name": "luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "password": "-", "state": "absent" }, "found": 1 } MSG: 1 line(s) removed TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 12:05:51 +0000 (0:00:00.411) 0:02:01.556 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:257 Thursday 21 July 2022 12:05:52 +0000 (0:00:00.942) 0:02:02.499 ********* included: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml for /cache/rhel-9.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 12:05:52 +0000 (0:00:00.044) 0:02:02.543 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 12:05:52 +0000 (0:00:00.040) 0:02:02.584 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "_mount_id": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": true, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": 0, "encryption_luks_version": "luks1", "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "lvmpv", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10735321088, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 12:05:52 +0000 (0:00:00.050) 0:02:02.635 ********* ok: [/cache/rhel-9.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-12-03-37-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "200M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "boot", "name": "/dev/vda3", "size": "500M", "type": "partition", "uuid": "6e74e171-0370-451f-8340-f16ad2839183" }, "/dev/vda4": { "fstype": "xfs", "label": "root", "name": "/dev/vda4", "size": "9.3G", "type": "partition", "uuid": "1bb53e4d-984c-4316-908a-59b5a62fa30e" }, "/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": "12be66f7-7f03-4d54-9a48-a520825d8fa9" }, "/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": "9bd037ed-b1bb-4b9c-a008-9f07d34ab071" }, "/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": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 12:05:52 +0000 (0:00:00.379) 0:02:03.014 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002387", "end": "2022-07-21 08:05:53.103995", "rc": 0, "start": "2022-07-21 08:05:53.101608" } STDOUT: UUID=6e74e171-0370-451f-8340-f16ad2839183 /boot xfs defaults 0 0 UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 12:05:53 +0000 (0:00:00.367) 0:02:03.382 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002405", "end": "2022-07-21 08:05:53.466953", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:05:53.464548" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 12:05:53 +0000 (0:00:00.362) 0:02:03.744 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 12:05:53 +0000 (0:00:00.023) 0:02:03.767 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml for /cache/rhel-9.qcow2.snap => (item={'encryption': True, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': 0, 'encryption_luks_version': 'luks1', 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'lvmpv', 'mount_options': 'defaults', 'mount_point': None, 'name': 'foo', 'raid_level': None, 'size': 10735321088, 'state': 'absent', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef', '_raw_device': '/dev/sda', '_mount_id': '/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 12:05:53 +0000 (0:00:00.096) 0:02:03.863 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 12:05:53 +0000 (0:00:00.052) 0:02:03.916 ********* included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml for /cache/rhel-9.qcow2.snap => (item=mount) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-9.qcow2.snap => (item=fstab) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml for /cache/rhel-9.qcow2.snap => (item=fs) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml for /cache/rhel-9.qcow2.snap => (item=device) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-9.qcow2.snap => (item=encryption) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml for /cache/rhel-9.qcow2.snap => (item=md) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml for /cache/rhel-9.qcow2.snap => (item=size) included: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml for /cache/rhel-9.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 12:05:53 +0000 (0:00:00.078) 0:02:03.994 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/luks-65eb9dd8-75dd-4ae5-b9b3-cafc452967ef" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 12:05:53 +0000 (0:00:00.041) 0:02:04.036 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.056) 0:02:04.092 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.023) 0:02:04.116 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.048) 0:02:04.164 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.037) 0:02:04.202 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.024) 0:02:04.227 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.023) 0:02:04.250 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.023) 0:02:04.273 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.040) 0:02:04.313 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.061) 0:02:04.375 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.024) 0:02:04.400 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.052) 0:02:04.452 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.041) 0:02:04.494 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.036) 0:02:04.531 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.025) 0:02:04.557 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.024) 0:02:04.581 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658405148.3450034, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658405148.3450034, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 356, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658405148.3450034, "nlink": 1, "path": "/dev/sda", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.382) 0:02:04.964 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.041) 0:02:05.005 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.025) 0:02:05.031 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "disk" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 12:05:54 +0000 (0:00:00.038) 0:02:05.070 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 12:05:55 +0000 (0:00:00.032) 0:02:05.102 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 12:05:55 +0000 (0:00:00.028) 0:02:05.131 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 12:05:55 +0000 (0:00:00.369) 0:02:05.500 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.854) 0:02:06.354 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.024) 0:02:06.379 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.037) 0:02:06.416 ********* skipping: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.024) 0:02:06.441 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.025) 0:02:06.467 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.071) 0:02:06.539 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.025) 0:02:06.564 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.027) 0:02:06.592 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.026) 0:02:06.619 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.058) 0:02:06.677 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.049) 0:02:06.726 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.037) 0:02:06.764 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.035) 0:02:06.800 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.039) 0:02:06.839 ********* ok: [/cache/rhel-9.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/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.037) 0:02:06.877 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.046) 0:02:06.924 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.044) 0:02:06.968 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.041) 0:02:07.009 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 12:05:56 +0000 (0:00:00.035) 0:02:07.045 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.038) 0:02:07.083 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.035) 0:02:07.119 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.040) 0:02:07.159 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.025) 0:02:07.185 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.038) 0:02:07.224 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.039) 0:02:07.263 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.042) 0:02:07.305 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.038) 0:02:07.344 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.039) 0:02:07.383 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.038) 0:02:07.422 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.042) 0:02:07.465 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.038) 0:02:07.503 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.036) 0:02:07.540 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.036) 0:02:07.576 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.024) 0:02:07.600 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.022) 0:02:07.623 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.023) 0:02:07.646 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.023) 0:02:07.669 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.024) 0:02:07.694 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.024) 0:02:07.719 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.026) 0:02:07.745 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.025) 0:02:07.771 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.039) 0:02:07.811 ********* ok: [/cache/rhel-9.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/rhel-9.qcow2.snap : ok=540 changed=22 unreachable=0 failed=3 skipped=371 rescued=3 ignored=0 Thursday 21 July 2022 12:05:57 +0000 (0:00:00.048) 0:02:07.859 ********* =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state -- 12.43s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 8.75s /tmp/tmpi19f9hzy/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.95s /tmp/tmpi19f9hzy/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.40s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : get service facts ------------------- 1.80s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.62s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.52s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Read the /etc/fstab file for volume existence --------------------------- 1.50s /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:19 --------------------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.47s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : get required packages --------------- 1.35s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.33s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Gathering Facts --------------------------------------------------------- 1.30s /tmp/tmpfc26zqih/tests/storage/tests_luks_pool.yml:2 -------------------------- fedora.linux_system_roles.storage : make sure blivet is available ------- 1.24s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : Update facts ------------------------ 1.05s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 1.02s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 1.01s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.99s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.99s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.94s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.93s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132