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 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_misc_scsi_generated.yml **************************************** 2 plays in /tmp/tmpsvhdx31t/tests/tests_misc_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/tests_misc_scsi_generated.yml:3 Thursday 21 July 2022 09:39:55 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpsvhdx31t/tests/tests_misc_scsi_generated.yml:7 Thursday 21 July 2022 09:39:56 +0000 (0:00:01.323) 0:00:01.336 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:2 Thursday 21 July 2022 09:39:56 +0000 (0:00:00.051) 0:00:01.388 ********* ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:16 Thursday 21 July 2022 09:39:57 +0000 (0:00:00.957) 0:00:02.345 ********* 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 09:39:57 +0000 (0:00:00.033) 0:00:02.379 ********* 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 09:39:57 +0000 (0:00:00.032) 0:00:02.411 ********* 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 09:39:58 +0000 (0:00:00.532) 0:00:02.943 ********* 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 09:39:58 +0000 (0:00:00.055) 0:00:02.999 ********* 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 09:39:58 +0000 (0:00:00.029) 0:00:03.028 ********* 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 09:39:58 +0000 (0:00:00.028) 0:00:03.056 ********* 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 09:39:58 +0000 (0:00:00.045) 0:00:03.102 ********* 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 09:39:58 +0000 (0:00:00.017) 0:00:03.120 ********* 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 09:39:59 +0000 (0:00:01.353) 0:00:04.474 ********* 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 09:39:59 +0000 (0:00:00.034) 0:00:04.508 ********* 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 09:39:59 +0000 (0:00:00.059) 0:00:04.568 ********* 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 09:40:00 +0000 (0:00:00.689) 0:00:05.258 ********* 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 09:40:00 +0000 (0:00:00.050) 0:00:05.308 ********* 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 09:40:00 +0000 (0:00:00.036) 0:00:05.345 ********* 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 09:40:00 +0000 (0:00:00.037) 0:00:05.382 ********* 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 09:40:00 +0000 (0:00:00.031) 0:00:05.414 ********* 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 09:40:01 +0000 (0:00:00.890) 0:00:06.305 ********* 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 09:40:03 +0000 (0:00:01.763) 0:00:08.068 ********* 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 09:40:03 +0000 (0:00:00.055) 0:00:08.123 ********* 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 09:40:03 +0000 (0:00:00.021) 0:00:08.144 ********* 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 09:40:03 +0000 (0:00:00.541) 0:00:08.686 ********* 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 09:40:03 +0000 (0:00:00.035) 0:00:08.722 ********* 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 09:40:03 +0000 (0:00:00.020) 0:00:08.742 ********* 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 09:40:04 +0000 (0:00:00.035) 0:00:08.778 ********* 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 09:40:04 +0000 (0:00:00.033) 0:00:08.812 ********* 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 09:40:04 +0000 (0:00:00.035) 0:00:08.847 ********* 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 09:40:04 +0000 (0:00:00.033) 0:00:08.881 ********* 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 09:40:04 +0000 (0:00:00.022) 0:00:08.904 ********* 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 09:40:04 +0000 (0:00:00.032) 0:00:08.936 ********* 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 09:40:04 +0000 (0:00:00.024) 0:00:08.960 ********* 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 09:40:04 +0000 (0:00:00.485) 0:00:09.445 ********* 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 09:40:04 +0000 (0:00:00.023) 0:00:09.468 ********* 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_misc.yml:19 Thursday 21 July 2022 09:40:05 +0000 (0:00:00.970) 0:00:10.439 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:26 Thursday 21 July 2022 09:40:05 +0000 (0:00:00.066) 0:00:10.506 ********* 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 09:40:05 +0000 (0:00:00.069) 0:00:10.575 ********* 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 09:40:06 +0000 (0:00:00.482) 0:00:11.058 ********* 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 09:40:06 +0000 (0:00:00.038) 0:00:11.097 ********* 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 09:40:06 +0000 (0:00:00.039) 0:00:11.136 ********* ok: [/cache/rhel-9.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Test creating ext4 filesystem with valid parameter "-Fb 4096"] *********** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:31 Thursday 21 July 2022 09:40:06 +0000 (0:00:00.036) 0:00:11.173 ********* 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 09:40:06 +0000 (0:00:00.043) 0:00:11.216 ********* 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 09:40:06 +0000 (0:00:00.033) 0:00:11.250 ********* 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 09:40:06 +0000 (0:00:00.509) 0:00:11.759 ********* 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 09:40:07 +0000 (0:00:00.061) 0:00:11.821 ********* 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 09:40:07 +0000 (0:00:00.033) 0:00:11.854 ********* 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 09:40:07 +0000 (0:00:00.031) 0:00:11.886 ********* 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 09:40:07 +0000 (0:00:00.046) 0:00:11.932 ********* 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 09:40:07 +0000 (0:00:00.019) 0:00:11.952 ********* 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 09:40:07 +0000 (0:00:00.026) 0:00:11.978 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_create_options": "-Fb 4096", "fs_type": "ext4", "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 09:40:07 +0000 (0:00:00.037) 0:00:12.015 ********* 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 09:40:07 +0000 (0:00:00.038) 0:00:12.054 ********* 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 09:40:07 +0000 (0:00:00.030) 0:00:12.084 ********* 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 09:40:07 +0000 (0:00:00.029) 0:00:12.114 ********* 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 09:40:07 +0000 (0:00:00.029) 0:00:12.144 ********* 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 09:40:07 +0000 (0:00:00.033) 0:00:12.178 ********* 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 09:40:07 +0000 (0:00:00.075) 0:00:12.254 ********* 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 09:40:07 +0000 (0:00:00.022) 0:00:12.276 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/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": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-Fb 4096", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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 09:40:09 +0000 (0:00:02.105) 0:00:14.382 ********* 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 09:40:09 +0000 (0:00:00.037) 0:00:14.419 ********* 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 09:40:09 +0000 (0:00:00.024) 0:00:14.444 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/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": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-Fb 4096", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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 09:40:09 +0000 (0:00:00.039) 0:00:14.484 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-Fb 4096", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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 09:40:09 +0000 (0:00:00.039) 0:00:14.523 ********* 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 09:40:09 +0000 (0:00:00.039) 0:00:14.562 ********* 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 09:40:09 +0000 (0:00:00.045) 0:00:14.607 ********* 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 09:40:10 +0000 (0:00:00.937) 0:00:15.545 ********* 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': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 09:40:11 +0000 (0:00:00.556) 0:00:16.101 ********* 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 09:40:11 +0000 (0:00:00.649) 0:00:16.751 ********* 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 09:40:12 +0000 (0:00:00.367) 0:00:17.118 ********* 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 09:40:12 +0000 (0:00:00.022) 0:00:17.140 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:46 Thursday 21 July 2022 09:40:13 +0000 (0:00:00.966) 0:00:18.107 ********* 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 09:40:13 +0000 (0:00:00.041) 0:00:18.149 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-Fb 4096", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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 09:40:13 +0000 (0:00:00.079) 0:00:18.228 ********* 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 09:40:13 +0000 (0:00:00.038) 0:00:18.267 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "d7deafb3-b58a-4ae5-a9fe-5fdeaab4489b" }, "/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": "9vdoRl-BLK9-KgF4-2CgQ-u0TA-QNQc-CtYBSM" }, "/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-09-39-27-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 09:40:13 +0000 (0:00:00.479) 0:00:18.746 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002764", "end": "2022-07-21 05:40:14.524348", "rc": 0, "start": "2022-07-21 05:40:14.521584" } 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 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 09:40:14 +0000 (0:00:00.469) 0:00:19.216 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002592", "end": "2022-07-21 05:40:14.883240", "failed_when_result": false, "rc": 1, "start": "2022-07-21 05:40:14.880648" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code 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 09:40:14 +0000 (0:00:00.354) 0:00:19.570 ********* 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': 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', '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 09:40:14 +0000 (0:00:00.060) 0:00:19.631 ********* 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 09:40:14 +0000 (0:00:00.038) 0:00:19.670 ********* 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 09:40:14 +0000 (0:00:00.051) 0:00:19.721 ********* 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 09:40:15 +0000 (0:00:00.052) 0:00:19.773 ********* 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 09:40:15 +0000 (0:00:00.502) 0:00:20.276 ********* 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 09:40:15 +0000 (0:00:00.049) 0:00:20.325 ********* 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 09:40:15 +0000 (0:00:00.048) 0:00:20.373 ********* 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 09:40:15 +0000 (0:00:00.048) 0:00:20.421 ********* 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 09:40:15 +0000 (0:00:00.039) 0:00:20.461 ********* 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 09:40:15 +0000 (0:00:00.051) 0:00:20.513 ********* 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 09:40:15 +0000 (0:00:00.024) 0:00:20.538 ********* 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 09:40:15 +0000 (0:00:00.048) 0:00:20.586 ********* 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 09:40:15 +0000 (0:00:00.050) 0:00:20.637 ********* 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 09:40:15 +0000 (0:00:00.026) 0:00:20.664 ********* 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 09:40:15 +0000 (0:00:00.025) 0:00:20.690 ********* 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 09:40:15 +0000 (0:00:00.025) 0:00:20.715 ********* 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 09:40:15 +0000 (0:00:00.026) 0:00:20.742 ********* 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 09:40:16 +0000 (0:00:00.026) 0:00:20.768 ********* 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 09:40:16 +0000 (0:00:00.024) 0:00:20.793 ********* 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 09:40:16 +0000 (0:00:00.024) 0:00:20.818 ********* 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 09:40:16 +0000 (0:00:00.118) 0:00:20.936 ********* 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 09:40:16 +0000 (0:00:00.046) 0:00:20.982 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', '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 09:40:16 +0000 (0:00:00.045) 0:00:21.028 ********* 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 09:40:16 +0000 (0:00:00.029) 0:00:21.058 ********* 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 09:40:16 +0000 (0:00:00.028) 0:00:21.086 ********* 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 09:40:16 +0000 (0:00:00.026) 0:00:21.113 ********* 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 09:40:16 +0000 (0:00:00.045) 0:00:21.159 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', '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 09:40:16 +0000 (0:00:00.043) 0:00:21.203 ********* 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 09:40:16 +0000 (0:00:00.024) 0:00:21.227 ********* 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 09:40:16 +0000 (0:00:00.025) 0:00:21.253 ********* 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 09:40:16 +0000 (0:00:00.025) 0:00:21.278 ********* 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 09:40:16 +0000 (0:00:00.024) 0:00:21.303 ********* 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 09:40:16 +0000 (0:00:00.047) 0:00:21.350 ********* 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 09:40:16 +0000 (0:00:00.047) 0:00:21.398 ********* 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 09:40:16 +0000 (0:00:00.026) 0:00:21.424 ********* 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 09:40:16 +0000 (0:00:00.042) 0:00:21.466 ********* 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 09:40:16 +0000 (0:00:00.049) 0:00:21.516 ********* 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 09:40:16 +0000 (0:00:00.051) 0:00:21.567 ********* 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 09:40:16 +0000 (0:00:00.038) 0:00:21.606 ********* 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 09:40:16 +0000 (0:00:00.037) 0:00:21.644 ********* 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 09:40:16 +0000 (0:00:00.039) 0:00:21.683 ********* 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 09:40:16 +0000 (0:00:00.033) 0:00:21.717 ********* 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 09:40:16 +0000 (0:00:00.034) 0:00:21.752 ********* 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 09:40:17 +0000 (0:00:00.048) 0:00:21.800 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', '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 09:40:17 +0000 (0:00:00.044) 0:00:21.845 ********* 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 09:40:17 +0000 (0:00:00.022) 0:00:21.868 ********* 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 09:40:17 +0000 (0:00:00.023) 0:00:21.891 ********* 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 09:40:17 +0000 (0:00:00.026) 0:00:21.917 ********* 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 09:40:17 +0000 (0:00:00.023) 0:00:21.941 ********* 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 09:40:17 +0000 (0:00:00.025) 0:00:21.967 ********* 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 09:40:17 +0000 (0:00:00.026) 0:00:21.993 ********* 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 09:40:17 +0000 (0:00:00.025) 0:00:22.018 ********* 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 09:40:17 +0000 (0:00:00.071) 0:00:22.090 ********* 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 09:40:17 +0000 (0:00:00.117) 0:00:22.208 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', '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 09:40:17 +0000 (0:00:00.045) 0:00:22.253 ********* 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 09:40:17 +0000 (0:00:00.064) 0:00:22.317 ********* 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 09:40:17 +0000 (0:00:00.086) 0:00:22.404 ********* 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 09:40:17 +0000 (0:00:00.040) 0:00:22.445 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1011640, "block_used": 56530, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4143677440, "uuid": "d7deafb3-b58a-4ae5-a9fe-5fdeaab4489b" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1011640, "block_used": 56530, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4143677440, "uuid": "d7deafb3-b58a-4ae5-a9fe-5fdeaab4489b" } ], "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 09:40:17 +0000 (0:00:00.053) 0:00:22.498 ********* 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 09:40:17 +0000 (0:00:00.050) 0:00:22.549 ********* 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 09:40:17 +0000 (0:00:00.050) 0:00:22.599 ********* 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 09:40:17 +0000 (0:00:00.052) 0:00:22.651 ********* 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 09:40:17 +0000 (0:00:00.026) 0:00:22.678 ********* 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 09:40:17 +0000 (0:00:00.024) 0:00:22.702 ********* 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 09:40:17 +0000 (0:00:00.024) 0:00:22.727 ********* 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 09:40:17 +0000 (0:00:00.035) 0:00:22.762 ********* 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 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 09:40:18 +0000 (0:00:00.061) 0:00:22.824 ********* 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 09:40:18 +0000 (0:00:00.051) 0:00:22.876 ********* 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 09:40:18 +0000 (0:00:00.053) 0:00:22.929 ********* 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 09:40:18 +0000 (0:00:00.041) 0:00:22.971 ********* 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 09:40:18 +0000 (0:00:00.036) 0:00:23.007 ********* 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 09:40:18 +0000 (0:00:00.039) 0:00:23.046 ********* 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 09:40:18 +0000 (0:00:00.042) 0:00:23.089 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658396409.6338818, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658396409.6338818, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 757, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658396409.6338818, "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 09:40:18 +0000 (0:00:00.425) 0:00:23.515 ********* 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 09:40:18 +0000 (0:00:00.039) 0:00:23.554 ********* 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 09:40:18 +0000 (0:00:00.039) 0:00:23.594 ********* 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 09:40:18 +0000 (0:00:00.038) 0:00:23.632 ********* 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 09:40:18 +0000 (0:00:00.025) 0:00:23.657 ********* 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 09:40:18 +0000 (0:00:00.040) 0:00:23.697 ********* 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 09:40:18 +0000 (0:00:00.025) 0:00:23.723 ********* 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 09:40:19 +0000 (0:00:00.910) 0:00:24.633 ********* 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 09:40:19 +0000 (0:00:00.028) 0:00:24.661 ********* 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 09:40:19 +0000 (0:00:00.025) 0:00:24.687 ********* 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 09:40:20 +0000 (0:00:00.090) 0:00:24.777 ********* 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 09:40:20 +0000 (0:00:00.061) 0:00:24.839 ********* 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 09:40:20 +0000 (0:00:00.026) 0:00:24.865 ********* 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 09:40:20 +0000 (0:00:00.026) 0:00:24.891 ********* 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 09:40:20 +0000 (0:00:00.025) 0:00:24.917 ********* 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 09:40:20 +0000 (0:00:00.038) 0:00:24.955 ********* 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 09:40:20 +0000 (0:00:00.051) 0:00:25.006 ********* 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 09:40:20 +0000 (0:00:00.051) 0:00:25.058 ********* 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 09:40:20 +0000 (0:00:00.038) 0:00:25.097 ********* 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 09:40:20 +0000 (0:00:00.037) 0:00:25.134 ********* 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 09:40:20 +0000 (0:00:00.036) 0:00:25.171 ********* 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 09:40:20 +0000 (0:00:00.038) 0:00:25.210 ********* 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 09:40:20 +0000 (0:00:00.040) 0:00:25.250 ********* 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 09:40:20 +0000 (0:00:00.038) 0:00:25.289 ********* 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 09:40:20 +0000 (0:00:00.037) 0:00:25.326 ********* 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 09:40:20 +0000 (0:00:00.036) 0:00:25.362 ********* 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 09:40:20 +0000 (0:00:00.044) 0:00:25.406 ********* 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 09:40:20 +0000 (0:00:00.044) 0:00:25.451 ********* 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 09:40:20 +0000 (0:00:00.039) 0:00:25.491 ********* 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 09:40:21 +0000 (0:00:00.544) 0:00:26.036 ********* 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 09:40:21 +0000 (0:00:00.391) 0:00:26.427 ********* 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 09:40:21 +0000 (0:00:00.055) 0:00:26.482 ********* 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 09:40:21 +0000 (0:00:00.038) 0:00:26.520 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 09:40:21 +0000 (0:00:00.039) 0:00:26.560 ********* 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 09:40:21 +0000 (0:00:00.038) 0:00:26.598 ********* 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 09:40:21 +0000 (0:00:00.040) 0:00:26.638 ********* 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 09:40:21 +0000 (0:00:00.037) 0:00:26.676 ********* 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 09:40:21 +0000 (0:00:00.039) 0:00:26.715 ********* 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 09:40:21 +0000 (0:00:00.036) 0:00:26.752 ********* 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 09:40:22 +0000 (0:00:00.038) 0:00:26.790 ********* 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 09:40:22 +0000 (0:00:00.090) 0:00:26.881 ********* 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.039796", "end": "2022-07-21 05:40:22.640039", "rc": 0, "start": "2022-07-21 05:40:22.600243" } 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 09:40:22 +0000 (0:00:00.448) 0:00:27.330 ********* 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 09:40:22 +0000 (0:00:00.085) 0:00:27.416 ********* 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 09:40:22 +0000 (0:00:00.093) 0:00:27.509 ********* 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 09:40:22 +0000 (0:00:00.072) 0:00:27.582 ********* 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 09:40:22 +0000 (0:00:00.037) 0:00:27.620 ********* 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 09:40:22 +0000 (0:00:00.037) 0:00:27.658 ********* 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 09:40:22 +0000 (0:00:00.037) 0:00:27.695 ********* 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 09:40:22 +0000 (0:00:00.033) 0:00:27.729 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 09:40:22 +0000 (0:00:00.023) 0:00:27.752 ********* 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 volume group created above] *********************************** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:48 Thursday 21 July 2022 09:40:23 +0000 (0:00:00.035) 0:00:27.788 ********* 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 09:40:23 +0000 (0:00:00.051) 0:00:27.840 ********* 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 09:40:23 +0000 (0:00:00.036) 0:00:27.877 ********* 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 09:40:23 +0000 (0:00:00.529) 0:00:28.406 ********* 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 09:40:23 +0000 (0:00:00.062) 0:00:28.468 ********* 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 09:40:23 +0000 (0:00:00.033) 0:00:28.502 ********* 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 09:40:23 +0000 (0:00:00.041) 0:00:28.544 ********* 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 09:40:23 +0000 (0:00:00.051) 0:00:28.595 ********* 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 09:40:23 +0000 (0:00:00.022) 0:00:28.618 ********* 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 09:40:23 +0000 (0:00:00.028) 0:00:28.646 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "lvm" } ] } 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 09:40:23 +0000 (0:00:00.036) 0:00:28.683 ********* 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 09:40:23 +0000 (0:00:00.033) 0:00:28.717 ********* 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 09:40:23 +0000 (0:00:00.028) 0:00:28.745 ********* 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 09:40:24 +0000 (0:00:00.028) 0:00:28.773 ********* 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 09:40:24 +0000 (0:00:00.030) 0:00:28.804 ********* 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 09:40:24 +0000 (0:00:00.029) 0:00:28.833 ********* 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 09:40:24 +0000 (0:00:00.055) 0:00:28.889 ********* 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 09:40:24 +0000 (0:00:00.022) 0:00:28.911 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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 09:40:26 +0000 (0:00:02.229) 0:00:31.141 ********* 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 09:40:26 +0000 (0:00:00.042) 0:00:31.184 ********* 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 09:40:26 +0000 (0:00:00.024) 0:00:31.208 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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 09:40:26 +0000 (0:00:00.042) 0:00:31.251 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "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 09:40:26 +0000 (0:00:00.037) 0:00:31.288 ********* 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 09:40:26 +0000 (0:00:00.040) 0:00:31.329 ********* 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': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 09:40:26 +0000 (0:00:00.401) 0:00:31.731 ********* 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 09:40:27 +0000 (0:00:00.652) 0:00:32.383 ********* 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 09:40:27 +0000 (0:00:00.040) 0:00:32.424 ********* 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 09:40:28 +0000 (0:00:00.653) 0:00:33.078 ********* 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 09:40:28 +0000 (0:00:00.364) 0:00:33.443 ********* 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 09:40:28 +0000 (0:00:00.023) 0:00:33.466 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:58 Thursday 21 July 2022 09:40:29 +0000 (0:00:00.981) 0:00:34.448 ********* 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 09:40:29 +0000 (0:00:00.044) 0:00:34.493 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:6 Thursday 21 July 2022 09:40:29 +0000 (0:00:00.120) 0:00:34.614 ********* 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 09:40:29 +0000 (0:00:00.038) 0:00:34.652 ********* 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-09-39-27-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 09:40:30 +0000 (0:00:00.380) 0:00:35.033 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002598", "end": "2022-07-21 05:40:30.711653", "rc": 0, "start": "2022-07-21 05:40:30.709055" } 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 09:40:30 +0000 (0:00:00.368) 0:00:35.401 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002591", "end": "2022-07-21 05:40:31.078503", "failed_when_result": false, "rc": 1, "start": "2022-07-21 05:40:31.075912" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code 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 09:40:31 +0000 (0:00:00.372) 0:00:35.774 ********* 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': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:5 Thursday 21 July 2022 09:40:31 +0000 (0:00:00.059) 0:00:35.833 ********* 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 09:40:31 +0000 (0:00:00.037) 0:00:35.871 ********* 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 09:40:31 +0000 (0:00:00.047) 0:00:35.919 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 09:40:31 +0000 (0:00:00.054) 0:00:35.974 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 09:40:31 +0000 (0:00:00.023) 0:00:35.997 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 09:40:31 +0000 (0:00:00.051) 0:00:36.049 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 09:40:31 +0000 (0:00:00.053) 0:00:36.102 ********* 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 09:40:31 +0000 (0:00:00.052) 0:00:36.155 ********* 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 09:40:31 +0000 (0:00:00.040) 0:00:36.195 ********* 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 09:40:31 +0000 (0:00:00.053) 0:00:36.248 ********* 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 09:40:31 +0000 (0:00:00.026) 0:00:36.275 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 09:40:31 +0000 (0:00:00.023) 0:00:36.298 ********* 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 09:40:31 +0000 (0:00:00.044) 0:00:36.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 09:40:31 +0000 (0:00:00.025) 0:00:36.369 ********* 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 09:40:31 +0000 (0:00:00.025) 0:00:36.394 ********* 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 09:40:31 +0000 (0:00:00.025) 0:00:36.420 ********* 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 09:40:31 +0000 (0:00:00.026) 0:00:36.447 ********* 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 09:40:31 +0000 (0:00:00.025) 0:00:36.472 ********* 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 09:40:31 +0000 (0:00:00.025) 0:00:36.498 ********* 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 09:40:31 +0000 (0:00:00.023) 0:00:36.521 ********* 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 09:40:31 +0000 (0:00:00.128) 0:00:36.650 ********* 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 09:40:31 +0000 (0:00:00.047) 0:00:36.698 ********* TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 09:40:31 +0000 (0:00:00.024) 0:00:36.723 ********* 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 09:40:32 +0000 (0:00:00.045) 0:00:36.768 ********* TASK [Check member encryption] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 09:40:32 +0000 (0:00:00.022) 0:00:36.791 ********* 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 09:40:32 +0000 (0:00:00.046) 0:00:36.838 ********* 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 09:40:32 +0000 (0:00:00.048) 0:00:36.886 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 09:40:32 +0000 (0:00:00.021) 0:00:36.907 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 09:40:32 +0000 (0:00:00.021) 0:00:36.929 ********* 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 09:40:32 +0000 (0:00:00.031) 0:00:36.961 ********* 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 09:40:32 +0000 (0:00:00.047) 0:00:37.009 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 09:40:32 +0000 (0:00:00.024) 0:00:37.033 ********* 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 09:40:32 +0000 (0:00:00.035) 0:00:37.069 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 09:40:32 +0000 (0:00:00.024) 0:00:37.093 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 09:40:32 +0000 (0:00:00.023) 0:00:37.117 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create ext4 filesystem with invalid parameter "-Fb 512"] ********** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:62 Thursday 21 July 2022 09:40:32 +0000 (0:00:00.038) 0:00:37.155 ********* 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 09:40:32 +0000 (0:00:00.039) 0:00:37.195 ********* 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 09:40:32 +0000 (0:00:00.038) 0:00:37.234 ********* 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 09:40:32 +0000 (0:00:00.514) 0:00:37.748 ********* 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 09:40:33 +0000 (0:00:00.064) 0:00:37.813 ********* 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 09:40:33 +0000 (0:00:00.037) 0:00:37.851 ********* 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 09:40:33 +0000 (0:00:00.037) 0:00:37.888 ********* 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 09:40:33 +0000 (0:00:00.048) 0:00:37.936 ********* 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 09:40:33 +0000 (0:00:00.021) 0:00:37.958 ********* 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 09:40:33 +0000 (0:00:00.029) 0:00:37.987 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_create_options": "-Fb 512", "fs_type": "ext4", "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 09:40:33 +0000 (0:00:00.042) 0:00:38.030 ********* 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 09:40:33 +0000 (0:00:00.083) 0:00:38.114 ********* 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 09:40:33 +0000 (0:00:00.030) 0:00:38.145 ********* 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 09:40:33 +0000 (0:00:00.074) 0:00:38.219 ********* 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 09:40:33 +0000 (0:00:00.030) 0:00:38.250 ********* 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 09:40:33 +0000 (0:00:00.029) 0:00:38.279 ********* 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 09:40:33 +0000 (0:00:00.059) 0:00:38.338 ********* 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 09:40:33 +0000 (0:00:00.021) 0:00:38.360 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [ "xfsprogs", "lvm2", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [] } MSG: Failed to commit changes to disk: (FSError('format failed: 1'), '/dev/mapper/foo-test1') 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 09:40:35 +0000 (0:00:02.029) 0:00:40.390 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': ['xfsprogs', 'lvm2', 'dosfstools', 'e2fsprogs'], 'failed': True, 'msg': "Failed to commit changes to disk: (FSError('format failed: 1'), '/dev/mapper/foo-test1')", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '-Fb 512', 'fs_label': '', 'fs_type': 'ext4', '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'}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 09:40:35 +0000 (0:00:00.040) 0:00:40.430 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:82 Thursday 21 July 2022 09:40:35 +0000 (0:00:00.023) 0:00:40.453 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output when creating ext4 filesystem with invalid parameter "-Fb 512"] *** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:88 Thursday 21 July 2022 09:40:35 +0000 (0:00:00.039) 0:00:40.493 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Remove the volume group created above] *********************************** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:95 Thursday 21 July 2022 09:40:35 +0000 (0:00:00.051) 0:00:40.544 ********* 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 09:40:35 +0000 (0:00:00.040) 0:00:40.585 ********* 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 09:40:35 +0000 (0:00:00.036) 0:00:40.622 ********* 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 09:40:36 +0000 (0:00:00.522) 0:00:41.145 ********* 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 09:40:36 +0000 (0:00:00.065) 0:00:41.211 ********* 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 09:40:36 +0000 (0:00:00.037) 0:00:41.248 ********* 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 09:40:36 +0000 (0:00:00.038) 0:00:41.287 ********* 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 09:40:36 +0000 (0:00:00.048) 0:00:41.335 ********* 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 09:40:36 +0000 (0:00:00.022) 0:00:41.358 ********* 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 09:40:36 +0000 (0:00:00.028) 0:00:41.387 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "lvm" } ] } 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 09:40:36 +0000 (0:00:00.038) 0:00:41.425 ********* 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 09:40:36 +0000 (0:00:00.077) 0:00:41.503 ********* 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 09:40:36 +0000 (0:00:00.031) 0:00:41.535 ********* 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 09:40:36 +0000 (0:00:00.028) 0:00:41.563 ********* 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 09:40:36 +0000 (0:00:00.027) 0:00:41.591 ********* 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 09:40:36 +0000 (0:00:00.027) 0:00:41.619 ********* 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 09:40:36 +0000 (0:00:00.144) 0:00:41.763 ********* 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 09:40:37 +0000 (0:00:00.033) 0:00:41.796 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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 09:40:39 +0000 (0:00:02.034) 0:00:43.831 ********* 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 09:40:39 +0000 (0:00:00.035) 0:00:43.867 ********* 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 09:40:39 +0000 (0:00:00.021) 0:00:43.888 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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 09:40:39 +0000 (0:00:00.038) 0:00:43.927 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "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 09:40:39 +0000 (0:00:00.040) 0:00:43.967 ********* 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 09:40:39 +0000 (0:00:00.036) 0:00:44.004 ********* 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 09:40:39 +0000 (0:00:00.035) 0:00:44.040 ********* 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 09:40:39 +0000 (0:00:00.024) 0:00:44.064 ********* 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 09:40:39 +0000 (0:00:00.037) 0:00:44.102 ********* 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 09:40:39 +0000 (0:00:00.026) 0:00:44.128 ********* 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 09:40:39 +0000 (0:00:00.352) 0:00:44.481 ********* 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 09:40:39 +0000 (0:00:00.021) 0:00:44.503 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [Create one LVM logical volume with "4g" under one volume group] ********** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:105 Thursday 21 July 2022 09:40:40 +0000 (0:00:00.932) 0:00:45.435 ********* 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 09:40:40 +0000 (0:00:00.041) 0:00:45.477 ********* 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 09:40:40 +0000 (0:00:00.037) 0:00:45.514 ********* 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 09:40:41 +0000 (0:00:00.550) 0:00:46.065 ********* 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 09:40:41 +0000 (0:00:00.097) 0:00:46.162 ********* 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 09:40:41 +0000 (0:00:00.035) 0:00:46.198 ********* 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 09:40:41 +0000 (0:00:00.033) 0:00:46.231 ********* 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 09:40:41 +0000 (0:00:00.048) 0:00:46.279 ********* 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 09:40:41 +0000 (0:00:00.052) 0:00:46.332 ********* 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 09:40:41 +0000 (0:00:00.029) 0:00:46.362 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "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 09:40:41 +0000 (0:00:00.040) 0:00:46.402 ********* 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 09:40:41 +0000 (0:00:00.037) 0:00:46.440 ********* 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 09:40:41 +0000 (0:00:00.035) 0:00:46.475 ********* 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 09:40:41 +0000 (0:00:00.029) 0:00:46.505 ********* 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 09:40:41 +0000 (0:00:00.027) 0:00:46.532 ********* 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 09:40:41 +0000 (0:00:00.027) 0:00:46.560 ********* 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 09:40:41 +0000 (0:00:00.057) 0:00:46.618 ********* 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 09:40:41 +0000 (0:00:00.022) 0:00:46.640 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/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": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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 09:40:43 +0000 (0:00:02.054) 0:00:48.695 ********* 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 09:40:43 +0000 (0:00:00.045) 0:00:48.740 ********* 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 09:40:43 +0000 (0:00:00.023) 0:00:48.764 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/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": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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 09:40:44 +0000 (0:00:00.042) 0:00:48.807 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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 09:40:44 +0000 (0:00:00.040) 0:00:48.847 ********* 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 09:40:44 +0000 (0:00:00.039) 0:00:48.887 ********* 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 09:40:44 +0000 (0:00:00.040) 0:00:48.928 ********* 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 09:40:44 +0000 (0:00:00.670) 0:00:49.598 ********* 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': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 09:40:45 +0000 (0:00:00.415) 0:00:50.013 ********* 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 09:40:45 +0000 (0:00:00.655) 0:00:50.669 ********* 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 09:40:46 +0000 (0:00:00.357) 0:00:51.027 ********* 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 09:40:46 +0000 (0:00:00.024) 0:00:51.052 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:119 Thursday 21 July 2022 09:40:47 +0000 (0:00:01.026) 0:00:52.078 ********* 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 09:40:47 +0000 (0:00:00.040) 0:00:52.119 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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 09:40:47 +0000 (0:00:00.095) 0:00:52.215 ********* 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 09:40:47 +0000 (0:00:00.039) 0:00:52.254 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "ccc941f0-57fa-4e26-8c83-15d24130612e" }, "/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": "2LhjOd-wXmn-axyq-JRL1-kZHK-8xDV-Kd7wOW" }, "/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-09-39-27-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 09:40:47 +0000 (0:00:00.382) 0:00:52.636 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002597", "end": "2022-07-21 05:40:48.310146", "rc": 0, "start": "2022-07-21 05:40:48.307549" } 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 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 09:40:48 +0000 (0:00:00.364) 0:00:53.000 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002772", "end": "2022-07-21 05:40:48.681656", "failed_when_result": false, "rc": 1, "start": "2022-07-21 05:40:48.678884" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code 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 09:40:48 +0000 (0:00:00.373) 0:00:53.373 ********* 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': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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 09:40:48 +0000 (0:00:00.058) 0:00:53.432 ********* 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 09:40:48 +0000 (0:00:00.035) 0:00:53.468 ********* 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 09:40:48 +0000 (0:00:00.047) 0:00:53.515 ********* 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 09:40:48 +0000 (0:00:00.061) 0:00:53.577 ********* 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 09:40:49 +0000 (0:00:00.367) 0:00:53.944 ********* 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 09:40:49 +0000 (0:00:00.049) 0:00:53.994 ********* 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 09:40:49 +0000 (0:00:00.052) 0:00:54.047 ********* 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 09:40:49 +0000 (0:00:00.053) 0:00:54.100 ********* 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 09:40:49 +0000 (0:00:00.040) 0:00:54.141 ********* 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 09:40:49 +0000 (0:00:00.050) 0:00:54.191 ********* 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 09:40:49 +0000 (0:00:00.024) 0:00:54.215 ********* 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 09:40:49 +0000 (0:00:00.042) 0:00:54.258 ********* 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 09:40:49 +0000 (0:00:00.051) 0:00:54.310 ********* 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 09:40:49 +0000 (0:00:00.026) 0:00:54.336 ********* 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 09:40:49 +0000 (0:00:00.025) 0:00:54.362 ********* 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 09:40:49 +0000 (0:00:00.062) 0:00:54.424 ********* 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 09:40:49 +0000 (0:00:00.026) 0:00:54.451 ********* 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 09:40:49 +0000 (0:00:00.026) 0:00:54.477 ********* 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 09:40:49 +0000 (0:00:00.023) 0:00:54.501 ********* 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 09:40:49 +0000 (0:00:00.024) 0:00:54.525 ********* 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 09:40:49 +0000 (0:00:00.032) 0:00:54.557 ********* 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 09:40:49 +0000 (0:00:00.043) 0:00:54.601 ********* 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': 'ext4', '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 09:40:49 +0000 (0:00:00.048) 0:00:54.649 ********* 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 09:40:49 +0000 (0:00:00.026) 0:00:54.675 ********* 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 09:40:49 +0000 (0:00:00.030) 0:00:54.705 ********* 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 09:40:49 +0000 (0:00:00.030) 0:00:54.736 ********* 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 09:40:50 +0000 (0:00:00.044) 0:00:54.780 ********* 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': 'ext4', '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 09:40:50 +0000 (0:00:00.046) 0:00:54.827 ********* 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 09:40:50 +0000 (0:00:00.024) 0:00:54.851 ********* 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 09:40:50 +0000 (0:00:00.022) 0:00:54.874 ********* 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 09:40:50 +0000 (0:00:00.025) 0:00:54.900 ********* 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 09:40:50 +0000 (0:00:00.025) 0:00:54.925 ********* 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 09:40:50 +0000 (0:00:00.050) 0:00:54.976 ********* 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 09:40:50 +0000 (0:00:00.053) 0:00:55.029 ********* 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 09:40:50 +0000 (0:00:00.029) 0:00:55.059 ********* 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 09:40:50 +0000 (0:00:00.047) 0:00:55.106 ********* 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 09:40:50 +0000 (0:00:00.049) 0:00:55.155 ********* 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 09:40:50 +0000 (0:00:00.055) 0:00:55.210 ********* 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 09:40:50 +0000 (0:00:00.037) 0:00:55.248 ********* 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 09:40:50 +0000 (0:00:00.041) 0:00:55.289 ********* 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 09:40:50 +0000 (0:00:00.039) 0:00:55.329 ********* 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 09:40:50 +0000 (0:00:00.036) 0:00:55.366 ********* 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 09:40:50 +0000 (0:00:00.037) 0:00:55.404 ********* 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 09:40:50 +0000 (0:00:00.051) 0:00:55.455 ********* 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': 'ext4', '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 09:40:50 +0000 (0:00:00.048) 0:00:55.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 09:40:50 +0000 (0:00:00.024) 0:00:55.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 09:40:50 +0000 (0:00:00.025) 0:00:55.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 09:40:50 +0000 (0:00:00.025) 0:00:55.578 ********* 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 09:40:50 +0000 (0:00:00.027) 0:00:55.605 ********* 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 09:40:50 +0000 (0:00:00.060) 0:00:55.666 ********* 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 09:40:50 +0000 (0:00:00.026) 0:00:55.692 ********* 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 09:40:50 +0000 (0:00:00.027) 0:00:55.719 ********* 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 09:40:50 +0000 (0:00:00.040) 0:00:55.760 ********* 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 09:40:51 +0000 (0:00:00.040) 0:00:55.800 ********* 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': 'ext4', '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 09:40:51 +0000 (0:00:00.045) 0:00:55.846 ********* 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 09:40:51 +0000 (0:00:00.053) 0:00:55.899 ********* 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 09:40:51 +0000 (0:00:00.081) 0:00:55.980 ********* 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 09:40:51 +0000 (0:00:00.042) 0:00:56.022 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1011640, "block_used": 56530, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4143677440, "uuid": "ccc941f0-57fa-4e26-8c83-15d24130612e" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1011640, "block_used": 56530, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4143677440, "uuid": "ccc941f0-57fa-4e26-8c83-15d24130612e" } ], "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 09:40:51 +0000 (0:00:00.058) 0:00:56.081 ********* 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 09:40:51 +0000 (0:00:00.060) 0:00:56.142 ********* 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 09:40:51 +0000 (0:00:00.051) 0:00:56.193 ********* 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 09:40:51 +0000 (0:00:00.054) 0:00:56.248 ********* 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 09:40:51 +0000 (0:00:00.025) 0:00:56.274 ********* 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 09:40:51 +0000 (0:00:00.027) 0:00:56.301 ********* 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 09:40:51 +0000 (0:00:00.024) 0:00:56.325 ********* 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 09:40:51 +0000 (0:00:00.036) 0:00:56.361 ********* 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 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 09:40:51 +0000 (0:00:00.071) 0:00:56.433 ********* 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 09:40:51 +0000 (0:00:00.052) 0:00:56.485 ********* 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 09:40:51 +0000 (0:00:00.053) 0:00:56.538 ********* 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 09:40:51 +0000 (0:00:00.037) 0:00:56.576 ********* 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 09:40:51 +0000 (0:00:00.041) 0:00:56.617 ********* 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 09:40:51 +0000 (0:00:00.039) 0:00:56.656 ********* 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 09:40:51 +0000 (0:00:00.040) 0:00:56.697 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658396443.947882, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658396443.947882, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1083, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658396443.947882, "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 09:40:52 +0000 (0:00:00.383) 0:00:57.080 ********* 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 09:40:52 +0000 (0:00:00.042) 0:00:57.123 ********* 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 09:40:52 +0000 (0:00:00.042) 0:00:57.165 ********* 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 09:40:52 +0000 (0:00:00.041) 0:00:57.207 ********* 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 09:40:52 +0000 (0:00:00.029) 0:00:57.237 ********* 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 09:40:52 +0000 (0:00:00.038) 0:00:57.275 ********* 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 09:40:52 +0000 (0:00:00.023) 0:00:57.299 ********* 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 09:40:53 +0000 (0:00:00.960) 0:00:58.260 ********* 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 09:40:53 +0000 (0:00:00.026) 0:00:58.286 ********* 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 09:40:53 +0000 (0:00:00.025) 0:00:58.312 ********* 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 09:40:53 +0000 (0:00:00.054) 0:00:58.367 ********* 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 09:40:53 +0000 (0:00:00.025) 0:00:58.392 ********* 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 09:40:53 +0000 (0:00:00.024) 0:00:58.416 ********* 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 09:40:53 +0000 (0:00:00.024) 0:00:58.441 ********* 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 09:40:53 +0000 (0:00:00.023) 0:00:58.464 ********* 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 09:40:53 +0000 (0:00:00.023) 0:00:58.487 ********* 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 09:40:53 +0000 (0:00:00.056) 0:00:58.544 ********* 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 09:40:53 +0000 (0:00:00.049) 0:00:58.593 ********* 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 09:40:53 +0000 (0:00:00.038) 0:00:58.631 ********* 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 09:40:53 +0000 (0:00:00.036) 0:00:58.668 ********* 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 09:40:53 +0000 (0:00:00.040) 0:00:58.708 ********* 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 09:40:53 +0000 (0:00:00.033) 0:00:58.742 ********* 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 09:40:54 +0000 (0:00:00.035) 0:00:58.778 ********* 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 09:40:54 +0000 (0:00:00.035) 0:00:58.813 ********* 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 09:40:54 +0000 (0:00:00.043) 0:00:58.857 ********* 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 09:40:54 +0000 (0:00:00.036) 0:00:58.893 ********* 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 09:40:54 +0000 (0:00:00.039) 0:00:58.933 ********* 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 09:40:54 +0000 (0:00:00.036) 0:00:58.969 ********* 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 09:40:54 +0000 (0:00:00.040) 0:00:59.010 ********* 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 09:40:54 +0000 (0:00:00.358) 0:00:59.369 ********* 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 09:40:54 +0000 (0:00:00.376) 0:00:59.746 ********* 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 09:40:55 +0000 (0:00:00.050) 0:00:59.797 ********* 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 09:40:55 +0000 (0:00:00.034) 0:00:59.831 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 09:40:55 +0000 (0:00:00.039) 0:00:59.871 ********* 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 09:40:55 +0000 (0:00:00.039) 0:00:59.911 ********* 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 09:40:55 +0000 (0:00:00.042) 0:00:59.953 ********* 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 09:40:55 +0000 (0:00:00.037) 0:00:59.991 ********* 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 09:40:55 +0000 (0:00:00.038) 0:01:00.029 ********* 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 09:40:55 +0000 (0:00:00.079) 0:01:00.109 ********* 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 09:40:55 +0000 (0:00:00.086) 0:01:00.195 ********* 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 09:40:55 +0000 (0:00:00.059) 0:01:00.254 ********* 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.030061", "end": "2022-07-21 05:40:55.962590", "rc": 0, "start": "2022-07-21 05:40:55.932529" } 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 09:40:55 +0000 (0:00:00.397) 0:01:00.651 ********* 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 09:40:55 +0000 (0:00:00.053) 0:01:00.705 ********* 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 09:40:55 +0000 (0:00:00.057) 0:01:00.762 ********* 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 09:40:56 +0000 (0:00:00.044) 0:01:00.807 ********* 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 09:40:56 +0000 (0:00:00.042) 0:01:00.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 09:40:56 +0000 (0:00:00.038) 0:01:00.887 ********* 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 09:40:56 +0000 (0:00:00.039) 0:01:00.927 ********* 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 09:40:56 +0000 (0:00:00.038) 0:01:00.966 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 09:40:56 +0000 (0:00:00.023) 0:01:00.989 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Resizing with one large value which large than disk's size] ************** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:123 Thursday 21 July 2022 09:40:56 +0000 (0:00:00.033) 0:01:01.023 ********* 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 09:40:56 +0000 (0:00:00.041) 0:01:01.065 ********* 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 09:40:56 +0000 (0:00:00.038) 0:01:01.103 ********* 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 09:40:56 +0000 (0:00:00.506) 0:01:01.610 ********* 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 09:40:56 +0000 (0:00:00.065) 0:01:01.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 09:40:56 +0000 (0:00:00.036) 0:01:01.713 ********* 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 09:40:56 +0000 (0:00:00.035) 0:01:01.748 ********* 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 09:40:57 +0000 (0:00:00.048) 0:01:01.797 ********* 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 09:40:57 +0000 (0:00:00.021) 0:01:01.819 ********* 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 09:40:57 +0000 (0:00:00.030) 0:01:01.849 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "12884901888.0" } ] } ] } 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 09:40:57 +0000 (0:00:00.051) 0:01:01.901 ********* 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 09:40:57 +0000 (0:00:00.035) 0:01:01.937 ********* 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 09:40:57 +0000 (0:00:00.035) 0:01:01.973 ********* 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 09:40:57 +0000 (0:00:00.031) 0:01:02.004 ********* 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 09:40:57 +0000 (0:00:00.030) 0:01:02.035 ********* 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 09:40:57 +0000 (0:00:00.027) 0:01:02.062 ********* 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 09:40:57 +0000 (0:00:00.058) 0:01:02.121 ********* 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 09:40:57 +0000 (0:00:00.023) 0:01:02.144 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' cannot be resized to '12 GiB' TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 09:40:59 +0000 (0:00:01.633) 0:01:03.778 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' cannot be resized to '12 GiB'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '12884901888.0', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 09:40:59 +0000 (0:00:00.081) 0:01:03.860 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:142 Thursday 21 July 2022 09:40:59 +0000 (0:00:00.022) 0:01:03.882 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output when resizing with large size] ************************* task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:148 Thursday 21 July 2022 09:40:59 +0000 (0:00:00.036) 0:01:03.918 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Remove the volume group created above] *********************************** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:155 Thursday 21 July 2022 09:40:59 +0000 (0:00:00.050) 0:01:03.969 ********* 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 09:40:59 +0000 (0:00:00.036) 0:01:04.006 ********* 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 09:40:59 +0000 (0:00:00.037) 0:01:04.043 ********* 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 09:40:59 +0000 (0:00:00.539) 0:01:04.583 ********* 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 09:40:59 +0000 (0:00:00.060) 0:01:04.643 ********* 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 09:40:59 +0000 (0:00:00.035) 0:01:04.678 ********* 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 09:40:59 +0000 (0:00:00.034) 0:01:04.713 ********* 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 09:40:59 +0000 (0:00:00.047) 0:01:04.761 ********* 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 09:41:00 +0000 (0:00:00.025) 0:01:04.786 ********* 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 09:41:00 +0000 (0:00:00.033) 0:01:04.819 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "lvm" } ] } 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 09:41:00 +0000 (0:00:00.042) 0:01:04.862 ********* 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 09:41:00 +0000 (0:00:00.041) 0:01:04.903 ********* 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 09:41:00 +0000 (0:00:00.031) 0:01:04.934 ********* 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 09:41:00 +0000 (0:00:00.030) 0:01:04.964 ********* 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 09:41:00 +0000 (0:00:00.036) 0:01:05.000 ********* 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 09:41:00 +0000 (0:00:00.031) 0:01:05.032 ********* 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 09:41:00 +0000 (0:00:00.059) 0:01:05.091 ********* 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 09:41:00 +0000 (0:00:00.023) 0:01:05.115 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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 09:41:02 +0000 (0:00:02.193) 0:01:07.308 ********* 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 09:41:02 +0000 (0:00:00.038) 0:01:07.347 ********* 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 09:41:02 +0000 (0:00:00.024) 0:01:07.372 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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 09:41:02 +0000 (0:00:00.122) 0:01:07.495 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "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 09:41:02 +0000 (0:00:00.038) 0:01:07.533 ********* 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 09:41:02 +0000 (0:00:00.038) 0:01:07.572 ********* 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': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 09:41:03 +0000 (0:00:00.392) 0:01:07.964 ********* 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 09:41:03 +0000 (0:00:00.659) 0:01:08.624 ********* 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 09:41:03 +0000 (0:00:00.038) 0:01:08.662 ********* 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 09:41:04 +0000 (0:00:00.655) 0:01:09.318 ********* 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 09:41:04 +0000 (0:00:00.359) 0:01:09.677 ********* 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 09:41:04 +0000 (0:00:00.025) 0:01:09.702 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [Create one partition on one disk] **************************************** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:165 Thursday 21 July 2022 09:41:05 +0000 (0:00:00.957) 0:01:10.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 09:41:05 +0000 (0:00:00.041) 0:01:10.700 ********* 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 09:41:05 +0000 (0:00:00.034) 0:01:10.735 ********* 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 09:41:06 +0000 (0:00:00.505) 0:01:11.241 ********* 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 09:41:06 +0000 (0:00:00.099) 0:01:11.341 ********* 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 09:41:06 +0000 (0:00:00.066) 0:01:11.407 ********* 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 09:41:06 +0000 (0:00:00.069) 0:01:11.477 ********* 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 09:41:06 +0000 (0:00:00.083) 0:01:11.560 ********* 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 09:41:06 +0000 (0:00:00.021) 0:01:11.582 ********* 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 09:41:06 +0000 (0:00:00.028) 0:01:11.610 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "partition", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "type": "partition" } ] } ] } 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 09:41:06 +0000 (0:00:00.035) 0:01:11.646 ********* 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 09:41:06 +0000 (0:00:00.035) 0:01:11.681 ********* 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 09:41:06 +0000 (0:00:00.029) 0:01:11.710 ********* 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 09:41:06 +0000 (0:00:00.029) 0:01:11.740 ********* 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 09:41:07 +0000 (0:00:00.026) 0:01:11.767 ********* 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 09:41:07 +0000 (0:00:00.028) 0:01:11.796 ********* 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 09:41:07 +0000 (0:00:00.055) 0:01:11.852 ********* 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 09:41:07 +0000 (0:00:00.023) 0:01:11.875 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "ext4" } ], "changed": true, "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/sda1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "partition", "volumes": [ { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "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 09:41:09 +0000 (0:00:01.995) 0:01:13.871 ********* 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 09:41:09 +0000 (0:00:00.039) 0:01:13.910 ********* 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 09:41:09 +0000 (0:00:00.023) 0:01:13.934 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "ext4" } ], "changed": true, "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/sda1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "partition", "volumes": [ { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "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 09:41:09 +0000 (0:00:00.040) 0:01:13.974 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "partition", "volumes": [ { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "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 09:41:09 +0000 (0:00:00.040) 0:01:14.015 ********* 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 09:41:09 +0000 (0:00:00.038) 0:01:14.053 ********* 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 09:41:09 +0000 (0:00:00.039) 0:01:14.092 ********* 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 09:41:09 +0000 (0:00:00.669) 0:01:14.762 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b" } 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 09:41:10 +0000 (0:00:00.404) 0:01:15.167 ********* 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 09:41:11 +0000 (0:00:00.640) 0:01:15.807 ********* 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 09:41:11 +0000 (0:00:00.395) 0:01:16.203 ********* 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 09:41:11 +0000 (0:00:00.024) 0:01:16.228 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:179 Thursday 21 July 2022 09:41:12 +0000 (0:00:01.065) 0:01:17.294 ********* 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 09:41:12 +0000 (0:00:00.048) 0:01:17.342 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "partition", "volumes": [ { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:6 Thursday 21 July 2022 09:41:12 +0000 (0:00:00.058) 0:01:17.401 ********* 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 09:41:12 +0000 (0:00:00.042) 0:01:17.443 ********* 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/sda1": { "fstype": "ext4", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "c96eb4b7-51ba-4c01-a4d5-a30941d9550b" }, "/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-09-39-27-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 09:41:13 +0000 (0:00:00.381) 0:01:17.825 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003121", "end": "2022-07-21 05:41:13.509916", "rc": 0, "start": "2022-07-21 05:41:13.506795" } 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 UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 09:41:13 +0000 (0:00:00.377) 0:01:18.203 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004199", "end": "2022-07-21 05:41:14.894272", "failed_when_result": false, "rc": 1, "start": "2022-07-21 05:41:13.890073" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code 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 09:41:14 +0000 (0:00:01.387) 0:01:19.590 ********* 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': 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': 'partition', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool.yml:5 Thursday 21 July 2022 09:41:14 +0000 (0:00:00.066) 0:01:19.657 ********* 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 09:41:14 +0000 (0:00:00.037) 0:01:19.695 ********* 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 09:41:14 +0000 (0:00:00.052) 0:01:19.748 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was 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 09:41:15 +0000 (0:00:00.027) 0:01:19.775 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 09:41:15 +0000 (0:00:00.024) 0:01:19.800 ********* 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:23 Thursday 21 July 2022 09:41:15 +0000 (0:00:00.027) 0:01:19.827 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 09:41:15 +0000 (0:00:00.028) 0:01:19.856 ********* 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:34 Thursday 21 July 2022 09:41:15 +0000 (0:00:00.026) 0:01:19.882 ********* 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:38 Thursday 21 July 2022 09:41:15 +0000 (0:00:00.026) 0:01:19.908 ********* 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 09:41:15 +0000 (0:00:00.027) 0:01:19.936 ********* 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 09:41:15 +0000 (0:00:00.027) 0:01:19.963 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 09:41:15 +0000 (0:00:00.021) 0:01:19.985 ********* 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 09:41:15 +0000 (0:00:00.042) 0:01:20.027 ********* 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 09:41:15 +0000 (0:00:00.076) 0:01:20.103 ********* 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 09:41:15 +0000 (0:00:00.027) 0:01:20.130 ********* 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 09:41:15 +0000 (0:00:00.026) 0:01:20.157 ********* 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 09:41:15 +0000 (0:00:00.027) 0:01:20.184 ********* 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 09:41:15 +0000 (0:00:00.027) 0:01:20.212 ********* 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 09:41:15 +0000 (0:00:00.026) 0:01:20.238 ********* 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 09:41:15 +0000 (0:00:00.024) 0:01:20.262 ********* 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 09:41:15 +0000 (0:00:00.038) 0:01:20.301 ********* 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 09:41:15 +0000 (0:00:00.045) 0:01:20.346 ********* skipping: [/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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}) => { "ansible_loop_var": "storage_test_lvmraid_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_lvmraid_volume": { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 09:41:15 +0000 (0:00:00.030) 0:01:20.377 ********* 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 09:41:15 +0000 (0:00:00.047) 0:01:20.425 ********* skipping: [/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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}) => { "ansible_loop_var": "storage_test_thin_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_thin_volume": { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [Check member encryption] ************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 09:41:15 +0000 (0:00:00.030) 0:01:20.455 ********* 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 09:41:15 +0000 (0:00:00.047) 0:01:20.503 ********* 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 09:41:15 +0000 (0:00:00.051) 0:01:20.554 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 09:41:15 +0000 (0:00:00.024) 0:01:20.579 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 09:41:15 +0000 (0:00:00.024) 0:01:20.603 ********* 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 09:41:15 +0000 (0:00:00.037) 0:01:20.641 ********* 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 09:41:15 +0000 (0:00:00.050) 0:01:20.692 ********* skipping: [/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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}) => { "ansible_loop_var": "storage_test_vdo_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_vdo_volume": { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 09:41:15 +0000 (0:00:00.031) 0:01:20.723 ********* 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 09:41:16 +0000 (0:00:00.046) 0:01:20.769 ********* 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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 09:41:16 +0000 (0:00:00.048) 0:01:20.818 ********* 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 09:41:16 +0000 (0:00:00.061) 0:01:20.879 ********* 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 09:41:16 +0000 (0:00:00.091) 0:01:20.971 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 09:41:16 +0000 (0:00:00.044) 0:01:21.015 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2419276, "block_size": 4096, "block_total": 2554437, "block_used": 135161, "device": "/dev/sda1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9909354496, "size_total": 10462973952, "uuid": "c96eb4b7-51ba-4c01-a4d5-a30941d9550b" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2419276, "block_size": 4096, "block_total": 2554437, "block_used": 135161, "device": "/dev/sda1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9909354496, "size_total": 10462973952, "uuid": "c96eb4b7-51ba-4c01-a4d5-a30941d9550b" } ], "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 09:41:16 +0000 (0:00:00.061) 0:01:21.077 ********* 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 09:41:16 +0000 (0:00:00.055) 0:01:21.132 ********* 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 09:41:16 +0000 (0:00:00.056) 0:01:21.188 ********* 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 09:41:16 +0000 (0:00:00.052) 0:01:21.241 ********* 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 09:41:16 +0000 (0:00:00.024) 0:01:21.266 ********* 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 09:41:16 +0000 (0:00:00.024) 0:01:21.290 ********* 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 09:41:16 +0000 (0:00:00.024) 0:01:21.314 ********* 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 09:41:16 +0000 (0:00:00.087) 0:01:21.401 ********* 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": [ "UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 09:41:16 +0000 (0:00:00.141) 0:01:21.543 ********* 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 09:41:16 +0000 (0:00:00.051) 0:01:21.594 ********* 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 09:41:16 +0000 (0:00:00.051) 0:01:21.646 ********* 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 09:41:16 +0000 (0:00:00.042) 0:01:21.689 ********* 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 09:41:16 +0000 (0:00:00.036) 0:01:21.726 ********* 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 09:41:17 +0000 (0:00:00.042) 0:01:21.769 ********* 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 09:41:17 +0000 (0:00:00.042) 0:01:21.811 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658396469.124882, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658396469.124882, "dev": 5, "device_type": 2049, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1308, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658396469.124882, "nlink": 1, "path": "/dev/sda1", "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 09:41:17 +0000 (0:00:00.363) 0:01:22.175 ********* 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 09:41:17 +0000 (0:00:00.039) 0:01:22.215 ********* 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 09:41:17 +0000 (0:00:00.042) 0:01:22.258 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "partition" }, "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 09:41:17 +0000 (0:00:00.039) 0:01:22.297 ********* 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 09:41:17 +0000 (0:00:00.028) 0:01:22.326 ********* 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 09:41:17 +0000 (0:00:00.040) 0:01:22.366 ********* 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 09:41:17 +0000 (0:00:00.025) 0:01:22.392 ********* 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 09:41:18 +0000 (0:00:00.982) 0:01:23.374 ********* 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 09:41:18 +0000 (0:00:00.027) 0:01:23.402 ********* 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 09:41:18 +0000 (0:00:00.023) 0:01:23.426 ********* 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 09:41:18 +0000 (0:00:00.050) 0:01:23.477 ********* 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 09:41:18 +0000 (0:00:00.023) 0:01:23.501 ********* 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 09:41:18 +0000 (0:00:00.023) 0:01:23.524 ********* 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 09:41:18 +0000 (0:00:00.025) 0:01:23.550 ********* 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 09:41:18 +0000 (0:00:00.026) 0:01:23.576 ********* 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 09:41:18 +0000 (0:00:00.026) 0:01:23.602 ********* 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 09:41:18 +0000 (0:00:00.049) 0:01:23.652 ********* 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 09:41:18 +0000 (0:00:00.066) 0:01:23.718 ********* 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 09:41:18 +0000 (0:00:00.038) 0:01:23.757 ********* 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 09:41:19 +0000 (0:00:00.040) 0:01:23.797 ********* 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 09:41:19 +0000 (0:00:00.037) 0:01:23.834 ********* 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 09:41:19 +0000 (0:00:00.074) 0:01:23.909 ********* 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 09:41:19 +0000 (0:00:00.040) 0:01:23.950 ********* 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 09:41:19 +0000 (0:00:00.039) 0:01:23.990 ********* 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 09:41:19 +0000 (0:00:00.038) 0:01:24.028 ********* 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 09:41:19 +0000 (0:00:00.037) 0:01:24.066 ********* 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 09:41:19 +0000 (0:00:00.039) 0:01:24.106 ********* 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 09:41:19 +0000 (0:00:00.036) 0:01:24.142 ********* 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 09:41:19 +0000 (0:00:00.038) 0:01:24.181 ********* 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 09:41:19 +0000 (0:00:00.024) 0:01:24.205 ********* 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 09:41:19 +0000 (0:00:00.040) 0:01:24.246 ********* 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 09:41:19 +0000 (0:00:00.035) 0:01:24.281 ********* 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 09:41:19 +0000 (0:00:00.074) 0:01:24.356 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 09:41:19 +0000 (0:00:00.043) 0:01:24.400 ********* 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 09:41:19 +0000 (0:00:00.040) 0:01:24.440 ********* 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 09:41:19 +0000 (0:00:00.040) 0:01:24.481 ********* 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 09:41:19 +0000 (0:00:00.040) 0:01:24.521 ********* 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 09:41:19 +0000 (0:00:00.081) 0:01:24.602 ********* 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 09:41:19 +0000 (0:00:00.039) 0:01:24.641 ********* 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 09:41:19 +0000 (0:00:00.039) 0:01:24.681 ********* 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 09:41:19 +0000 (0:00:00.026) 0:01:24.708 ********* 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 09:41:19 +0000 (0:00:00.028) 0:01:24.736 ********* 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 09:41:20 +0000 (0:00:00.033) 0:01:24.770 ********* 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 09:41:20 +0000 (0:00:00.026) 0:01:24.797 ********* 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 09:41:20 +0000 (0:00:00.024) 0:01:24.821 ********* 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 09:41:20 +0000 (0:00:00.029) 0:01:24.850 ********* 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 09:41:20 +0000 (0:00:00.027) 0:01:24.878 ********* 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 09:41:20 +0000 (0:00:00.026) 0:01:24.905 ********* 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 09:41:20 +0000 (0:00:00.045) 0:01:24.950 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:53 Thursday 21 July 2022 09:41:20 +0000 (0:00:00.024) 0:01:24.974 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Test setting up disk volume will remove the partition create above] ****** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:181 Thursday 21 July 2022 09:41:20 +0000 (0:00:00.034) 0:01:25.009 ********* 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 09:41:20 +0000 (0:00:00.049) 0:01:25.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 09:41:20 +0000 (0:00:00.037) 0:01:25.096 ********* 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 09:41:20 +0000 (0:00:00.527) 0:01:25.623 ********* 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 09:41:20 +0000 (0:00:00.067) 0:01:25.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 09:41:20 +0000 (0:00:00.038) 0:01:25.730 ********* 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 09:41:21 +0000 (0:00:00.040) 0:01:25.771 ********* 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 09:41:21 +0000 (0:00:00.048) 0:01:25.819 ********* 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 09:41:21 +0000 (0:00:00.021) 0:01:25.840 ********* 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 09:41:21 +0000 (0:00:00.028) 0:01:25.869 ********* 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 09:41:21 +0000 (0:00:00.037) 0:01:25.906 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_create_options": "-F", "fs_type": "ext4", "mount_options": "rw,noatime,defaults", "mount_point": "/opt/test1", "name": "foo", "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 09:41:21 +0000 (0:00:00.039) 0:01:25.946 ********* 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 09:41:21 +0000 (0:00:00.032) 0:01:25.978 ********* 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 09:41:21 +0000 (0:00:00.030) 0:01:26.009 ********* 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 09:41:21 +0000 (0:00:00.031) 0:01:26.040 ********* 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 09:41:21 +0000 (0:00:00.030) 0:01:26.071 ********* 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 09:41:21 +0000 (0:00:00.063) 0:01:26.134 ********* 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 09:41:21 +0000 (0:00:00.023) 0:01:26.157 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "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": "ext4", "path": "/opt/test1", "src": "UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b", "state": "absent" }, { "dump": 0, "fstype": "ext4", "opts": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=1ea9d848-b11b-446a-ac60-35617b096623", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=1ea9d848-b11b-446a-ac60-35617b096623", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "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 09:41:23 +0000 (0:00:02.076) 0:01:28.234 ********* 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 09:41:23 +0000 (0:00:00.039) 0:01:28.273 ********* 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 09:41:23 +0000 (0:00:00.023) 0:01:28.297 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "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": "ext4", "path": "/opt/test1", "src": "UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b", "state": "absent" }, { "dump": 0, "fstype": "ext4", "opts": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=1ea9d848-b11b-446a-ac60-35617b096623", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=1ea9d848-b11b-446a-ac60-35617b096623", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "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 09:41:23 +0000 (0:00:00.044) 0:01:28.341 ********* 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 09:41:23 +0000 (0:00:00.038) 0:01:28.380 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=1ea9d848-b11b-446a-ac60-35617b096623", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "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 09:41:23 +0000 (0:00:00.041) 0:01:28.421 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=c96eb4b7-51ba-4c01-a4d5-a30941d9550b" } 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 09:41:24 +0000 (0:00:00.396) 0:01:28.818 ********* 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 09:41:24 +0000 (0:00:00.669) 0:01:29.487 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=1ea9d848-b11b-446a-ac60-35617b096623', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'rw,noatime,defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=1ea9d848-b11b-446a-ac60-35617b096623", "state": "mounted" }, "name": "/opt/test1", "opts": "rw,noatime,defaults", "passno": "0", "src": "UUID=1ea9d848-b11b-446a-ac60-35617b096623" } 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 09:41:25 +0000 (0:00:00.433) 0:01:29.921 ********* 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 09:41:25 +0000 (0:00:00.685) 0:01:30.606 ********* 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 09:41:26 +0000 (0:00:00.381) 0:01:30.988 ********* 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 09:41:26 +0000 (0:00:00.023) 0:01:31.012 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:194 Thursday 21 July 2022 09:41:27 +0000 (0:00:00.994) 0:01:32.006 ********* 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 09:41:27 +0000 (0:00:00.050) 0:01:32.057 ********* 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 09:41:27 +0000 (0:00:00.042) 0:01:32.099 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=1ea9d848-b11b-446a-ac60-35617b096623", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "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 09:41:27 +0000 (0:00:00.107) 0:01:32.206 ********* 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": "ext4", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "1ea9d848-b11b-446a-ac60-35617b096623" }, "/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-09-39-27-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 09:41:27 +0000 (0:00:00.377) 0:01:32.584 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002502", "end": "2022-07-21 05:41:28.363444", "rc": 0, "start": "2022-07-21 05:41:28.360942" } 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 UUID=1ea9d848-b11b-446a-ac60-35617b096623 /opt/test1 ext4 rw,noatime,defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 09:41:28 +0000 (0:00:00.472) 0:01:33.056 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002345", "end": "2022-07-21 05:41:28.759918", "failed_when_result": false, "rc": 1, "start": "2022-07-21 05:41:28.757573" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code 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 09:41:28 +0000 (0:00:00.390) 0:01:33.447 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 09:41:28 +0000 (0:00:00.037) 0:01:33.484 ********* 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': '-F', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'rw,noatime,defaults', 'mount_point': '/opt/test1', 'name': 'foo', 'raid_level': None, 'size': 10737418240, 'state': 'present', '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/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=1ea9d848-b11b-446a-ac60-35617b096623', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 09:41:28 +0000 (0:00:00.061) 0:01:33.546 ********* 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 09:41:28 +0000 (0:00:00.050) 0:01:33.597 ********* 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 09:41:28 +0000 (0:00:00.077) 0:01:33.674 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 09:41:28 +0000 (0:00:00.044) 0:01:33.718 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2554693, "block_used": 135174, "device": "/dev/sda", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,noatime", "size_available": 9910349824, "size_total": 10464022528, "uuid": "1ea9d848-b11b-446a-ac60-35617b096623" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2554693, "block_used": 135174, "device": "/dev/sda", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,noatime", "size_available": 9910349824, "size_total": 10464022528, "uuid": "1ea9d848-b11b-446a-ac60-35617b096623" } ], "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 09:41:29 +0000 (0:00:00.061) 0:01:33.780 ********* 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 09:41:29 +0000 (0:00:00.052) 0:01:33.833 ********* 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 09:41:29 +0000 (0:00:00.051) 0:01:33.885 ********* 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 09:41:29 +0000 (0:00:00.055) 0:01:33.941 ********* 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 09:41:29 +0000 (0:00:00.024) 0:01:33.965 ********* 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 09:41:29 +0000 (0:00:00.023) 0:01:33.989 ********* 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 09:41:29 +0000 (0:00:00.023) 0:01:34.013 ********* 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 09:41:29 +0000 (0:00:00.043) 0:01:34.056 ********* 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": [ "UUID=1ea9d848-b11b-446a-ac60-35617b096623 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 rw,noatime,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 09:41:29 +0000 (0:00:00.062) 0:01:34.118 ********* 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 09:41:29 +0000 (0:00:00.051) 0:01:34.169 ********* 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 09:41:29 +0000 (0:00:00.054) 0:01:34.224 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 09:41:29 +0000 (0:00:00.053) 0:01:34.278 ********* 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 09:41:29 +0000 (0:00:00.034) 0:01:34.312 ********* 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 09:41:29 +0000 (0:00:00.042) 0:01:34.355 ********* 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 09:41:29 +0000 (0:00:00.046) 0:01:34.401 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658396483.489882, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658396483.489882, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 277, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658396483.489882, "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 09:41:30 +0000 (0:00:00.378) 0:01:34.780 ********* 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 09:41:30 +0000 (0:00:00.044) 0:01:34.824 ********* 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 09:41:30 +0000 (0:00:00.041) 0:01:34.866 ********* 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 09:41:30 +0000 (0:00:00.036) 0:01:34.903 ********* 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 09:41:30 +0000 (0:00:00.026) 0:01:34.929 ********* 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 09:41:30 +0000 (0:00:00.076) 0:01:35.005 ********* 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 09:41:30 +0000 (0:00:00.061) 0:01:35.067 ********* 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 09:41:31 +0000 (0:00:00.902) 0:01:35.970 ********* 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 09:41:31 +0000 (0:00:00.024) 0:01:35.994 ********* 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 09:41:31 +0000 (0:00:00.025) 0:01:36.020 ********* 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 09:41:31 +0000 (0:00:00.055) 0:01:36.075 ********* 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 09:41:31 +0000 (0:00:00.025) 0:01:36.101 ********* 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 09:41:31 +0000 (0:00:00.025) 0:01:36.126 ********* 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 09:41:31 +0000 (0:00:00.025) 0:01:36.152 ********* 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 09:41:31 +0000 (0:00:00.036) 0:01:36.188 ********* 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 09:41:31 +0000 (0:00:00.029) 0:01:36.218 ********* 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 09:41:31 +0000 (0:00:00.058) 0:01:36.276 ********* 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 09:41:31 +0000 (0:00:00.057) 0:01:36.333 ********* 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 09:41:31 +0000 (0:00:00.040) 0:01:36.374 ********* 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 09:41:31 +0000 (0:00:00.038) 0:01:36.412 ********* 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 09:41:31 +0000 (0:00:00.039) 0:01:36.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 09:41:31 +0000 (0:00:00.035) 0:01:36.488 ********* 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 09:41:31 +0000 (0:00:00.039) 0:01:36.527 ********* 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 09:41:31 +0000 (0:00:00.037) 0:01:36.565 ********* 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 09:41:31 +0000 (0:00:00.038) 0:01:36.603 ********* 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 09:41:31 +0000 (0:00:00.036) 0:01:36.640 ********* 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 09:41:31 +0000 (0:00:00.043) 0:01:36.683 ********* 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 09:41:31 +0000 (0:00:00.037) 0:01:36.721 ********* 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 09:41:31 +0000 (0:00:00.037) 0:01:36.758 ********* 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 09:41:32 +0000 (0:00:00.028) 0:01:36.787 ********* 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 09:41:32 +0000 (0:00:00.043) 0:01:36.830 ********* 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 09:41:32 +0000 (0:00:00.037) 0:01:36.868 ********* 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 09:41:32 +0000 (0:00:00.037) 0:01:36.906 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 09:41:32 +0000 (0:00:00.036) 0:01:36.943 ********* 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 09:41:32 +0000 (0:00:00.043) 0:01:36.986 ********* 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 09:41:32 +0000 (0:00:00.039) 0:01:37.025 ********* 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 09:41:32 +0000 (0:00:00.037) 0:01:37.063 ********* 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 09:41:32 +0000 (0:00:00.035) 0:01:37.098 ********* 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 09:41:32 +0000 (0:00:00.038) 0:01:37.137 ********* 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 09:41:32 +0000 (0:00:00.038) 0:01:37.175 ********* 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 09:41:32 +0000 (0:00:00.024) 0:01:37.199 ********* 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 09:41:32 +0000 (0:00:00.026) 0:01:37.225 ********* 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 09:41:32 +0000 (0:00:00.026) 0:01:37.251 ********* 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 09:41:32 +0000 (0:00:00.023) 0:01:37.275 ********* 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 09:41:32 +0000 (0:00:00.025) 0:01:37.300 ********* 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 09:41:32 +0000 (0:00:00.025) 0:01:37.326 ********* 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 09:41:32 +0000 (0:00:00.027) 0:01:37.353 ********* 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 09:41:32 +0000 (0:00:00.026) 0:01:37.380 ********* 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 09:41:32 +0000 (0:00:00.084) 0:01:37.464 ********* 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 disk volume created above] ************************************ task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:198 Thursday 21 July 2022 09:41:32 +0000 (0:00:00.040) 0:01:37.504 ********* 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 09:41:32 +0000 (0:00:00.053) 0:01:37.558 ********* 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 09:41:32 +0000 (0:00:00.086) 0:01:37.644 ********* 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 09:41:33 +0000 (0:00:00.515) 0:01:38.159 ********* 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 09:41:33 +0000 (0:00:00.064) 0:01:38.224 ********* 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 09:41:33 +0000 (0:00:00.034) 0:01:38.259 ********* 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 09:41:33 +0000 (0:00:00.036) 0:01:38.295 ********* 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 09:41:33 +0000 (0:00:00.051) 0:01:38.347 ********* 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 09:41:33 +0000 (0:00:00.022) 0:01:38.369 ********* 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 09:41:33 +0000 (0:00:00.034) 0:01:38.404 ********* 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 09:41:33 +0000 (0:00:00.038) 0:01:38.442 ********* 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 09:41:33 +0000 (0:00:00.037) 0:01:38.480 ********* 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 09:41:33 +0000 (0:00:00.034) 0:01:38.514 ********* 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 09:41:33 +0000 (0:00:00.042) 0:01:38.557 ********* 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 09:41:33 +0000 (0:00:00.032) 0:01:38.589 ********* 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 09:41:33 +0000 (0:00:00.032) 0:01:38.622 ********* 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 09:41:33 +0000 (0:00:00.063) 0:01:38.686 ********* 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 09:41:33 +0000 (0:00:00.023) 0:01:38.709 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "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": "ext4", "path": "/opt/test1", "src": "UUID=1ea9d848-b11b-446a-ac60-35617b096623", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=1ea9d848-b11b-446a-ac60-35617b096623", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "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 09:41:35 +0000 (0:00:01.650) 0:01:40.360 ********* 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 09:41:35 +0000 (0:00:00.040) 0:01:40.401 ********* 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 09:41:35 +0000 (0:00:00.024) 0:01:40.425 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "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": "ext4", "path": "/opt/test1", "src": "UUID=1ea9d848-b11b-446a-ac60-35617b096623", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=1ea9d848-b11b-446a-ac60-35617b096623", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "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 09:41:35 +0000 (0:00:00.044) 0:01:40.470 ********* 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 09:41:35 +0000 (0:00:00.085) 0:01:40.556 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=1ea9d848-b11b-446a-ac60-35617b096623", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "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 09:41:35 +0000 (0:00:00.043) 0:01:40.600 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=1ea9d848-b11b-446a-ac60-35617b096623', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=1ea9d848-b11b-446a-ac60-35617b096623", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=1ea9d848-b11b-446a-ac60-35617b096623" } 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 09:41:36 +0000 (0:00:00.457) 0:01:41.057 ********* 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 09:41:36 +0000 (0:00:00.700) 0:01:41.758 ********* 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 09:41:37 +0000 (0:00:00.041) 0:01:41.799 ********* 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 09:41:37 +0000 (0:00:00.717) 0:01:42.516 ********* 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 09:41:38 +0000 (0:00:00.402) 0:01:42.919 ********* 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 09:41:38 +0000 (0:00:00.023) 0:01:42.942 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [Try to mount swap filesystem to "/opt/test1"] **************************** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:210 Thursday 21 July 2022 09:41:39 +0000 (0:00:00.959) 0:01:43.901 ********* 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 09:41:39 +0000 (0:00:00.051) 0:01:43.952 ********* 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 09:41:39 +0000 (0:00:00.042) 0:01:43.995 ********* 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 09:41:39 +0000 (0:00:00.530) 0:01:44.525 ********* 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 09:41:39 +0000 (0:00:00.065) 0:01:44.591 ********* 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 09:41:39 +0000 (0:00:00.037) 0:01:44.628 ********* 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 09:41:39 +0000 (0:00:00.038) 0:01:44.667 ********* 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 09:41:39 +0000 (0:00:00.048) 0:01:44.715 ********* 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 09:41:39 +0000 (0:00:00.020) 0:01:44.735 ********* 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 09:41:39 +0000 (0:00:00.029) 0:01:44.765 ********* 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 09:41:40 +0000 (0:00:00.036) 0:01:44.802 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "mount_point": "/opt/test1", "name": "test1", "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 09:41:40 +0000 (0:00:00.039) 0:01:44.841 ********* 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 09:41:40 +0000 (0:00:00.029) 0:01:44.870 ********* 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 09:41:40 +0000 (0:00:00.030) 0:01:44.901 ********* 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 09:41:40 +0000 (0:00:00.029) 0:01:44.930 ********* 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 09:41:40 +0000 (0:00:00.028) 0:01:44.959 ********* 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 09:41:40 +0000 (0:00:00.093) 0:01:45.053 ********* 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 09:41:40 +0000 (0:00:00.023) 0:01:45.076 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' has a mount point but no mountable file system 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 09:41:41 +0000 (0:00:01.369) 0:01:46.446 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' has a mount point but no mountable file system", 'invocation': {'module_args': {'pools': [], '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': 'swap', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', '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': []}], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 09:41:41 +0000 (0:00:00.039) 0:01:46.486 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:226 Thursday 21 July 2022 09:41:41 +0000 (0:00:00.021) 0:01:46.508 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output when mount swap filesystem to "/opt/test1"] ************ task path: /tmp/tmpsvhdx31t/tests/tests_misc.yml:232 Thursday 21 July 2022 09:41:41 +0000 (0:00:00.039) 0:01:46.547 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=482 changed=16 unreachable=0 failed=3 skipped=367 rescued=3 ignored=0 Thursday 21 July 2022 09:41:41 +0000 (0:00:00.081) 0:01:46.628 ********* =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.23s /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.19s /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.11s /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.08s /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.05s /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.03s /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.03s /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.00s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 1.76s /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.65s /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.63s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Read the /etc/crypttab file --------------------------------------------- 1.39s /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 ----------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.37s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : make sure blivet is available -------------- 1.35s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Gathering Facts --------------------------------------------------------- 1.32s /tmp/tmpsvhdx31t/tests/tests_misc_scsi_generated.yml:3 ------------------------ linux-system-roles.storage : Update facts ------------------------------- 1.07s /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 ------------------------------- 0.99s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Ensure cryptsetup is present -------------------------------------------- 0.98s /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : Update facts ------------------------------- 0.98s /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 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_misc_scsi_generated.yml **************************************** 2 plays in /tmp/tmpfc26zqih/tests/storage/tests_misc_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/tests_misc_scsi_generated.yml:3 Thursday 21 July 2022 12:52:53 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/tests_misc_scsi_generated.yml:7 Thursday 21 July 2022 12:52:55 +0000 (0:00:01.323) 0:00:01.336 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:2 Thursday 21 July 2022 12:52:55 +0000 (0:00:00.050) 0:00:01.387 ********* ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:15 Thursday 21 July 2022 12:52:56 +0000 (0:00:00.927) 0:00:02.314 ********* 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:52:56 +0000 (0:00:00.036) 0:00:02.351 ********* 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:52:56 +0000 (0:00:00.032) 0:00:02.383 ********* 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:52:56 +0000 (0:00:00.524) 0:00:02.908 ********* 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:52:56 +0000 (0:00:00.054) 0:00:02.963 ********* 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:52:56 +0000 (0:00:00.029) 0:00:02.993 ********* 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:52:56 +0000 (0:00:00.028) 0:00:03.022 ********* 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:52:56 +0000 (0:00:00.056) 0:00:03.078 ********* 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:52:56 +0000 (0:00:00.018) 0:00:03.096 ********* 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:52:58 +0000 (0:00:01.231) 0:00:04.328 ********* 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:52:58 +0000 (0:00:00.061) 0:00:04.389 ********* 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:52:58 +0000 (0:00:00.069) 0:00:04.459 ********* 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:52:58 +0000 (0:00:00.695) 0:00:05.154 ********* 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:52:58 +0000 (0:00:00.048) 0:00:05.202 ********* 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:52:58 +0000 (0:00:00.030) 0:00:05.233 ********* 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:52:59 +0000 (0:00:00.035) 0:00:05.268 ********* 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:52:59 +0000 (0:00:00.069) 0:00:05.338 ********* 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:52:59 +0000 (0:00:00.833) 0:00:06.171 ********* 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:53:01 +0000 (0:00:01.798) 0:00:07.970 ********* 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:53:01 +0000 (0:00:00.055) 0:00:08.025 ********* 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:53:01 +0000 (0:00:00.021) 0:00:08.046 ********* 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:53:02 +0000 (0:00:00.494) 0:00:08.541 ********* 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:53:02 +0000 (0:00:00.038) 0:00:08.580 ********* 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:53:02 +0000 (0:00:00.021) 0:00:08.601 ********* 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:53:02 +0000 (0:00:00.036) 0:00:08.638 ********* 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:53:02 +0000 (0:00:00.039) 0:00:08.677 ********* 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:53:02 +0000 (0:00:00.039) 0:00:08.716 ********* 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:53:02 +0000 (0:00:00.036) 0:00:08.753 ********* 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:53:02 +0000 (0:00:00.023) 0:00:08.776 ********* 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:53:02 +0000 (0:00:00.034) 0:00:08.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:53:02 +0000 (0:00:00.025) 0:00:08.836 ********* 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:53:03 +0000 (0:00:00.472) 0:00:09.309 ********* 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:53:03 +0000 (0:00:00.022) 0:00:09.332 ********* 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_misc.yml:18 Thursday 21 July 2022 12:53:04 +0000 (0:00:00.985) 0:00:10.317 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:25 Thursday 21 July 2022 12:53:04 +0000 (0:00:00.033) 0:00:10.351 ********* 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:53:04 +0000 (0:00:00.036) 0:00:10.387 ********* 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:53:04 +0000 (0:00:00.503) 0:00:10.891 ********* 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:53:04 +0000 (0:00:00.035) 0:00:10.926 ********* 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:53:04 +0000 (0:00:00.036) 0:00:10.963 ********* ok: [/cache/rhel-9.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Test creating ext4 filesystem with valid parameter "-Fb 4096"] *********** task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:30 Thursday 21 July 2022 12:53:04 +0000 (0:00:00.034) 0:00:10.997 ********* 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:53:04 +0000 (0:00:00.042) 0:00:11.039 ********* 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:53:04 +0000 (0:00:00.034) 0:00:11.074 ********* 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:53:05 +0000 (0:00:00.498) 0:00:11.572 ********* 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:53:05 +0000 (0:00:00.060) 0:00:11.633 ********* 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:53:05 +0000 (0:00:00.034) 0:00:11.667 ********* 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:53:05 +0000 (0:00:00.064) 0:00:11.732 ********* 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:53:05 +0000 (0:00:00.057) 0:00:11.790 ********* 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:53:05 +0000 (0:00:00.021) 0:00:11.811 ********* 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:53:05 +0000 (0:00:00.030) 0:00:11.841 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_create_options": "-Fb 4096", "fs_type": "ext4", "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:53:05 +0000 (0:00:00.070) 0:00:11.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:53:05 +0000 (0:00:00.038) 0:00:11.950 ********* 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:53:05 +0000 (0:00:00.030) 0:00:11.980 ********* 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:53:05 +0000 (0:00:00.030) 0:00:12.011 ********* 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:53:05 +0000 (0:00:00.029) 0:00:12.041 ********* 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:53:05 +0000 (0:00:00.029) 0:00:12.070 ********* 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:53:05 +0000 (0:00:00.058) 0:00:12.128 ********* 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:53:05 +0000 (0:00:00.022) 0:00:12.150 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/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": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-Fb 4096", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:53:07 +0000 (0:00:02.085) 0:00:14.235 ********* 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:53:08 +0000 (0:00:00.035) 0:00:14.271 ********* 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:53:08 +0000 (0:00:00.023) 0:00:14.294 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/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": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-Fb 4096", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:53:08 +0000 (0:00:00.041) 0:00:14.336 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-Fb 4096", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:53:08 +0000 (0:00:00.040) 0:00:14.377 ********* 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:53:08 +0000 (0:00:00.037) 0:00:14.415 ********* 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:53:08 +0000 (0:00:00.038) 0:00:14.453 ********* 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:53:09 +0000 (0:00:00.984) 0:00:15.437 ********* 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': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 12:53:09 +0000 (0:00:00.525) 0:00:15.963 ********* 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:53:10 +0000 (0:00:00.675) 0:00:16.639 ********* 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:53:10 +0000 (0:00:00.371) 0:00:17.010 ********* 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:53:10 +0000 (0:00:00.024) 0:00:17.034 ********* 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_misc.yml:45 Thursday 21 July 2022 12:53:11 +0000 (0:00:00.987) 0:00:18.021 ********* 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:53:11 +0000 (0:00:00.044) 0:00:18.066 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "-Fb 4096", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:53:11 +0000 (0:00:00.076) 0:00:18.143 ********* 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:53:11 +0000 (0:00:00.035) 0:00:18.179 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "ceabc28c-3e3c-49bd-8d46-e97b67c7a0d7" }, "/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": "PqwJH0-4Rf3-uHNj-Uyyh-jWNB-jd0T-BaM0aQ" }, "/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-52-41-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:53:12 +0000 (0:00:00.468) 0:00:18.647 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002419", "end": "2022-07-21 08:53:12.832744", "rc": 0, "start": "2022-07-21 08:53:12.830325" } 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 ext4 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:53:12 +0000 (0:00:00.447) 0:00:19.095 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002542", "end": "2022-07-21 08:53:13.196310", "failed_when_result": false, "rc": 1, "start": "2022-07-21 08:53:13.193768" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code 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:53:13 +0000 (0:00:00.364) 0:00:19.459 ********* 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': 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', '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:53:13 +0000 (0:00:00.059) 0:00:19.519 ********* 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:53:13 +0000 (0:00:00.034) 0:00:19.554 ********* 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:53:13 +0000 (0:00:00.048) 0:00:19.602 ********* 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:53:13 +0000 (0:00:00.057) 0:00:19.659 ********* 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:53:13 +0000 (0:00:00.495) 0:00:20.155 ********* 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:53:13 +0000 (0:00:00.051) 0:00:20.206 ********* 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:53:13 +0000 (0:00:00.049) 0:00:20.256 ********* 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:53:14 +0000 (0:00:00.053) 0:00:20.309 ********* 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:53:14 +0000 (0:00:00.040) 0:00:20.349 ********* 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:53:14 +0000 (0:00:00.081) 0:00:20.431 ********* 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:53:14 +0000 (0:00:00.023) 0:00:20.455 ********* 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:53:14 +0000 (0:00:00.078) 0:00:20.534 ********* 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:53:14 +0000 (0:00:00.047) 0:00:20.581 ********* 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:53:14 +0000 (0:00:00.025) 0:00:20.606 ********* 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:53:14 +0000 (0:00:00.054) 0:00:20.661 ********* 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:53:14 +0000 (0:00:00.024) 0:00:20.685 ********* 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:53:14 +0000 (0:00:00.024) 0:00:20.710 ********* 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:53:14 +0000 (0:00:00.023) 0:00:20.733 ********* 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:53:14 +0000 (0:00:00.024) 0:00:20.757 ********* 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:53:14 +0000 (0:00:00.023) 0:00:20.780 ********* 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:53:14 +0000 (0:00:00.034) 0:00:20.815 ********* 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:53:14 +0000 (0:00:00.044) 0:00:20.859 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', '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:53:14 +0000 (0:00:00.044) 0:00:20.904 ********* 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:53:14 +0000 (0:00:00.031) 0:00:20.935 ********* 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:53:14 +0000 (0:00:00.028) 0:00:20.963 ********* 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:53:14 +0000 (0:00:00.027) 0:00:20.991 ********* 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:53:14 +0000 (0:00:00.048) 0:00:21.039 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', '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:53:14 +0000 (0:00:00.045) 0:00:21.084 ********* 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:53:14 +0000 (0:00:00.025) 0:00:21.110 ********* 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:53:14 +0000 (0:00:00.025) 0:00:21.136 ********* 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:53:14 +0000 (0:00:00.025) 0:00:21.161 ********* 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:53:14 +0000 (0:00:00.025) 0:00:21.187 ********* 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:53:14 +0000 (0:00:00.048) 0:00:21.235 ********* 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:53:15 +0000 (0:00:00.047) 0:00:21.283 ********* 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:53:15 +0000 (0:00:00.026) 0:00:21.309 ********* 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:53:15 +0000 (0:00:00.047) 0:00:21.357 ********* 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:53:15 +0000 (0:00:00.051) 0:00:21.408 ********* 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:53:15 +0000 (0:00:00.051) 0:00:21.459 ********* 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:53:15 +0000 (0:00:00.040) 0:00:21.500 ********* 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:53:15 +0000 (0:00:00.035) 0:00:21.536 ********* 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:53:15 +0000 (0:00:00.034) 0:00:21.570 ********* 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:53:15 +0000 (0:00:00.035) 0:00:21.606 ********* 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:53:15 +0000 (0:00:00.037) 0:00:21.643 ********* 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:53:15 +0000 (0:00:00.049) 0:00:21.693 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', '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:53:15 +0000 (0:00:00.045) 0:00:21.739 ********* 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:53:15 +0000 (0:00:00.024) 0:00:21.763 ********* 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:53:15 +0000 (0:00:00.024) 0:00:21.788 ********* 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:53:15 +0000 (0:00:00.053) 0:00:21.842 ********* 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:53:15 +0000 (0:00:00.024) 0:00:21.867 ********* 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:53:15 +0000 (0:00:00.023) 0:00:21.890 ********* 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:53:15 +0000 (0:00:00.025) 0:00:21.916 ********* 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:53:15 +0000 (0:00:00.026) 0:00:21.943 ********* 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:53:15 +0000 (0:00:00.033) 0:00:21.976 ********* 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:53:15 +0000 (0:00:00.033) 0:00:22.010 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', '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:53:15 +0000 (0:00:00.043) 0:00:22.054 ********* 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:53:15 +0000 (0:00:00.047) 0:00:22.101 ********* 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:53:15 +0000 (0:00:00.090) 0:00:22.191 ********* 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:53:15 +0000 (0:00:00.041) 0:00:22.233 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1011640, "block_used": 56530, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4143677440, "uuid": "ceabc28c-3e3c-49bd-8d46-e97b67c7a0d7" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1011640, "block_used": 56530, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4143677440, "uuid": "ceabc28c-3e3c-49bd-8d46-e97b67c7a0d7" } ], "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:53:16 +0000 (0:00:00.056) 0:00:22.289 ********* 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:53:16 +0000 (0:00:00.048) 0:00:22.338 ********* 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:53:16 +0000 (0:00:00.058) 0:00:22.397 ********* 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:53:16 +0000 (0:00:00.049) 0:00:22.446 ********* 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:53:16 +0000 (0:00:00.023) 0:00:22.470 ********* 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:53:16 +0000 (0:00:00.023) 0:00:22.493 ********* 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:53:16 +0000 (0:00:00.026) 0:00:22.519 ********* 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:53:16 +0000 (0:00:00.033) 0:00:22.553 ********* 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 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 12:53:16 +0000 (0:00:00.058) 0:00:22.611 ********* 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:53:16 +0000 (0:00:00.048) 0:00:22.660 ********* 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:53:16 +0000 (0:00:00.045) 0:00:22.705 ********* 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:53:16 +0000 (0:00:00.034) 0:00:22.740 ********* 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:53:16 +0000 (0:00:00.033) 0:00:22.774 ********* 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:53:16 +0000 (0:00:00.039) 0:00:22.814 ********* 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:53:16 +0000 (0:00:00.037) 0:00:22.851 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658407987.9056365, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658407987.9056365, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 755, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658407987.9056365, "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:53:16 +0000 (0:00:00.366) 0:00:23.217 ********* 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:53:16 +0000 (0:00:00.038) 0:00:23.256 ********* 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:53:17 +0000 (0:00:00.037) 0:00:23.294 ********* 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:53:17 +0000 (0:00:00.034) 0:00:23.329 ********* 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:53:17 +0000 (0:00:00.023) 0:00:23.353 ********* 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:53:17 +0000 (0:00:00.100) 0:00:23.453 ********* 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:53:17 +0000 (0:00:00.024) 0:00:23.477 ********* 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:53:18 +0000 (0:00:00.900) 0:00:24.377 ********* 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:53:18 +0000 (0:00:00.025) 0:00:24.402 ********* 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:53:18 +0000 (0:00:00.023) 0:00:24.426 ********* 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:53:18 +0000 (0:00:00.054) 0:00:24.481 ********* 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:53:18 +0000 (0:00:00.023) 0:00:24.505 ********* 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:53:18 +0000 (0:00:00.023) 0:00:24.528 ********* 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:53:18 +0000 (0:00:00.025) 0:00:24.553 ********* 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:53:18 +0000 (0:00:00.026) 0:00:24.579 ********* 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:53:18 +0000 (0:00:00.023) 0:00:24.603 ********* 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:53:18 +0000 (0:00:00.050) 0:00:24.653 ********* 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:53:18 +0000 (0:00:00.049) 0:00:24.703 ********* 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:53:18 +0000 (0:00:00.036) 0:00:24.739 ********* 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:53:18 +0000 (0:00:00.036) 0:00:24.776 ********* 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:53:18 +0000 (0:00:00.034) 0:00:24.811 ********* 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:53:18 +0000 (0:00:00.035) 0:00:24.847 ********* 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:53:18 +0000 (0:00:00.035) 0:00:24.883 ********* 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:53:18 +0000 (0:00:00.035) 0:00:24.918 ********* 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:53:18 +0000 (0:00:00.035) 0:00:24.954 ********* 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:53:18 +0000 (0:00:00.039) 0:00:24.993 ********* 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:53:18 +0000 (0:00:00.035) 0:00:25.029 ********* 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:53:18 +0000 (0:00:00.036) 0:00:25.066 ********* 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:53:18 +0000 (0:00:00.035) 0:00:25.102 ********* 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:53:19 +0000 (0:00:00.474) 0:00:25.576 ********* 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:53:19 +0000 (0:00:00.376) 0:00:25.953 ********* 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:53:19 +0000 (0:00:00.049) 0:00:26.002 ********* 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:53:19 +0000 (0:00:00.037) 0:00:26.039 ********* 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:53:19 +0000 (0:00:00.037) 0:00:26.077 ********* 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:53:19 +0000 (0:00:00.036) 0:00:26.114 ********* 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:53:19 +0000 (0:00:00.039) 0:00:26.153 ********* 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:53:19 +0000 (0:00:00.036) 0:00:26.190 ********* 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:53:19 +0000 (0:00:00.037) 0:00:26.228 ********* 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:53:20 +0000 (0:00:00.072) 0:00:26.300 ********* 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:53:20 +0000 (0:00:00.036) 0:00:26.336 ********* 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:53:20 +0000 (0:00:00.085) 0:00:26.422 ********* 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.038196", "end": "2022-07-21 08:53:20.593246", "rc": 0, "start": "2022-07-21 08:53:20.555050" } 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:53:20 +0000 (0:00:00.436) 0:00:26.858 ********* 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:53:20 +0000 (0:00:00.052) 0:00:26.910 ********* 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:53:20 +0000 (0:00:00.059) 0:00:26.969 ********* 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:53:20 +0000 (0:00:00.039) 0:00:27.008 ********* 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:53:20 +0000 (0:00:00.038) 0:00:27.047 ********* 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:53:20 +0000 (0:00:00.039) 0:00:27.087 ********* 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:53:20 +0000 (0:00:00.037) 0:00:27.124 ********* 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:53:20 +0000 (0:00:00.036) 0:00:27.161 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 12:53:20 +0000 (0:00:00.020) 0:00:27.181 ********* 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 volume group created above] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:47 Thursday 21 July 2022 12:53:20 +0000 (0:00:00.032) 0:00:27.214 ********* 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:53:20 +0000 (0:00:00.048) 0:00:27.263 ********* 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:53:21 +0000 (0:00:00.035) 0:00:27.298 ********* 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:53:21 +0000 (0:00:00.501) 0:00:27.800 ********* 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:53:21 +0000 (0:00:00.060) 0:00:27.861 ********* 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:53:21 +0000 (0:00:00.035) 0:00:27.896 ********* 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:53:21 +0000 (0:00:00.033) 0:00:27.930 ********* 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:53:21 +0000 (0:00:00.073) 0:00:28.003 ********* 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:53:21 +0000 (0:00:00.024) 0:00:28.027 ********* 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:53:21 +0000 (0:00:00.032) 0:00:28.060 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "lvm" } ] } 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:53:21 +0000 (0:00:00.042) 0:00:28.103 ********* 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:53:21 +0000 (0:00:00.040) 0:00:28.144 ********* 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:53:21 +0000 (0:00:00.029) 0:00:28.173 ********* 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:53:21 +0000 (0:00:00.029) 0:00:28.203 ********* 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:53:21 +0000 (0:00:00.029) 0:00:28.232 ********* 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:53:21 +0000 (0:00:00.031) 0:00:28.264 ********* 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:53:22 +0000 (0:00:00.096) 0:00:28.360 ********* 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:53:22 +0000 (0:00:00.023) 0:00:28.384 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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:53:24 +0000 (0:00:02.295) 0:00:30.680 ********* 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:53:24 +0000 (0:00:00.037) 0:00:30.718 ********* 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:53:24 +0000 (0:00:00.024) 0:00:30.742 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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:53:24 +0000 (0:00:00.042) 0:00:30.785 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "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:53:24 +0000 (0:00:00.038) 0:00:30.824 ********* 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:53:24 +0000 (0:00:00.038) 0:00:30.863 ********* 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': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 12:53:25 +0000 (0:00:00.424) 0:00:31.287 ********* 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:53:25 +0000 (0:00:00.668) 0:00:31.955 ********* 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:53:25 +0000 (0:00:00.040) 0:00:31.995 ********* 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:53:26 +0000 (0:00:00.674) 0:00:32.670 ********* 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:53:26 +0000 (0:00:00.367) 0:00:33.037 ********* 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:53:26 +0000 (0:00:00.024) 0:00:33.062 ********* 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_misc.yml:57 Thursday 21 July 2022 12:53:27 +0000 (0:00:00.967) 0:00:34.029 ********* 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:53:27 +0000 (0:00:00.044) 0:00:34.073 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 12:53:27 +0000 (0:00:00.053) 0:00:34.127 ********* 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:53:27 +0000 (0:00:00.035) 0:00:34.162 ********* 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-52-41-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:53:28 +0000 (0:00:00.404) 0:00:34.566 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.003940", "end": "2022-07-21 08:53:29.696200", "rc": 0, "start": "2022-07-21 08:53:28.692260" } 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:53:29 +0000 (0:00:01.397) 0:00:35.964 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002377", "end": "2022-07-21 08:53:30.097991", "failed_when_result": false, "rc": 1, "start": "2022-07-21 08:53:30.095614" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code 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:53:30 +0000 (0:00:00.397) 0:00:36.361 ********* 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': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [], '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:53:30 +0000 (0:00:00.056) 0:00:36.418 ********* 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:53:30 +0000 (0:00:00.035) 0:00:36.454 ********* 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:53:30 +0000 (0:00:00.046) 0:00:36.500 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 12:53:30 +0000 (0:00:00.050) 0:00:36.550 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 12:53:30 +0000 (0:00:00.020) 0:00:36.571 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 12:53:30 +0000 (0:00:00.046) 0:00:36.618 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 12:53:30 +0000 (0:00:00.048) 0:00:36.667 ********* 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:53:30 +0000 (0:00:00.051) 0:00:36.718 ********* 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:53:30 +0000 (0:00:00.038) 0:00:36.756 ********* 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:53:30 +0000 (0:00:00.047) 0:00:36.804 ********* 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:53:30 +0000 (0:00:00.023) 0:00:36.827 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 12:53:30 +0000 (0:00:00.022) 0:00:36.849 ********* 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:53:30 +0000 (0:00:00.041) 0:00:36.890 ********* 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:53:30 +0000 (0:00:00.023) 0:00:36.913 ********* 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:53:30 +0000 (0:00:00.024) 0:00:36.937 ********* 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:53:30 +0000 (0:00:00.023) 0:00:36.961 ********* 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:53:30 +0000 (0:00:00.024) 0:00:36.986 ********* 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:53:30 +0000 (0:00:00.023) 0:00:37.009 ********* 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:53:30 +0000 (0:00:00.024) 0:00:37.034 ********* 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:53:30 +0000 (0:00:00.023) 0:00:37.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:53:30 +0000 (0:00:00.033) 0:00:37.090 ********* 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:53:30 +0000 (0:00:00.043) 0:00:37.134 ********* TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 12:53:30 +0000 (0:00:00.023) 0:00:37.157 ********* 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:53:30 +0000 (0:00:00.052) 0:00:37.210 ********* TASK [Check member encryption] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 12:53:30 +0000 (0:00:00.032) 0:00:37.242 ********* 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:53:31 +0000 (0:00:00.048) 0:00:37.291 ********* 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:53:31 +0000 (0:00:00.052) 0:00:37.343 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 12:53:31 +0000 (0:00:00.024) 0:00:37.368 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 12:53:31 +0000 (0:00:00.023) 0:00:37.391 ********* 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:53:31 +0000 (0:00:00.094) 0:00:37.486 ********* 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:53:31 +0000 (0:00:00.093) 0:00:37.580 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 12:53:31 +0000 (0:00:00.023) 0:00:37.604 ********* 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:53:31 +0000 (0:00:00.036) 0:00:37.640 ********* 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:53:31 +0000 (0:00:00.023) 0:00:37.664 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 12:53:31 +0000 (0:00:00.021) 0:00:37.685 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create ext4 filesystem with invalid parameter "-Fb 512"] ********** task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:61 Thursday 21 July 2022 12:53:31 +0000 (0:00:00.035) 0:00:37.720 ********* 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:53:31 +0000 (0:00:00.041) 0:00:37.762 ********* 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:53:31 +0000 (0:00:00.035) 0:00:37.797 ********* 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:53:32 +0000 (0:00:00.524) 0:00:38.321 ********* 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:53:32 +0000 (0:00:00.064) 0:00:38.386 ********* 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:53:32 +0000 (0:00:00.037) 0:00:38.423 ********* 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:53:32 +0000 (0:00:00.038) 0:00:38.461 ********* 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:53:32 +0000 (0:00:00.059) 0:00:38.521 ********* 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:53:32 +0000 (0:00:00.021) 0:00:38.542 ********* 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:53:32 +0000 (0:00:00.027) 0:00:38.569 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_create_options": "-Fb 512", "fs_type": "ext4", "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:53:32 +0000 (0:00:00.044) 0:00:38.614 ********* 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:53:32 +0000 (0:00:00.035) 0:00:38.650 ********* 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:53:32 +0000 (0:00:00.027) 0:00:38.677 ********* 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:53:32 +0000 (0:00:00.027) 0:00:38.704 ********* 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:53:32 +0000 (0:00:00.028) 0:00:38.732 ********* 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:53:32 +0000 (0:00:00.026) 0:00:38.759 ********* 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:53:32 +0000 (0:00:00.055) 0:00:38.815 ********* 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:53:32 +0000 (0:00:00.021) 0:00:38.837 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [ "e2fsprogs", "lvm2", "xfsprogs", "dosfstools" ], "pools": [], "volumes": [] } MSG: Failed to commit changes to disk: (FSError('format failed: 1'), '/dev/mapper/foo-test1') 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:53:34 +0000 (0:00:01.946) 0:00:40.783 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': ['e2fsprogs', 'lvm2', 'xfsprogs', 'dosfstools'], 'failed': True, 'msg': "Failed to commit changes to disk: (FSError('format failed: 1'), '/dev/mapper/foo-test1')", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '-Fb 512', 'fs_label': '', 'fs_type': 'ext4', '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'}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 12:53:34 +0000 (0:00:00.040) 0:00:40.824 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:81 Thursday 21 July 2022 12:53:34 +0000 (0:00:00.021) 0:00:40.845 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output when creating ext4 filesystem with invalid parameter "-Fb 512"] *** task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:87 Thursday 21 July 2022 12:53:34 +0000 (0:00:00.037) 0:00:40.882 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Remove the volume group created above] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:92 Thursday 21 July 2022 12:53:34 +0000 (0:00:00.046) 0:00:40.928 ********* 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:53:34 +0000 (0:00:00.033) 0:00:40.962 ********* 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:53:34 +0000 (0:00:00.035) 0:00:40.997 ********* 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:53:35 +0000 (0:00:00.561) 0:00:41.558 ********* 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:53:35 +0000 (0:00:00.069) 0:00:41.628 ********* 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:53:35 +0000 (0:00:00.050) 0:00:41.679 ********* 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:53:35 +0000 (0:00:00.037) 0:00:41.716 ********* 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:53:35 +0000 (0:00:00.058) 0:00:41.774 ********* 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:53:35 +0000 (0:00:00.022) 0:00:41.797 ********* 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:53:35 +0000 (0:00:00.031) 0:00:41.829 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "lvm" } ] } 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:53:35 +0000 (0:00:00.074) 0:00:41.903 ********* 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:53:35 +0000 (0:00:00.042) 0:00:41.946 ********* 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:53:35 +0000 (0:00:00.031) 0:00:41.977 ********* 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:53:35 +0000 (0:00:00.029) 0:00:42.007 ********* 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:53:35 +0000 (0:00:00.029) 0:00:42.036 ********* 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:53:35 +0000 (0:00:00.030) 0:00:42.067 ********* 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:53:35 +0000 (0:00:00.107) 0:00:42.175 ********* 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:53:35 +0000 (0:00:00.023) 0:00:42.198 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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:53:38 +0000 (0:00:02.069) 0:00:44.268 ********* 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:53:38 +0000 (0:00:00.037) 0:00:44.305 ********* 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:53:38 +0000 (0:00:00.050) 0:00:44.355 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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:53:38 +0000 (0:00:00.036) 0:00:44.392 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "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:53:38 +0000 (0:00:00.035) 0:00:44.428 ********* 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:53:38 +0000 (0:00:00.035) 0:00:44.463 ********* 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:53:38 +0000 (0:00:00.035) 0:00:44.499 ********* 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:53:38 +0000 (0:00:00.022) 0:00:44.521 ********* 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:53:38 +0000 (0:00:00.037) 0:00:44.558 ********* 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:53:38 +0000 (0:00:00.026) 0:00:44.584 ********* 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:53:38 +0000 (0:00:00.366) 0:00:44.950 ********* 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:53:38 +0000 (0:00:00.022) 0:00:44.973 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [Create one LVM logical volume with "4g" under one volume group] ********** task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:102 Thursday 21 July 2022 12:53:39 +0000 (0:00:00.953) 0:00:45.926 ********* 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:53:39 +0000 (0:00:00.040) 0:00:45.966 ********* 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:53:39 +0000 (0:00:00.035) 0:00:46.002 ********* 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:53:40 +0000 (0:00:00.508) 0:00:46.510 ********* 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:53:40 +0000 (0:00:00.064) 0:00:46.574 ********* 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:53:40 +0000 (0:00:00.035) 0:00:46.609 ********* 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:53:40 +0000 (0:00:00.035) 0:00:46.645 ********* 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:53:40 +0000 (0:00:00.059) 0:00:46.704 ********* 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:53:40 +0000 (0:00:00.023) 0:00:46.727 ********* 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:53:40 +0000 (0:00:00.030) 0:00:46.758 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "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:53:40 +0000 (0:00:00.068) 0:00:46.827 ********* 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:53:40 +0000 (0:00:00.036) 0:00:46.863 ********* 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:53:40 +0000 (0:00:00.027) 0:00:46.890 ********* 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:53:40 +0000 (0:00:00.028) 0:00:46.918 ********* 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:53:40 +0000 (0:00:00.026) 0:00:46.945 ********* 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:53:40 +0000 (0:00:00.027) 0:00:46.972 ********* 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:53:40 +0000 (0:00:00.060) 0:00:47.033 ********* 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:53:40 +0000 (0:00:00.022) 0:00:47.056 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/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": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:53:42 +0000 (0:00:02.002) 0:00:49.058 ********* 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:53:42 +0000 (0:00:00.036) 0:00:49.094 ********* 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:53:42 +0000 (0:00:00.021) 0:00:49.116 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/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": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:53:42 +0000 (0:00:00.038) 0:00:49.154 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:53:42 +0000 (0:00:00.039) 0:00:49.193 ********* 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:53:42 +0000 (0:00:00.040) 0:00:49.234 ********* 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:53:43 +0000 (0:00:00.040) 0:00:49.275 ********* 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:53:43 +0000 (0:00:00.687) 0:00:49.962 ********* 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': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 12:53:44 +0000 (0:00:00.411) 0:00:50.374 ********* 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:53:44 +0000 (0:00:00.708) 0:00:51.082 ********* 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:53:45 +0000 (0:00:00.382) 0:00:51.465 ********* 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:53:45 +0000 (0:00:00.023) 0:00:51.488 ********* 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_misc.yml:116 Thursday 21 July 2022 12:53:46 +0000 (0:00:01.054) 0:00:52.543 ********* 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:53:46 +0000 (0:00:00.041) 0:00:52.585 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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:53:46 +0000 (0:00:00.050) 0:00:52.636 ********* 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:53:46 +0000 (0:00:00.040) 0:00:52.677 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "1ca7ced1-5963-4536-b315-82029038507e" }, "/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": "Auu3Bu-ypoj-GoKq-sduQ-EDsK-75yx-fii0gJ" }, "/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-52-41-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:53:46 +0000 (0:00:00.366) 0:00:53.043 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002481", "end": "2022-07-21 08:53:47.151031", "rc": 0, "start": "2022-07-21 08:53:47.148550" } 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 ext4 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:53:47 +0000 (0:00:00.374) 0:00:53.417 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002622", "end": "2022-07-21 08:53:47.522919", "failed_when_result": false, "rc": 1, "start": "2022-07-21 08:53:47.520297" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code 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:53:47 +0000 (0:00:00.372) 0:00:53.789 ********* 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': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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:53:47 +0000 (0:00:00.061) 0:00:53.851 ********* 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:53:47 +0000 (0:00:00.035) 0:00:53.886 ********* 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:53:47 +0000 (0:00:00.045) 0:00:53.932 ********* 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:53:47 +0000 (0:00:00.052) 0:00:53.985 ********* 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:53:48 +0000 (0:00:00.360) 0:00:54.346 ********* 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:53:48 +0000 (0:00:00.059) 0:00:54.405 ********* 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:53:48 +0000 (0:00:00.050) 0:00:54.456 ********* 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:53:48 +0000 (0:00:00.049) 0:00:54.506 ********* 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:53:48 +0000 (0:00:00.038) 0:00:54.544 ********* 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:53:48 +0000 (0:00:00.051) 0:00:54.596 ********* 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:53:48 +0000 (0:00:00.025) 0:00:54.621 ********* 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:53:48 +0000 (0:00:00.075) 0:00:54.697 ********* 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:53:48 +0000 (0:00:00.043) 0:00:54.740 ********* 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:53:48 +0000 (0:00:00.024) 0:00:54.765 ********* 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:53:48 +0000 (0:00:00.023) 0:00:54.788 ********* 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:53:48 +0000 (0:00:00.026) 0:00:54.815 ********* 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:53:48 +0000 (0:00:00.054) 0:00:54.869 ********* 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:53:48 +0000 (0:00:00.025) 0:00:54.895 ********* 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:53:48 +0000 (0:00:00.025) 0:00:54.921 ********* 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:53:48 +0000 (0:00:00.024) 0:00:54.946 ********* 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:53:48 +0000 (0:00:00.036) 0:00:54.982 ********* 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:53:48 +0000 (0:00:00.043) 0:00:55.026 ********* 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': 'ext4', '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:53:48 +0000 (0:00:00.044) 0:00:55.070 ********* 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:53:48 +0000 (0:00:00.027) 0:00:55.098 ********* 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:53:48 +0000 (0:00:00.030) 0:00:55.129 ********* 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:53:48 +0000 (0:00:00.028) 0:00:55.157 ********* 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:53:48 +0000 (0:00:00.044) 0:00:55.202 ********* 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': 'ext4', '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:53:48 +0000 (0:00:00.050) 0:00:55.252 ********* 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:53:49 +0000 (0:00:00.028) 0:00:55.281 ********* 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:53:49 +0000 (0:00:00.024) 0:00:55.305 ********* 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:53:49 +0000 (0:00:00.025) 0:00:55.330 ********* 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:53:49 +0000 (0:00:00.028) 0:00:55.359 ********* 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:53:49 +0000 (0:00:00.049) 0:00:55.409 ********* 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:53:49 +0000 (0:00:00.050) 0:00:55.459 ********* 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:53:49 +0000 (0:00:00.026) 0:00:55.486 ********* 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:53:49 +0000 (0:00:00.042) 0:00:55.529 ********* 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:53:49 +0000 (0:00:00.050) 0:00:55.579 ********* 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:53:49 +0000 (0:00:00.047) 0:00:55.627 ********* 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:53:49 +0000 (0:00:00.036) 0:00:55.663 ********* 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:53:49 +0000 (0:00:00.035) 0:00:55.699 ********* 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:53:49 +0000 (0:00:00.039) 0:00:55.738 ********* 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:53:49 +0000 (0:00:00.033) 0:00:55.771 ********* 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:53:49 +0000 (0:00:00.034) 0:00:55.806 ********* 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:53:49 +0000 (0:00:00.048) 0:00:55.854 ********* 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': 'ext4', '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:53:49 +0000 (0:00:00.045) 0:00:55.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-member-vdo.yml:8 Thursday 21 July 2022 12:53:49 +0000 (0:00:00.026) 0:00:55.926 ********* 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:53:49 +0000 (0:00:00.024) 0:00:55.951 ********* 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:53:49 +0000 (0:00:00.024) 0:00:55.975 ********* 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:53:49 +0000 (0:00:00.023) 0:00:55.998 ********* 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:53:49 +0000 (0:00:00.025) 0:00:56.024 ********* 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:53:49 +0000 (0:00:00.062) 0:00:56.087 ********* 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:53:49 +0000 (0:00:00.024) 0:00:56.112 ********* 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:53:49 +0000 (0:00:00.034) 0:00:56.146 ********* 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:53:49 +0000 (0:00:00.033) 0:00:56.180 ********* 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': 'ext4', '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:53:49 +0000 (0:00:00.043) 0:00:56.223 ********* 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:53:50 +0000 (0:00:00.049) 0:00:56.273 ********* 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:53:50 +0000 (0:00:00.084) 0:00:56.357 ********* 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:53:50 +0000 (0:00:00.041) 0:00:56.399 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1011640, "block_used": 56530, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4143677440, "uuid": "1ca7ced1-5963-4536-b315-82029038507e" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1011640, "block_used": 56530, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4143677440, "uuid": "1ca7ced1-5963-4536-b315-82029038507e" } ], "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:53:50 +0000 (0:00:00.057) 0:00:56.457 ********* 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:53:50 +0000 (0:00:00.051) 0:00:56.508 ********* 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:53:50 +0000 (0:00:00.054) 0:00:56.563 ********* 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:53:50 +0000 (0:00:00.052) 0:00:56.615 ********* 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:53:50 +0000 (0:00:00.024) 0:00:56.640 ********* 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:53:50 +0000 (0:00:00.024) 0:00:56.664 ********* 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:53:50 +0000 (0:00:00.025) 0:00:56.689 ********* 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:53:50 +0000 (0:00:00.033) 0:00:56.723 ********* 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 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 12:53:50 +0000 (0:00:00.060) 0:00:56.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:53:50 +0000 (0:00:00.050) 0:00:56.834 ********* 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:53:50 +0000 (0:00:00.048) 0:00:56.883 ********* 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:53:50 +0000 (0:00:00.036) 0:00:56.920 ********* 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:53:50 +0000 (0:00:00.034) 0:00:56.955 ********* 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:53:50 +0000 (0:00:00.039) 0:00:56.995 ********* 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:53:50 +0000 (0:00:00.038) 0:00:57.033 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658408022.7366364, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658408022.7366364, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1081, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658408022.7366364, "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:53:51 +0000 (0:00:00.362) 0:00:57.396 ********* 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:53:51 +0000 (0:00:00.047) 0:00:57.443 ********* 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:53:51 +0000 (0:00:00.040) 0:00:57.483 ********* 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:53:51 +0000 (0:00:00.040) 0:00:57.524 ********* 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:53:51 +0000 (0:00:00.025) 0:00:57.550 ********* 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:53:51 +0000 (0:00:00.043) 0:00:57.594 ********* 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:53:51 +0000 (0:00:00.024) 0:00:57.618 ********* 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:53:52 +0000 (0:00:00.925) 0:00:58.544 ********* 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:53:52 +0000 (0:00:00.024) 0:00:58.568 ********* 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:53:52 +0000 (0:00:00.023) 0:00:58.592 ********* 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:53:52 +0000 (0:00:00.053) 0:00:58.645 ********* 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:53:52 +0000 (0:00:00.023) 0:00:58.669 ********* 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:53:52 +0000 (0:00:00.022) 0:00:58.692 ********* 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:53:52 +0000 (0:00:00.023) 0:00:58.715 ********* 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:53:52 +0000 (0:00:00.024) 0:00:58.740 ********* 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:53:52 +0000 (0:00:00.028) 0:00:58.768 ********* 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:53:52 +0000 (0:00:00.054) 0:00:58.823 ********* 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:53:52 +0000 (0:00:00.054) 0:00:58.877 ********* 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:53:52 +0000 (0:00:00.035) 0:00:58.913 ********* 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:53:52 +0000 (0:00:00.035) 0:00:58.949 ********* 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:53:52 +0000 (0:00:00.036) 0:00:58.985 ********* 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:53:52 +0000 (0:00:00.037) 0:00:59.022 ********* 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:53:52 +0000 (0:00:00.035) 0:00:59.058 ********* 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:53:52 +0000 (0:00:00.035) 0:00:59.094 ********* 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:53:52 +0000 (0:00:00.035) 0:00:59.129 ********* 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:53:52 +0000 (0:00:00.037) 0:00:59.166 ********* 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:53:52 +0000 (0:00:00.036) 0:00:59.202 ********* 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:53:52 +0000 (0:00:00.039) 0:00:59.242 ********* 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:53:53 +0000 (0:00:00.039) 0:00:59.282 ********* 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:53:53 +0000 (0:00:00.386) 0:00:59.669 ********* 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:53:53 +0000 (0:00:00.370) 0:01:00.039 ********* 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:53:53 +0000 (0:00:00.087) 0:01:00.126 ********* 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:53:53 +0000 (0:00:00.040) 0:01:00.167 ********* 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:53:53 +0000 (0:00:00.039) 0:01:00.206 ********* 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:53:53 +0000 (0:00:00.037) 0:01:00.244 ********* 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:53:54 +0000 (0:00:00.036) 0:01:00.280 ********* 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:53:54 +0000 (0:00:00.042) 0:01:00.323 ********* 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:53:54 +0000 (0:00:00.038) 0:01:00.362 ********* 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:53:54 +0000 (0:00:00.077) 0:01:00.440 ********* 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:53:54 +0000 (0:00:00.074) 0:01:00.514 ********* 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:53:54 +0000 (0:00:00.088) 0:01:00.603 ********* 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.030858", "end": "2022-07-21 08:53:54.787774", "rc": 0, "start": "2022-07-21 08:53:54.756916" } 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:53:54 +0000 (0:00:00.450) 0:01:01.053 ********* 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:53:54 +0000 (0:00:00.052) 0:01:01.106 ********* 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:53:54 +0000 (0:00:00.050) 0:01:01.156 ********* 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:53:54 +0000 (0:00:00.038) 0:01:01.195 ********* 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:53:54 +0000 (0:00:00.036) 0:01:01.231 ********* 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:53:55 +0000 (0:00:00.040) 0:01:01.271 ********* 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:53:55 +0000 (0:00:00.040) 0:01:01.311 ********* 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:53:55 +0000 (0:00:00.040) 0:01:01.352 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 12:53:55 +0000 (0:00:00.022) 0:01:01.374 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Resizing with one large value which large than disk's size] ************** task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:120 Thursday 21 July 2022 12:53:55 +0000 (0:00:00.034) 0:01:01.408 ********* 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:53:55 +0000 (0:00:00.039) 0:01:01.448 ********* 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:53:55 +0000 (0:00:00.035) 0:01:01.484 ********* 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:53:55 +0000 (0:00:00.520) 0:01:02.004 ********* 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:53:55 +0000 (0:00:00.063) 0:01:02.067 ********* 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:53:55 +0000 (0:00:00.036) 0:01:02.104 ********* 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:53:55 +0000 (0:00:00.035) 0:01:02.139 ********* 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:53:55 +0000 (0:00:00.057) 0:01:02.197 ********* 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:53:55 +0000 (0:00:00.022) 0:01:02.219 ********* 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:53:55 +0000 (0:00:00.028) 0:01:02.247 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "12884901888.0" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 12:53:56 +0000 (0:00:00.056) 0:01:02.304 ********* 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:53:56 +0000 (0:00:00.040) 0:01:02.345 ********* 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:53:56 +0000 (0:00:00.031) 0:01:02.376 ********* 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:53:56 +0000 (0:00:00.029) 0:01:02.405 ********* 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:53:56 +0000 (0:00:00.028) 0:01:02.434 ********* 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:53:56 +0000 (0:00:00.031) 0:01:02.465 ********* 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:53:56 +0000 (0:00:00.089) 0:01:02.554 ********* 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:53:56 +0000 (0:00:00.022) 0:01:02.577 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' cannot be resized to '12 GiB' TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 12:53:57 +0000 (0:00:01.636) 0:01:04.213 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' cannot be resized to '12 GiB'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '12884901888.0', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 12:53:57 +0000 (0:00:00.042) 0:01:04.255 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:139 Thursday 21 July 2022 12:53:58 +0000 (0:00:00.029) 0:01:04.285 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output when resizing with large size] ************************* task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:145 Thursday 21 July 2022 12:53:58 +0000 (0:00:00.043) 0:01:04.329 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Remove the volume group created above] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:150 Thursday 21 July 2022 12:53:58 +0000 (0:00:00.053) 0:01:04.383 ********* 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:53:58 +0000 (0:00:00.036) 0:01:04.419 ********* 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:53:58 +0000 (0:00:00.036) 0:01:04.456 ********* 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:53:58 +0000 (0:00:00.520) 0:01:04.976 ********* 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:53:58 +0000 (0:00:00.061) 0:01:05.038 ********* 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:53:58 +0000 (0:00:00.035) 0:01:05.073 ********* 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:53:58 +0000 (0:00:00.035) 0:01:05.109 ********* 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:53:58 +0000 (0:00:00.057) 0:01:05.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:53:58 +0000 (0:00:00.020) 0:01:05.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:53:58 +0000 (0:00:00.032) 0:01:05.220 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "lvm" } ] } 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:53:58 +0000 (0:00:00.041) 0:01:05.262 ********* 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:53:59 +0000 (0:00:00.040) 0:01:05.303 ********* 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:53:59 +0000 (0:00:00.028) 0:01:05.332 ********* 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:53:59 +0000 (0:00:00.030) 0:01:05.362 ********* 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:53:59 +0000 (0:00:00.028) 0:01:05.391 ********* 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:53:59 +0000 (0:00:00.027) 0:01:05.419 ********* 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:53:59 +0000 (0:00:00.093) 0:01:05.512 ********* 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:53:59 +0000 (0:00:00.024) 0:01:05.537 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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:54:01 +0000 (0:00:02.266) 0:01:07.803 ********* 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:54:01 +0000 (0:00:00.036) 0:01:07.840 ********* 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:54:01 +0000 (0:00:00.022) 0:01:07.862 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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:54:01 +0000 (0:00:00.040) 0:01:07.902 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ] }, "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:54:01 +0000 (0:00:00.038) 0:01:07.940 ********* 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:54:01 +0000 (0:00:00.037) 0:01:07.978 ********* 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': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 12:54:02 +0000 (0:00:00.422) 0:01:08.401 ********* 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:54:02 +0000 (0:00:00.677) 0:01:09.078 ********* 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:54:02 +0000 (0:00:00.040) 0:01:09.119 ********* 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:54:03 +0000 (0:00:00.662) 0:01:09.781 ********* 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:54:03 +0000 (0:00:00.360) 0:01:10.141 ********* 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:54:03 +0000 (0:00:00.023) 0:01:10.165 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [Create one partition on one disk] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:160 Thursday 21 July 2022 12:54:04 +0000 (0:00:00.981) 0:01:11.147 ********* 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:54:04 +0000 (0:00:00.042) 0:01:11.190 ********* 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:54:04 +0000 (0:00:00.037) 0:01:11.227 ********* 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:54:05 +0000 (0:00:00.553) 0:01:11.781 ********* 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:54:05 +0000 (0:00:00.096) 0:01:11.878 ********* 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:54:05 +0000 (0:00:00.037) 0:01:11.915 ********* 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:54:05 +0000 (0:00:00.080) 0:01:11.995 ********* 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:54:05 +0000 (0:00:00.065) 0:01:12.061 ********* 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:54:05 +0000 (0:00:00.023) 0:01:12.085 ********* 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:54:05 +0000 (0:00:00.034) 0:01:12.119 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "partition", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "type": "partition" } ] } ] } 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:54:05 +0000 (0:00:00.083) 0:01:12.202 ********* 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:54:05 +0000 (0:00:00.038) 0:01:12.241 ********* 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:54:06 +0000 (0:00:00.031) 0:01:12.272 ********* 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:54:06 +0000 (0:00:00.031) 0:01:12.304 ********* 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:54:06 +0000 (0:00:00.029) 0:01:12.333 ********* 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:54:06 +0000 (0:00:00.030) 0:01:12.364 ********* 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:54:06 +0000 (0:00:00.058) 0:01:12.422 ********* 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:54:06 +0000 (0:00:00.024) 0:01:12.447 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "ext4" } ], "changed": true, "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/sda1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "partition", "volumes": [ { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "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:54:08 +0000 (0:00:02.029) 0:01:14.477 ********* 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:54:08 +0000 (0:00:00.038) 0:01:14.515 ********* 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:54:08 +0000 (0:00:00.021) 0:01:14.537 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "ext4" } ], "changed": true, "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/sda1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "partition", "volumes": [ { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "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:54:08 +0000 (0:00:00.040) 0:01:14.577 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "partition", "volumes": [ { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "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:54:08 +0000 (0:00:00.046) 0:01:14.624 ********* 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:54:08 +0000 (0:00:00.041) 0:01:14.665 ********* 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:54:08 +0000 (0:00:00.038) 0:01:14.704 ********* 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:54:09 +0000 (0:00:00.697) 0:01:15.401 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85" } 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:54:09 +0000 (0:00:00.407) 0:01:15.808 ********* 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:54:10 +0000 (0:00:00.686) 0:01:16.494 ********* 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:54:10 +0000 (0:00:00.380) 0:01:16.875 ********* 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:54:10 +0000 (0:00:00.026) 0:01:16.901 ********* 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_misc.yml:174 Thursday 21 July 2022 12:54:11 +0000 (0:00:01.010) 0:01:17.912 ********* 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:54:11 +0000 (0:00:00.076) 0:01:17.988 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "partition", "volumes": [ { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "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:54:11 +0000 (0:00:00.053) 0:01:18.042 ********* 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:54:11 +0000 (0:00:00.038) 0:01:18.081 ********* 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/sda1": { "fstype": "ext4", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "f83e4e6d-0540-4b79-be4b-045febfd6b85" }, "/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-52-41-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:54:12 +0000 (0:00:00.365) 0:01:18.446 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002606", "end": "2022-07-21 08:54:12.551681", "rc": 0, "start": "2022-07-21 08:54:12.549075" } 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 UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85 /opt/test1 ext4 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:54:12 +0000 (0:00:00.373) 0:01:18.820 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.003965", "end": "2022-07-21 08:54:13.916693", "failed_when_result": false, "rc": 1, "start": "2022-07-21 08:54:12.912728" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code 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:54:13 +0000 (0:00:01.366) 0:01:20.187 ********* 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': 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': 'partition', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}], '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:54:13 +0000 (0:00:00.058) 0:01:20.245 ********* 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:54:14 +0000 (0:00:00.031) 0:01:20.277 ********* 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:54:14 +0000 (0:00:00.045) 0:01:20.322 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was 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:54:14 +0000 (0:00:00.024) 0:01:20.347 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 12:54:14 +0000 (0:00:00.020) 0:01:20.368 ********* 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:19 Thursday 21 July 2022 12:54:14 +0000 (0:00:00.022) 0:01:20.390 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 12:54:14 +0000 (0:00:00.022) 0:01:20.412 ********* 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:29 Thursday 21 July 2022 12:54:14 +0000 (0:00:00.023) 0:01:20.436 ********* 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:33 Thursday 21 July 2022 12:54:14 +0000 (0:00:00.023) 0:01:20.459 ********* 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:54:14 +0000 (0:00:00.023) 0:01:20.482 ********* 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:54:14 +0000 (0:00:00.023) 0:01:20.506 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 12:54:14 +0000 (0:00:00.021) 0:01:20.528 ********* 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:54:14 +0000 (0:00:00.040) 0:01:20.568 ********* 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:54:14 +0000 (0:00:00.026) 0:01:20.594 ********* 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:54:14 +0000 (0:00:00.027) 0:01:20.622 ********* 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:54:14 +0000 (0:00:00.026) 0:01:20.648 ********* 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:54:14 +0000 (0:00:00.024) 0:01:20.673 ********* 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:54:14 +0000 (0:00:00.026) 0:01:20.700 ********* 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:54:14 +0000 (0:00:00.062) 0:01:20.762 ********* 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:54:14 +0000 (0:00:00.026) 0:01:20.788 ********* 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:54:14 +0000 (0:00:00.036) 0:01:20.825 ********* 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:54:14 +0000 (0:00:00.046) 0:01:20.871 ********* skipping: [/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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}) => { "ansible_loop_var": "storage_test_lvmraid_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_lvmraid_volume": { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 12:54:14 +0000 (0:00:00.030) 0:01:20.902 ********* 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:54:14 +0000 (0:00:00.048) 0:01:20.950 ********* skipping: [/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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}) => { "ansible_loop_var": "storage_test_thin_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_thin_volume": { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [Check member encryption] ************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 12:54:14 +0000 (0:00:00.030) 0:01:20.980 ********* 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:54:14 +0000 (0:00:00.046) 0:01:21.026 ********* 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:54:14 +0000 (0:00:00.049) 0:01:21.076 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 12:54:14 +0000 (0:00:00.021) 0:01:21.097 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 12:54:14 +0000 (0:00:00.021) 0:01:21.118 ********* 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:54:14 +0000 (0:00:00.036) 0:01:21.155 ********* 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:54:14 +0000 (0:00:00.049) 0:01:21.204 ********* skipping: [/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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}) => { "ansible_loop_var": "storage_test_vdo_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_vdo_volume": { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 12:54:14 +0000 (0:00:00.030) 0:01:21.234 ********* 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:54:15 +0000 (0:00:00.036) 0:01:21.271 ********* 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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', 'cached': False, 'cache_devices': [], 'cache_mode': None, '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 12:54:15 +0000 (0:00:00.044) 0:01:21.315 ********* 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:54:15 +0000 (0:00:00.053) 0:01:21.369 ********* 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:54:15 +0000 (0:00:00.083) 0:01:21.452 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 12:54:15 +0000 (0:00:00.042) 0:01:21.495 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2419276, "block_size": 4096, "block_total": 2554437, "block_used": 135161, "device": "/dev/sda1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9909354496, "size_total": 10462973952, "uuid": "f83e4e6d-0540-4b79-be4b-045febfd6b85" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2419276, "block_size": 4096, "block_total": 2554437, "block_used": 135161, "device": "/dev/sda1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9909354496, "size_total": 10462973952, "uuid": "f83e4e6d-0540-4b79-be4b-045febfd6b85" } ], "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:54:15 +0000 (0:00:00.055) 0:01:21.550 ********* 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:54:15 +0000 (0:00:00.052) 0:01:21.603 ********* 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:54:15 +0000 (0:00:00.063) 0:01:21.667 ********* 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:54:15 +0000 (0:00:00.052) 0:01:21.719 ********* 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:54:15 +0000 (0:00:00.029) 0:01:21.749 ********* 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:54:15 +0000 (0:00:00.034) 0:01:21.783 ********* 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:54:15 +0000 (0:00:00.024) 0:01:21.807 ********* 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:54:15 +0000 (0:00:00.034) 0:01:21.842 ********* 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": [ "UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 12:54:15 +0000 (0:00:00.061) 0:01:21.903 ********* 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:54:15 +0000 (0:00:00.050) 0:01:21.953 ********* 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:54:15 +0000 (0:00:00.091) 0:01:22.044 ********* 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:54:15 +0000 (0:00:00.039) 0:01:22.084 ********* 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:54:15 +0000 (0:00:00.113) 0:01:22.198 ********* 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:54:15 +0000 (0:00:00.041) 0:01:22.239 ********* 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:54:16 +0000 (0:00:00.040) 0:01:22.280 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658408048.1426365, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658408048.1426365, "dev": 5, "device_type": 2049, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1305, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658408048.1426365, "nlink": 1, "path": "/dev/sda1", "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:54:16 +0000 (0:00:00.377) 0:01:22.658 ********* 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:54:16 +0000 (0:00:00.037) 0:01:22.695 ********* 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:54:16 +0000 (0:00:00.039) 0:01:22.734 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "st_volume_type": "partition" }, "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:54:16 +0000 (0:00:00.037) 0:01:22.771 ********* 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:54:16 +0000 (0:00:00.024) 0:01:22.796 ********* 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:54:16 +0000 (0:00:00.036) 0:01:22.833 ********* 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:54:16 +0000 (0:00:00.022) 0:01:22.856 ********* 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:54:17 +0000 (0:00:00.941) 0:01:23.798 ********* 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:54:17 +0000 (0:00:00.026) 0:01:23.824 ********* 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:54:17 +0000 (0:00:00.023) 0:01:23.848 ********* 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:54:17 +0000 (0:00:00.058) 0:01:23.906 ********* 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:54:17 +0000 (0:00:00.024) 0:01:23.931 ********* 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:54:17 +0000 (0:00:00.024) 0:01:23.955 ********* 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:54:17 +0000 (0:00:00.023) 0:01:23.978 ********* 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:54:17 +0000 (0:00:00.022) 0:01:24.001 ********* 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:54:17 +0000 (0:00:00.023) 0:01:24.025 ********* 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:54:17 +0000 (0:00:00.057) 0:01:24.082 ********* 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:54:17 +0000 (0:00:00.054) 0:01:24.137 ********* 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:54:17 +0000 (0:00:00.036) 0:01:24.174 ********* 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:54:17 +0000 (0:00:00.041) 0:01:24.215 ********* 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:54:17 +0000 (0:00:00.037) 0:01:24.253 ********* 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:54:18 +0000 (0:00:00.038) 0:01:24.291 ********* 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:54:18 +0000 (0:00:00.039) 0:01:24.330 ********* 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:54:18 +0000 (0:00:00.042) 0:01:24.373 ********* 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:54:18 +0000 (0:00:00.037) 0:01:24.411 ********* 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:54:18 +0000 (0:00:00.038) 0:01:24.449 ********* 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:54:18 +0000 (0:00:00.035) 0:01:24.485 ********* 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:54:18 +0000 (0:00:00.039) 0:01:24.524 ********* 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:54:18 +0000 (0:00:00.037) 0:01:24.561 ********* 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:54:18 +0000 (0:00:00.025) 0:01:24.586 ********* 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:54:18 +0000 (0:00:00.036) 0:01:24.622 ********* 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:54:18 +0000 (0:00:00.042) 0:01:24.665 ********* 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:54:18 +0000 (0:00:00.037) 0:01:24.703 ********* 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:54:18 +0000 (0:00:00.042) 0:01:24.745 ********* 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:54:18 +0000 (0:00:00.039) 0:01:24.784 ********* 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:54:18 +0000 (0:00:00.076) 0:01:24.860 ********* 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:54:18 +0000 (0:00:00.044) 0:01:24.905 ********* 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:54:18 +0000 (0:00:00.038) 0:01:24.943 ********* 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:54:18 +0000 (0:00:00.040) 0:01:24.983 ********* 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:54:18 +0000 (0:00:00.039) 0:01:25.023 ********* 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:54:18 +0000 (0:00:00.027) 0:01:25.050 ********* 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:54:18 +0000 (0:00:00.024) 0:01:25.075 ********* 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:54:18 +0000 (0:00:00.025) 0:01:25.101 ********* 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:54:18 +0000 (0:00:00.026) 0:01:25.127 ********* 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:54:18 +0000 (0:00:00.024) 0:01:25.151 ********* 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:54:18 +0000 (0:00:00.023) 0:01:25.175 ********* 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:54:18 +0000 (0:00:00.023) 0:01:25.199 ********* 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:54:18 +0000 (0:00:00.024) 0:01:25.224 ********* 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:54:18 +0000 (0:00:00.034) 0:01:25.258 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 12:54:19 +0000 (0:00:00.022) 0:01:25.281 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Test setting up disk volume will remove the partition create above] ****** task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:176 Thursday 21 July 2022 12:54:19 +0000 (0:00:00.038) 0:01:25.319 ********* 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:54:19 +0000 (0:00:00.047) 0:01:25.367 ********* 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:54:19 +0000 (0:00:00.040) 0:01:25.407 ********* 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:54:19 +0000 (0:00:00.540) 0:01:25.948 ********* 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:54:19 +0000 (0:00:00.064) 0:01:26.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:54:19 +0000 (0:00:00.035) 0:01:26.048 ********* 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:54:19 +0000 (0:00:00.041) 0:01:26.089 ********* 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:54:19 +0000 (0:00:00.063) 0:01:26.153 ********* 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:54:19 +0000 (0:00:00.022) 0:01:26.175 ********* 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:54:19 +0000 (0:00:00.034) 0:01:26.210 ********* 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:54:19 +0000 (0:00:00.042) 0:01:26.252 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_create_options": "-F", "fs_type": "ext4", "mount_options": "rw,noatime,defaults", "mount_point": "/opt/test1", "name": "foo", "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:54:20 +0000 (0:00:00.041) 0:01:26.294 ********* 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:54:20 +0000 (0:00:00.031) 0:01:26.325 ********* 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:54:20 +0000 (0:00:00.033) 0:01:26.359 ********* 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:54:20 +0000 (0:00:00.036) 0:01:26.395 ********* 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:54:20 +0000 (0:00:00.030) 0:01:26.425 ********* 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:54:20 +0000 (0:00:00.103) 0:01:26.529 ********* 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:54:20 +0000 (0:00:00.063) 0:01:26.592 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "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": "ext4", "path": "/opt/test1", "src": "UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85", "state": "absent" }, { "dump": 0, "fstype": "ext4", "opts": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "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:54:22 +0000 (0:00:02.160) 0:01:28.752 ********* 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:54:22 +0000 (0:00:00.037) 0:01:28.790 ********* 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:54:22 +0000 (0:00:00.024) 0:01:28.814 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "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": "ext4", "path": "/opt/test1", "src": "UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85", "state": "absent" }, { "dump": 0, "fstype": "ext4", "opts": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "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:54:22 +0000 (0:00:00.041) 0:01:28.856 ********* 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:54:22 +0000 (0:00:00.036) 0:01:28.892 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "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:54:22 +0000 (0:00:00.037) 0:01:28.930 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=f83e4e6d-0540-4b79-be4b-045febfd6b85" } 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:54:23 +0000 (0:00:00.385) 0:01:29.315 ********* 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:54:23 +0000 (0:00:00.687) 0:01:30.003 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'rw,noatime,defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f", "state": "mounted" }, "name": "/opt/test1", "opts": "rw,noatime,defaults", "passno": "0", "src": "UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f" } 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:54:24 +0000 (0:00:00.409) 0:01:30.412 ********* 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:54:24 +0000 (0:00:00.662) 0:01:31.075 ********* 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:54:25 +0000 (0:00:00.378) 0:01:31.454 ********* 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:54:25 +0000 (0:00:00.022) 0:01:31.476 ********* 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_misc.yml:189 Thursday 21 July 2022 12:54:26 +0000 (0:00:00.969) 0:01:32.445 ********* 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:54:26 +0000 (0:00:00.046) 0:01:32.492 ********* 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:54:26 +0000 (0:00:00.036) 0:01:32.528 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "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:54:26 +0000 (0:00:00.082) 0:01:32.611 ********* 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": "ext4", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "ed1cb113-1b3b-4a84-8807-dfa3bdd3113f" }, "/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-52-41-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:54:26 +0000 (0:00:00.373) 0:01:32.984 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002907", "end": "2022-07-21 08:54:27.093917", "rc": 0, "start": "2022-07-21 08:54:27.091010" } 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 UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f /opt/test1 ext4 rw,noatime,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:54:27 +0000 (0:00:00.382) 0:01:33.367 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002592", "end": "2022-07-21 08:54:27.509595", "failed_when_result": false, "rc": 1, "start": "2022-07-21 08:54:27.507003" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code 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:54:27 +0000 (0:00:00.449) 0:01:33.817 ********* 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:54:27 +0000 (0:00:00.025) 0:01:33.842 ********* 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': '-F', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'rw,noatime,defaults', 'mount_point': '/opt/test1', 'name': 'foo', 'raid_level': None, 'size': 10737418240, 'state': 'present', '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/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 12:54:27 +0000 (0:00:00.057) 0:01:33.900 ********* 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:54:27 +0000 (0:00:00.048) 0:01:33.949 ********* 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:54:27 +0000 (0:00:00.080) 0:01:34.030 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 12:54:27 +0000 (0:00:00.041) 0:01:34.072 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2554693, "block_used": 135174, "device": "/dev/sda", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,noatime", "size_available": 9910349824, "size_total": 10464022528, "uuid": "ed1cb113-1b3b-4a84-8807-dfa3bdd3113f" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2554693, "block_used": 135174, "device": "/dev/sda", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,noatime", "size_available": 9910349824, "size_total": 10464022528, "uuid": "ed1cb113-1b3b-4a84-8807-dfa3bdd3113f" } ], "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:54:27 +0000 (0:00:00.061) 0:01:34.133 ********* 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:54:27 +0000 (0:00:00.053) 0:01:34.187 ********* 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:54:27 +0000 (0:00:00.050) 0:01:34.237 ********* 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:54:28 +0000 (0:00:00.051) 0:01:34.289 ********* 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:54:28 +0000 (0:00:00.026) 0:01:34.315 ********* 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:54:28 +0000 (0:00:00.026) 0:01:34.342 ********* 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:54:28 +0000 (0:00:00.025) 0:01:34.367 ********* 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:54:28 +0000 (0:00:00.036) 0:01:34.404 ********* 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": [ "UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 rw,noatime,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:54:28 +0000 (0:00:00.066) 0:01:34.471 ********* 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:54:28 +0000 (0:00:00.049) 0:01:34.521 ********* 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:54:28 +0000 (0:00:00.054) 0:01:34.575 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 12:54:28 +0000 (0:00:00.056) 0:01:34.632 ********* 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:54:28 +0000 (0:00:00.034) 0:01:34.666 ********* 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:54:28 +0000 (0:00:00.039) 0:01:34.706 ********* 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:54:28 +0000 (0:00:00.041) 0:01:34.748 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658408062.4246366, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658408062.4246366, "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": 1658408062.4246366, "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:54:28 +0000 (0:00:00.389) 0:01:35.137 ********* 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:54:28 +0000 (0:00:00.044) 0:01:35.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:54:28 +0000 (0:00:00.040) 0:01:35.222 ********* 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:54:28 +0000 (0:00:00.040) 0:01:35.263 ********* 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:54:29 +0000 (0:00:00.025) 0:01:35.288 ********* 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:54:29 +0000 (0:00:00.041) 0:01:35.330 ********* 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:54:29 +0000 (0:00:00.024) 0:01:35.354 ********* 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:54:30 +0000 (0:00:00.955) 0:01:36.310 ********* 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:54:30 +0000 (0:00:00.024) 0:01:36.334 ********* 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:54:30 +0000 (0:00:00.023) 0:01:36.358 ********* 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:54:30 +0000 (0:00:00.104) 0:01:36.462 ********* 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:54:30 +0000 (0:00:00.024) 0:01:36.487 ********* 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:54:30 +0000 (0:00:00.026) 0:01:36.513 ********* 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:54:30 +0000 (0:00:00.024) 0:01:36.538 ********* 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:54:30 +0000 (0:00:00.065) 0:01:36.603 ********* 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:54:30 +0000 (0:00:00.027) 0:01:36.631 ********* 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:54:30 +0000 (0:00:00.050) 0:01:36.681 ********* 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:54:30 +0000 (0:00:00.053) 0:01:36.734 ********* 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:54:30 +0000 (0:00:00.042) 0:01:36.777 ********* 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:54:30 +0000 (0:00:00.038) 0:01:36.815 ********* 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:54:30 +0000 (0:00:00.037) 0:01:36.853 ********* 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:54:30 +0000 (0:00:00.037) 0:01:36.891 ********* 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:54:30 +0000 (0:00:00.040) 0:01:36.931 ********* 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:54:30 +0000 (0:00:00.034) 0:01:36.966 ********* 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:54:30 +0000 (0:00:00.033) 0:01:37.000 ********* 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:54:30 +0000 (0:00:00.033) 0:01:37.034 ********* 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:54:30 +0000 (0:00:00.040) 0:01:37.074 ********* 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:54:30 +0000 (0:00:00.039) 0:01:37.113 ********* 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:54:30 +0000 (0:00:00.036) 0:01:37.150 ********* 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:54:30 +0000 (0:00:00.024) 0:01:37.174 ********* 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:54:30 +0000 (0:00:00.038) 0:01:37.212 ********* 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:54:30 +0000 (0:00:00.038) 0:01:37.251 ********* 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:54:31 +0000 (0:00:00.038) 0:01:37.290 ********* 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:54:31 +0000 (0:00:00.036) 0:01:37.326 ********* 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:54:31 +0000 (0:00:00.040) 0:01:37.367 ********* 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:54:31 +0000 (0:00:00.039) 0:01:37.406 ********* 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:54:31 +0000 (0:00:00.045) 0:01:37.452 ********* 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:54:31 +0000 (0:00:00.036) 0:01:37.488 ********* 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:54:31 +0000 (0:00:00.037) 0:01:37.526 ********* 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:54:31 +0000 (0:00:00.036) 0:01:37.563 ********* 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:54:31 +0000 (0:00:00.025) 0:01:37.588 ********* 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:54:31 +0000 (0:00:00.025) 0:01:37.613 ********* 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:54:31 +0000 (0:00:00.026) 0:01:37.639 ********* 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:54:31 +0000 (0:00:00.026) 0:01:37.666 ********* 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:54:31 +0000 (0:00:00.026) 0:01:37.692 ********* 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:54:31 +0000 (0:00:00.025) 0:01:37.718 ********* 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:54:31 +0000 (0:00:00.026) 0:01:37.744 ********* 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:54:31 +0000 (0:00:00.024) 0:01:37.769 ********* 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:54:31 +0000 (0:00:00.033) 0:01:37.803 ********* 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 disk volume created above] ************************************ task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:193 Thursday 21 July 2022 12:54:31 +0000 (0:00:00.034) 0:01:37.837 ********* 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:54:31 +0000 (0:00:00.053) 0:01:37.891 ********* 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:54:31 +0000 (0:00:00.037) 0:01:37.928 ********* 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:54:32 +0000 (0:00:00.537) 0:01:38.466 ********* 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:54:32 +0000 (0:00:00.098) 0:01:38.565 ********* 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:54:32 +0000 (0:00:00.150) 0:01:38.715 ********* 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:54:32 +0000 (0:00:00.039) 0:01:38.754 ********* 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:54:32 +0000 (0:00:00.058) 0:01:38.813 ********* 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:54:32 +0000 (0:00:00.022) 0:01:38.835 ********* 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:54:32 +0000 (0:00:00.027) 0:01:38.863 ********* 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:54:32 +0000 (0:00:00.035) 0:01:38.899 ********* 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:54:32 +0000 (0:00:00.036) 0:01:38.935 ********* 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:54:32 +0000 (0:00:00.035) 0:01:38.970 ********* 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:54:32 +0000 (0:00:00.028) 0:01:38.999 ********* 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:54:32 +0000 (0:00:00.029) 0:01:39.028 ********* 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:54:32 +0000 (0:00:00.027) 0:01:39.056 ********* 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:54:32 +0000 (0:00:00.062) 0:01:39.118 ********* 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:54:32 +0000 (0:00:00.023) 0:01:39.142 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "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": "ext4", "path": "/opt/test1", "src": "UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f", "state": "absent" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "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:54:34 +0000 (0:00:01.662) 0:01:40.805 ********* 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:54:34 +0000 (0:00:00.040) 0:01:40.845 ********* 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:54:34 +0000 (0:00:00.024) 0:01:40.869 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" } ], "changed": true, "crypts": [], "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": "ext4", "path": "/opt/test1", "src": "UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f", "state": "absent" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "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:54:34 +0000 (0:00:00.043) 0:01:40.912 ********* 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:54:34 +0000 (0:00:00.043) 0:01:40.956 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f", "_raw_device": "/dev/sda", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "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:54:34 +0000 (0:00:00.039) 0:01:40.995 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=ed1cb113-1b3b-4a84-8807-dfa3bdd3113f" } 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:54:35 +0000 (0:00:00.407) 0:01:41.403 ********* 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:54:35 +0000 (0:00:00.674) 0:01:42.077 ********* 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:54:35 +0000 (0:00:00.039) 0:01:42.116 ********* 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:54:36 +0000 (0:00:00.648) 0:01:42.765 ********* 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:54:36 +0000 (0:00:00.359) 0:01:43.125 ********* 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:54:36 +0000 (0:00:00.024) 0:01:43.149 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [Try to mount swap filesystem to "/opt/test1"] **************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:205 Thursday 21 July 2022 12:54:37 +0000 (0:00:00.998) 0:01:44.148 ********* 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:54:37 +0000 (0:00:00.076) 0:01:44.225 ********* 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:54:37 +0000 (0:00:00.037) 0:01:44.262 ********* 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:54:38 +0000 (0:00:00.519) 0:01:44.781 ********* 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:54:38 +0000 (0:00:00.066) 0:01:44.847 ********* 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:54:38 +0000 (0:00:00.034) 0:01:44.882 ********* 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:54:38 +0000 (0:00:00.035) 0:01:44.917 ********* 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:54:38 +0000 (0:00:00.058) 0:01:44.975 ********* 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:54:38 +0000 (0:00:00.020) 0:01:44.996 ********* 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:54:38 +0000 (0:00:00.030) 0:01:45.026 ********* 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:54:38 +0000 (0:00:00.049) 0:01:45.076 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "mount_point": "/opt/test1", "name": "test1", "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:54:38 +0000 (0:00:00.049) 0:01:45.125 ********* 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:54:38 +0000 (0:00:00.032) 0:01:45.158 ********* 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:54:38 +0000 (0:00:00.032) 0:01:45.190 ********* 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:54:38 +0000 (0:00:00.031) 0:01:45.221 ********* 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:54:38 +0000 (0:00:00.030) 0:01:45.252 ********* 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:54:39 +0000 (0:00:00.062) 0:01:45.314 ********* 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:54:39 +0000 (0:00:00.025) 0:01:45.340 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' has a mount point but no mountable file system 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:54:40 +0000 (0:00:01.344) 0:01:46.684 ********* fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' has a mount point but no mountable file system", 'invocation': {'module_args': {'pools': [], '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': 'swap', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', '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': []}], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 12:54:40 +0000 (0:00:00.098) 0:01:46.783 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:221 Thursday 21 July 2022 12:54:40 +0000 (0:00:00.023) 0:01:46.807 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output when mount swap filesystem to "/opt/test1"] ************ task path: /tmp/tmpfc26zqih/tests/storage/tests_misc.yml:227 Thursday 21 July 2022 12:54:40 +0000 (0:00:00.084) 0:01:46.891 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=482 changed=16 unreachable=0 failed=3 skipped=367 rescued=3 ignored=0 Thursday 21 July 2022 12:54:40 +0000 (0:00:00.102) 0:01:46.994 ********* =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.30s /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.27s /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.16s /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.09s /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.07s /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.03s /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.00s /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.95s /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.66s /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.64s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Read the /etc/fstab file for volume existence --------------------------- 1.40s /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:19 --------------------- Read the /etc/crypttab file --------------------------------------------- 1.37s /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 --------------------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.34s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Gathering Facts --------------------------------------------------------- 1.32s /tmp/tmpfc26zqih/tests/storage/tests_misc_scsi_generated.yml:3 ---------------- fedora.linux_system_roles.storage : make sure blivet is available ------- 1.23s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : Update facts ------------------------ 1.06s /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 ------------------------ 1.00s /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