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_swap.yml ******************************************************* 1 plays in /tmp/tmpsvhdx31t/tests/tests_swap.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/tests_swap.yml:2 Thursday 21 July 2022 10:15:43 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpsvhdx31t/tests/tests_swap.yml:10 Thursday 21 July 2022 10:15:44 +0000 (0:00:01.390) 0:00:01.403 ********* 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 10:15:44 +0000 (0:00:00.036) 0:00:01.439 ********* 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 10:15:44 +0000 (0:00:00.031) 0:00:01.471 ********* 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 10:15:45 +0000 (0:00:00.531) 0:00:02.002 ********* 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 10:15:45 +0000 (0:00:00.057) 0:00:02.059 ********* 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 10:15:45 +0000 (0:00:00.029) 0:00:02.089 ********* 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 10:15:45 +0000 (0:00:00.031) 0:00:02.120 ********* 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 10:15:45 +0000 (0:00:00.046) 0:00:02.167 ********* 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 10:15:45 +0000 (0:00:00.017) 0:00:02.184 ********* 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 10:15:47 +0000 (0:00:01.325) 0:00:03.510 ********* 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 10:15:47 +0000 (0:00:00.033) 0:00:03.544 ********* 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 10:15:47 +0000 (0:00:00.035) 0:00:03.579 ********* 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 10:15:47 +0000 (0:00:00.741) 0:00:04.320 ********* 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 10:15:47 +0000 (0:00:00.045) 0:00:04.365 ********* 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 10:15:47 +0000 (0:00:00.032) 0:00:04.398 ********* 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 10:15:47 +0000 (0:00:00.035) 0:00:04.433 ********* 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 10:15:47 +0000 (0:00:00.032) 0:00:04.466 ********* 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 10:15:48 +0000 (0:00:00.918) 0:00:05.385 ********* 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 10:15:50 +0000 (0:00:01.924) 0:00:07.309 ********* 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 10:15:50 +0000 (0:00:00.062) 0:00:07.372 ********* 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 10:15:50 +0000 (0:00:00.025) 0:00:07.397 ********* 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 10:15:51 +0000 (0:00:00.534) 0:00:07.931 ********* 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 10:15:51 +0000 (0:00:00.037) 0:00:07.968 ********* 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 10:15:51 +0000 (0:00:00.022) 0:00:07.991 ********* 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 10:15:51 +0000 (0:00:00.037) 0:00:08.028 ********* 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 10:15:51 +0000 (0:00:00.037) 0:00:08.066 ********* 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 10:15:51 +0000 (0:00:00.038) 0:00:08.105 ********* 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 10:15:51 +0000 (0:00:00.036) 0:00:08.141 ********* 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 10:15:51 +0000 (0:00:00.024) 0:00:08.166 ********* 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 10:15:51 +0000 (0:00:00.034) 0:00:08.200 ********* 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 10:15:51 +0000 (0:00:00.025) 0:00:08.226 ********* 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 10:15:52 +0000 (0:00:00.510) 0:00:08.737 ********* 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 10:15:52 +0000 (0:00:00.022) 0:00:08.759 ********* 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_swap.yml:13 Thursday 21 July 2022 10:15:53 +0000 (0:00:01.010) 0:00:09.770 ********* 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_swap.yml:20 Thursday 21 July 2022 10:15:53 +0000 (0:00:00.064) 0:00:09.835 ********* 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 10:15:53 +0000 (0:00:00.037) 0:00:09.872 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "disks": [ "sda", "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpsvhdx31t/tests/get_unused_disk.yml:9 Thursday 21 July 2022 10:15:53 +0000 (0:00:00.515) 0:00:10.388 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda", "sdb" ] }, "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 10:15:53 +0000 (0:00:00.038) 0:00:10.426 ********* 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 10:15:53 +0000 (0:00:00.039) 0:00:10.465 ********* ok: [/cache/rhel-9.qcow2.snap] => { "unused_disks": [ "sda", "sdb" ] } TASK [Create a disk device with swap] ****************************************** task path: /tmp/tmpsvhdx31t/tests/tests_swap.yml:25 Thursday 21 July 2022 10:15:54 +0000 (0:00:00.037) 0:00:10.503 ********* 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 10:15:54 +0000 (0:00:00.044) 0:00:10.547 ********* 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 10:15:54 +0000 (0:00:00.035) 0:00:10.583 ********* 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 10:15:54 +0000 (0:00:00.525) 0:00:11.108 ********* 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 10:15:54 +0000 (0:00:00.062) 0:00:11.171 ********* 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 10:15:54 +0000 (0:00:00.033) 0:00:11.205 ********* 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 10:15:54 +0000 (0:00:00.033) 0:00:11.239 ********* 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 10:15:54 +0000 (0:00:00.045) 0:00:11.284 ********* 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 10:15:54 +0000 (0:00:00.021) 0:00:11.306 ********* 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 10:15:54 +0000 (0:00:00.030) 0:00:11.336 ********* 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 10:15:54 +0000 (0:00:00.034) 0:00:11.371 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "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 10:15:54 +0000 (0:00:00.038) 0:00:11.409 ********* 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 10:15:54 +0000 (0:00:00.029) 0:00:11.439 ********* 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 10:15:54 +0000 (0:00:00.030) 0:00:11.469 ********* 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 10:15:55 +0000 (0:00:00.029) 0:00:11.498 ********* 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 10:15:55 +0000 (0:00:00.028) 0:00:11.527 ********* 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 10:15:55 +0000 (0:00:00.057) 0:00:11.584 ********* 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 10:15:55 +0000 (0:00:00.024) 0:00:11.608 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": [ { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=07d102e4-1b81-456a-9889-35b50bd01035", "state": "present" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=07d102e4-1b81-456a-9889-35b50bd01035", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 10:15:56 +0000 (0:00:01.700) 0:00:13.309 ********* 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 10:15:56 +0000 (0:00:00.036) 0:00:13.345 ********* 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 10:15:56 +0000 (0:00:00.020) 0:00:13.366 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": [ { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=07d102e4-1b81-456a-9889-35b50bd01035", "state": "present" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=07d102e4-1b81-456a-9889-35b50bd01035", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 10:15:56 +0000 (0:00:00.036) 0:00:13.403 ********* 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 10:15:56 +0000 (0:00:00.035) 0:00:13.438 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=07d102e4-1b81-456a-9889-35b50bd01035", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 10:15:56 +0000 (0:00:00.037) 0:00:13.475 ********* 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 10:15:57 +0000 (0:00:00.035) 0:00:13.511 ********* 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 10:15:57 +0000 (0:00:00.884) 0:00:14.395 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=07d102e4-1b81-456a-9889-35b50bd01035', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=07d102e4-1b81-456a-9889-35b50bd01035", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=07d102e4-1b81-456a-9889-35b50bd01035" } 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 10:15:58 +0000 (0:00:00.506) 0:00:14.901 ********* 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 10:15:59 +0000 (0:00:00.668) 0:00:15.570 ********* 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 10:15:59 +0000 (0:00:00.361) 0:00:15.932 ********* 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 10:15:59 +0000 (0:00:00.023) 0:00:15.955 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_swap.yml:35 Thursday 21 July 2022 10:16:00 +0000 (0:00:01.033) 0:00:16.989 ********* 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 10:16:00 +0000 (0:00:00.069) 0:00:17.058 ********* 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 10:16:00 +0000 (0:00:00.040) 0:00:17.098 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=07d102e4-1b81-456a-9889-35b50bd01035", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 10:16:00 +0000 (0:00:00.052) 0:00:17.151 ********* 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": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "07d102e4-1b81-456a-9889-35b50bd01035" }, "/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-10-15-30-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 10:16:01 +0000 (0:00:00.464) 0:00:17.616 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002731", "end": "2022-07-21 06:16:01.795771", "rc": 0, "start": "2022-07-21 06:16:01.793040" } 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=07d102e4-1b81-456a-9889-35b50bd01035 none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 10:16:01 +0000 (0:00:00.450) 0:00:18.066 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004151", "end": "2022-07-21 06:16:03.154739", "failed_when_result": false, "rc": 1, "start": "2022-07-21 06:16:02.150588" } 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 10:16:02 +0000 (0:00:01.362) 0:00:19.429 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 10:16:02 +0000 (0:00:00.023) 0:00:19.452 ********* 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': 'swap', 'mount_options': 'defaults', 'mount_point': None, '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': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=07d102e4-1b81-456a-9889-35b50bd01035', '_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 10:16:03 +0000 (0:00:00.059) 0:00:19.512 ********* 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 10:16:03 +0000 (0:00:00.050) 0:00:19.562 ********* 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 10:16:03 +0000 (0:00:00.077) 0:00:19.640 ********* 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 10:16:03 +0000 (0:00:00.038) 0:00:19.679 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "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 10:16:03 +0000 (0:00:00.080) 0:00:19.759 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 10:16:03 +0000 (0:00:00.023) 0:00:19.783 ********* 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 10:16:03 +0000 (0:00:00.048) 0:00:19.832 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 10:16:03 +0000 (0:00:00.035) 0:00:19.867 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.003617", "end": "2022-07-21 06:16:03.996078", "rc": 0, "start": "2022-07-21 06:16:03.992461" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 10:16:03 +0000 (0:00:00.399) 0:00:20.267 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.002764", "end": "2022-07-21 06:16:04.397873", "rc": 0, "start": "2022-07-21 06:16:04.395109" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 10:16:04 +0000 (0:00:00.403) 0:00:20.671 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 10:16:04 +0000 (0:00:00.051) 0:00:20.722 ********* 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 10:16:04 +0000 (0:00:00.043) 0:00:20.765 ********* 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": "0", "storage_test_fstab_id_matches": [ "UUID=07d102e4-1b81-456a-9889-35b50bd01035 " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 10:16:04 +0000 (0:00:00.069) 0:00:20.834 ********* 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 10:16:04 +0000 (0:00:00.051) 0:00:20.885 ********* 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 10:16:04 +0000 (0:00:00.053) 0:00:20.939 ********* 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 10:16:04 +0000 (0:00:00.041) 0:00:20.980 ********* 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 10:16:04 +0000 (0:00:00.035) 0:00:21.015 ********* 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 10:16:04 +0000 (0:00:00.040) 0:00:21.055 ********* 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 10:16:04 +0000 (0:00:00.042) 0:00:21.098 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658398556.9861903, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658398556.9631903, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 360, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658398556.9631903, "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 10:16:04 +0000 (0:00:00.385) 0:00:21.484 ********* 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 10:16:05 +0000 (0:00:00.040) 0:00:21.524 ********* 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 10:16:05 +0000 (0:00:00.041) 0:00:21.566 ********* 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 10:16:05 +0000 (0:00:00.041) 0:00:21.607 ********* 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 10:16:05 +0000 (0:00:00.026) 0:00:21.633 ********* 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 10:16:05 +0000 (0:00:00.040) 0:00:21.674 ********* 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 10:16:05 +0000 (0:00:00.025) 0:00:21.699 ********* 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 10:16:06 +0000 (0:00:00.942) 0:00:22.641 ********* 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 10:16:06 +0000 (0:00:00.026) 0:00:22.668 ********* 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 10:16:06 +0000 (0:00:00.024) 0:00:22.693 ********* 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 10:16:06 +0000 (0:00:00.055) 0:00:22.748 ********* 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 10:16:06 +0000 (0:00:00.026) 0:00:22.774 ********* 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 10:16:06 +0000 (0:00:00.025) 0:00:22.800 ********* 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 10:16:06 +0000 (0:00:00.025) 0:00:22.825 ********* 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 10:16:06 +0000 (0:00:00.025) 0:00:22.851 ********* 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 10:16:06 +0000 (0:00:00.027) 0:00:22.878 ********* 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 10:16:06 +0000 (0:00:00.086) 0:00:22.964 ********* 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 10:16:06 +0000 (0:00:00.083) 0:00:23.048 ********* 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 10:16:06 +0000 (0:00:00.040) 0:00:23.088 ********* 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 10:16:06 +0000 (0:00:00.039) 0:00:23.128 ********* 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 10:16:06 +0000 (0:00:00.037) 0:00:23.165 ********* 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 10:16:06 +0000 (0:00:00.072) 0:00:23.237 ********* 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 10:16:06 +0000 (0:00:00.074) 0:00:23.312 ********* 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 10:16:06 +0000 (0:00:00.038) 0:00:23.350 ********* 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 10:16:06 +0000 (0:00:00.038) 0:00:23.389 ********* 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 10:16:06 +0000 (0:00:00.039) 0:00:23.428 ********* 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 10:16:06 +0000 (0:00:00.038) 0:00:23.466 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 10:16:07 +0000 (0:00:00.038) 0:00:23.504 ********* 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 10:16:07 +0000 (0:00:00.037) 0:00:23.542 ********* 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 10:16:07 +0000 (0:00:00.027) 0:00:23.570 ********* 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 10:16:07 +0000 (0:00:00.040) 0:00:23.610 ********* 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 10:16:07 +0000 (0:00:00.038) 0:00:23.649 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 10:16:07 +0000 (0:00:00.037) 0:00:23.686 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 10:16:07 +0000 (0:00:00.039) 0:00:23.726 ********* 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 10:16:07 +0000 (0:00:00.038) 0:00:23.765 ********* 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 10:16:07 +0000 (0:00:00.037) 0:00:23.802 ********* 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 10:16:07 +0000 (0:00:00.038) 0:00:23.840 ********* 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 10:16:07 +0000 (0:00:00.039) 0:00:23.880 ********* 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 10:16:07 +0000 (0:00:00.037) 0:00:23.917 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 10:16:07 +0000 (0:00:00.038) 0:00:23.956 ********* 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 10:16:07 +0000 (0:00:00.025) 0:00:23.982 ********* 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 10:16:07 +0000 (0:00:00.028) 0:00:24.010 ********* 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 10:16:07 +0000 (0:00:00.028) 0:00:24.038 ********* 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 10:16:07 +0000 (0:00:00.036) 0:00:24.075 ********* 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 10:16:07 +0000 (0:00:00.027) 0:00:24.102 ********* 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 10:16:07 +0000 (0:00:00.026) 0:00:24.129 ********* 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 10:16:07 +0000 (0:00:00.024) 0:00:24.153 ********* 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 10:16:07 +0000 (0:00:00.023) 0:00:24.177 ********* 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 10:16:07 +0000 (0:00:00.035) 0:00:24.212 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Format second disk as ext3] ********************************************** task path: /tmp/tmpsvhdx31t/tests/tests_swap.yml:37 Thursday 21 July 2022 10:16:07 +0000 (0:00:00.036) 0:00:24.249 ********* 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 10:16:07 +0000 (0:00:00.049) 0:00:24.298 ********* 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 10:16:07 +0000 (0:00:00.035) 0:00:24.334 ********* 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 10:16:08 +0000 (0:00:00.532) 0:00:24.866 ********* 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 10:16:08 +0000 (0:00:00.105) 0:00:24.971 ********* 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 10:16:08 +0000 (0:00:00.111) 0:00:25.083 ********* 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 10:16:08 +0000 (0:00:00.033) 0:00:25.116 ********* 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 10:16:08 +0000 (0:00:00.045) 0:00:25.162 ********* 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 10:16:08 +0000 (0:00:00.022) 0:00:25.185 ********* 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 10:16:08 +0000 (0:00:00.034) 0:00:25.219 ********* 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 10:16:08 +0000 (0:00:00.038) 0:00:25.258 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sdb" ], "fs_type": "ext3", "mount_point": "none", "name": "test2", "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 10:16:08 +0000 (0:00:00.052) 0:00:25.310 ********* 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 10:16:08 +0000 (0:00:00.033) 0:00:25.343 ********* 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 10:16:08 +0000 (0:00:00.029) 0:00:25.373 ********* 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 10:16:08 +0000 (0:00:00.028) 0:00:25.402 ********* 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 10:16:08 +0000 (0:00:00.028) 0:00:25.430 ********* 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 10:16:09 +0000 (0:00:00.069) 0:00:25.500 ********* 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 10:16:09 +0000 (0:00:00.025) 0:00:25.525 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "ext3" } ], "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": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=6f9f368c-a5b7-4c81-aac8-d0f1762ed5ca", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "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": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 10:16:10 +0000 (0:00:01.852) 0:00:27.377 ********* 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 10:16:10 +0000 (0:00:00.036) 0:00:27.414 ********* 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 10:16:10 +0000 (0:00:00.021) 0:00:27.436 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "ext3" } ], "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": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=6f9f368c-a5b7-4c81-aac8-d0f1762ed5ca", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "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": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 10:16:10 +0000 (0:00:00.036) 0:00:27.472 ********* 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 10:16:11 +0000 (0:00:00.036) 0:00:27.509 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=6f9f368c-a5b7-4c81-aac8-d0f1762ed5ca", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "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": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 10:16:11 +0000 (0:00:00.039) 0:00:27.549 ********* 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 10:16:11 +0000 (0:00:00.040) 0:00:27.589 ********* 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 10:16:11 +0000 (0:00:00.023) 0:00:27.613 ********* 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 10:16:11 +0000 (0:00:00.034) 0:00:27.648 ********* 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 10:16:11 +0000 (0:00:00.024) 0:00:27.672 ********* 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 10:16:11 +0000 (0:00:00.371) 0:00:28.043 ********* 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 10:16:11 +0000 (0:00:00.023) 0:00:28.067 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_swap.yml:48 Thursday 21 July 2022 10:16:12 +0000 (0:00:01.020) 0:00:29.088 ********* 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 10:16:12 +0000 (0:00:00.044) 0:00:29.132 ********* 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 10:16:12 +0000 (0:00:00.042) 0:00:29.174 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=6f9f368c-a5b7-4c81-aac8-d0f1762ed5ca", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "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": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 10:16:12 +0000 (0:00:00.085) 0:00:29.260 ********* 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": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "07d102e4-1b81-456a-9889-35b50bd01035" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "6f9f368c-a5b7-4c81-aac8-d0f1762ed5ca" }, "/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-10-15-30-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 10:16:13 +0000 (0:00:00.433) 0:00:29.693 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003185", "end": "2022-07-21 06:16:13.819726", "rc": 0, "start": "2022-07-21 06:16:13.816541" } 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=07d102e4-1b81-456a-9889-35b50bd01035 none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 10:16:13 +0000 (0:00:00.403) 0:00:30.096 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002565", "end": "2022-07-21 06:16:14.212523", "failed_when_result": false, "rc": 1, "start": "2022-07-21 06:16:14.209958" } 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 10:16:14 +0000 (0:00:00.393) 0:00:30.490 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 10:16:14 +0000 (0:00:00.024) 0:00:30.514 ********* 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': 'ext3', 'mount_options': 'defaults', 'mount_point': 'none', 'name': 'test2', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sdb'], '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/sdb', '_raw_device': '/dev/sdb', '_mount_id': 'UUID=6f9f368c-a5b7-4c81-aac8-d0f1762ed5ca', '_kernel_device': '/dev/sdb', '_raw_kernel_device': '/dev/sdb'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 10:16:14 +0000 (0:00:00.058) 0:00:30.573 ********* 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 10:16:14 +0000 (0:00:00.048) 0:00:30.621 ********* 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 10:16:14 +0000 (0:00:00.074) 0:00:30.696 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 10:16:14 +0000 (0:00:00.045) 0:00:30.741 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 10:16:14 +0000 (0:00:00.055) 0:00:30.796 ********* 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 10:16:14 +0000 (0:00:00.056) 0:00:30.853 ********* 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 10:16:14 +0000 (0:00:00.051) 0:00:30.905 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 10:16:14 +0000 (0:00:00.038) 0:00:30.943 ********* 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 10:16:14 +0000 (0:00:00.024) 0:00:30.968 ********* 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 10:16:14 +0000 (0:00:00.023) 0:00:30.991 ********* 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 10:16:14 +0000 (0:00:00.026) 0:00:31.018 ********* 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 10:16:14 +0000 (0:00:00.034) 0:00:31.053 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 10:16:14 +0000 (0:00:00.060) 0:00:31.113 ********* 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 10:16:14 +0000 (0:00:00.050) 0:00:31.163 ********* 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 10:16:14 +0000 (0:00:00.054) 0:00:31.218 ********* 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 10:16:14 +0000 (0:00:00.036) 0:00:31.255 ********* 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 10:16:14 +0000 (0:00:00.034) 0:00:31.290 ********* 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 10:16:14 +0000 (0:00:00.039) 0:00:31.329 ********* 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 10:16:14 +0000 (0:00:00.037) 0:00:31.367 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658398571.0391903, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658398571.0391903, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 354, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658398571.0391903, "nlink": 1, "path": "/dev/sdb", "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 10:16:15 +0000 (0:00:00.402) 0:00:31.770 ********* 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 10:16:15 +0000 (0:00:00.039) 0:00:31.809 ********* 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 10:16:15 +0000 (0:00:00.041) 0:00:31.851 ********* 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 10:16:15 +0000 (0:00:00.038) 0:00:31.889 ********* 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 10:16:15 +0000 (0:00:00.025) 0:00:31.915 ********* 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 10:16:15 +0000 (0:00:00.040) 0:00:31.955 ********* 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 10:16:15 +0000 (0:00:00.026) 0:00:31.981 ********* 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 10:16:16 +0000 (0:00:00.869) 0:00:32.850 ********* 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 10:16:16 +0000 (0:00:00.025) 0:00:32.876 ********* 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 10:16:16 +0000 (0:00:00.024) 0:00:32.900 ********* 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 10:16:16 +0000 (0:00:00.051) 0:00:32.952 ********* 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 10:16:16 +0000 (0:00:00.027) 0:00:32.979 ********* 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 10:16:16 +0000 (0:00:00.024) 0:00:33.004 ********* 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 10:16:16 +0000 (0:00:00.023) 0:00:33.027 ********* 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 10:16:16 +0000 (0:00:00.022) 0:00:33.050 ********* 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 10:16:16 +0000 (0:00:00.023) 0:00:33.074 ********* 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 10:16:16 +0000 (0:00:00.047) 0:00:33.121 ********* 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 10:16:16 +0000 (0:00:00.047) 0:00:33.168 ********* 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 10:16:16 +0000 (0:00:00.035) 0:00:33.204 ********* 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 10:16:16 +0000 (0:00:00.034) 0:00:33.239 ********* 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 10:16:16 +0000 (0:00:00.036) 0:00:33.276 ********* 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 10:16:16 +0000 (0:00:00.042) 0:00:33.318 ********* 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 10:16:16 +0000 (0:00:00.047) 0:00:33.366 ********* 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 10:16:16 +0000 (0:00:00.037) 0:00:33.404 ********* 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 10:16:16 +0000 (0:00:00.036) 0:00:33.440 ********* 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 10:16:16 +0000 (0:00:00.035) 0:00:33.476 ********* 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 10:16:17 +0000 (0:00:00.041) 0:00:33.518 ********* 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 10:16:17 +0000 (0:00:00.042) 0:00:33.560 ********* 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 10:16:17 +0000 (0:00:00.037) 0:00:33.597 ********* 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 10:16:17 +0000 (0:00:00.023) 0:00:33.621 ********* 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 10:16:17 +0000 (0:00:00.036) 0:00:33.657 ********* 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 10:16:17 +0000 (0:00:00.081) 0:00:33.738 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 10:16:17 +0000 (0:00:00.035) 0:00:33.774 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 10:16:17 +0000 (0:00:00.035) 0:00:33.810 ********* 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 10:16:17 +0000 (0:00:00.036) 0:00:33.846 ********* 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 10:16:17 +0000 (0:00:00.035) 0:00:33.882 ********* 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 10:16:17 +0000 (0:00:00.034) 0:00:33.916 ********* 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 10:16:17 +0000 (0:00:00.035) 0:00:33.952 ********* 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 10:16:17 +0000 (0:00:00.036) 0:00:33.988 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 10:16:17 +0000 (0:00:00.033) 0:00:34.021 ********* 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 10:16:17 +0000 (0:00:00.023) 0:00:34.045 ********* 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 10:16:17 +0000 (0:00:00.022) 0:00:34.068 ********* 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 10:16:17 +0000 (0:00:00.027) 0:00:34.095 ********* 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 10:16:17 +0000 (0:00:00.024) 0:00:34.120 ********* 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 10:16:17 +0000 (0:00:00.023) 0:00:34.144 ********* 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 10:16:17 +0000 (0:00:00.023) 0:00:34.167 ********* 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 10:16:17 +0000 (0:00:00.024) 0:00:34.192 ********* 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 10:16:17 +0000 (0:00:00.023) 0:00:34.215 ********* 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 10:16:17 +0000 (0:00:00.033) 0:00:34.249 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the disk device file system type to ext3] ************************* task path: /tmp/tmpsvhdx31t/tests/tests_swap.yml:50 Thursday 21 July 2022 10:16:17 +0000 (0:00:00.037) 0:00:34.286 ********* 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 10:16:17 +0000 (0:00:00.058) 0:00:34.345 ********* 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 10:16:17 +0000 (0:00:00.038) 0:00:34.384 ********* 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 10:16:18 +0000 (0:00:00.527) 0:00:34.912 ********* 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 10:16:18 +0000 (0:00:00.062) 0:00:34.974 ********* 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 10:16:18 +0000 (0:00:00.035) 0:00:35.010 ********* 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 10:16:18 +0000 (0:00:00.037) 0:00:35.047 ********* 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 10:16:18 +0000 (0:00:00.048) 0:00:35.096 ********* 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 10:16:18 +0000 (0:00:00.022) 0:00:35.118 ********* 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 10:16:18 +0000 (0:00:00.029) 0:00:35.148 ********* 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 10:16:18 +0000 (0:00:00.039) 0:00:35.187 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "mount_point": "/opt/test", "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 10:16:18 +0000 (0:00:00.038) 0:00:35.226 ********* 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 10:16:18 +0000 (0:00:00.029) 0:00:35.256 ********* 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 10:16:18 +0000 (0:00:00.028) 0:00:35.285 ********* 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 10:16:18 +0000 (0:00:00.068) 0:00:35.353 ********* 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 10:16:18 +0000 (0:00:00.031) 0:00:35.384 ********* 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 10:16:18 +0000 (0:00:00.060) 0:00:35.445 ********* 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 10:16:18 +0000 (0:00:00.023) 0:00:35.469 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext3" } ], "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": "swap", "path": "none", "src": "UUID=07d102e4-1b81-456a-9889-35b50bd01035", "state": "absent" }, { "fstype": "swap", "path": "none", "src": "UUID=07d102e4-1b81-456a-9889-35b50bd01035", "state": "absent" }, { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 10:16:20 +0000 (0:00:01.919) 0:00:37.388 ********* 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 10:16:20 +0000 (0:00:00.041) 0:00:37.430 ********* 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 10:16:20 +0000 (0:00:00.023) 0:00:37.454 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext3" } ], "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": "swap", "path": "none", "src": "UUID=07d102e4-1b81-456a-9889-35b50bd01035", "state": "absent" }, { "fstype": "swap", "path": "none", "src": "UUID=07d102e4-1b81-456a-9889-35b50bd01035", "state": "absent" }, { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 10:16:21 +0000 (0:00:00.043) 0:00:37.498 ********* 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 10:16:21 +0000 (0:00:00.038) 0:00:37.536 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 10:16:21 +0000 (0:00:00.039) 0:00:37.576 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=07d102e4-1b81-456a-9889-35b50bd01035', 'path': 'none', 'state': 'absent', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=07d102e4-1b81-456a-9889-35b50bd01035", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=07d102e4-1b81-456a-9889-35b50bd01035" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=07d102e4-1b81-456a-9889-35b50bd01035', 'fstype': 'swap', 'path': 'none', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=07d102e4-1b81-456a-9889-35b50bd01035", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=07d102e4-1b81-456a-9889-35b50bd01035" } 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 10:16:21 +0000 (0:00:00.758) 0:00:38.334 ********* 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 10:16:22 +0000 (0:00:00.691) 0:00:39.025 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9', 'path': '/opt/test', 'fstype': 'ext3', '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": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9" } 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 10:16:22 +0000 (0:00:00.419) 0:00:39.445 ********* 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 10:16:23 +0000 (0:00:00.676) 0:00:40.121 ********* 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 10:16:24 +0000 (0:00:00.368) 0:00:40.490 ********* 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 10:16:24 +0000 (0:00:00.025) 0:00:40.516 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_swap.yml:61 Thursday 21 July 2022 10:16:25 +0000 (0:00:00.995) 0:00:41.511 ********* 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 10:16:25 +0000 (0:00:00.045) 0:00:41.557 ********* 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 10:16:25 +0000 (0:00:00.035) 0:00:41.593 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 10:16:25 +0000 (0:00:00.122) 0:00:41.715 ********* 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": "ext3", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "2cbec5d7-a9c5-4ce4-b517-540d1c8293a9" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "6f9f368c-a5b7-4c81-aac8-d0f1762ed5ca" }, "/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-10-15-30-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 10:16:25 +0000 (0:00:00.379) 0:00:42.094 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002487", "end": "2022-07-21 06:16:26.189444", "rc": 0, "start": "2022-07-21 06:16:26.186957" } 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=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9 /opt/test ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 10:16:25 +0000 (0:00:00.367) 0:00:42.462 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002700", "end": "2022-07-21 06:16:26.557832", "failed_when_result": false, "rc": 1, "start": "2022-07-21 06:16:26.555132" } 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 10:16:26 +0000 (0:00:00.369) 0:00:42.831 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 10:16:26 +0000 (0:00:00.022) 0:00:42.855 ********* 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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test', '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': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9', '_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 10:16:26 +0000 (0:00:00.060) 0:00:42.915 ********* 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 10:16:26 +0000 (0:00:00.050) 0:00:42.965 ********* 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 10:16:26 +0000 (0:00:00.069) 0:00:43.035 ********* 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 10:16:26 +0000 (0:00:00.042) 0:00:43.078 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2558167, "block_used": 131095, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10478252032, "uuid": "2cbec5d7-a9c5-4ce4-b517-540d1c8293a9" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2558167, "block_used": 131095, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10478252032, "uuid": "2cbec5d7-a9c5-4ce4-b517-540d1c8293a9" } ], "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 10:16:26 +0000 (0:00:00.058) 0:00:43.136 ********* 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 10:16:26 +0000 (0:00:00.052) 0:00:43.189 ********* 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 10:16:26 +0000 (0:00:00.049) 0:00:43.238 ********* 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 10:16:26 +0000 (0:00:00.053) 0:00:43.292 ********* 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 10:16:26 +0000 (0:00:00.026) 0:00:43.319 ********* 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 10:16:26 +0000 (0:00:00.025) 0:00:43.344 ********* 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 10:16:26 +0000 (0:00:00.025) 0:00:43.369 ********* 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 10:16:26 +0000 (0:00:00.037) 0:00:43.406 ********* 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=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "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 10:16:26 +0000 (0:00:00.062) 0:00:43.468 ********* 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 10:16:27 +0000 (0:00:00.050) 0:00:43.519 ********* 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 10:16:27 +0000 (0:00:00.050) 0:00:43.569 ********* 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 10:16:27 +0000 (0:00:00.038) 0:00:43.608 ********* 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 10:16:27 +0000 (0:00:00.033) 0:00:43.642 ********* 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 10:16:27 +0000 (0:00:00.075) 0:00:43.717 ********* 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 10:16:27 +0000 (0:00:00.041) 0:00:43.759 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658398581.0471904, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658398581.0471904, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 360, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658398581.0471904, "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 10:16:27 +0000 (0:00:00.377) 0:00:44.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/tmpsvhdx31t/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 10:16:27 +0000 (0:00:00.095) 0:00:44.232 ********* 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 10:16:27 +0000 (0:00:00.122) 0:00:44.355 ********* 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 10:16:27 +0000 (0:00:00.036) 0:00:44.391 ********* 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 10:16:27 +0000 (0:00:00.023) 0:00:44.415 ********* 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 10:16:27 +0000 (0:00:00.038) 0:00:44.454 ********* 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 10:16:27 +0000 (0:00:00.024) 0:00:44.478 ********* 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 10:16:28 +0000 (0:00:00.935) 0:00:45.414 ********* 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 10:16:28 +0000 (0:00:00.024) 0:00:45.438 ********* 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 10:16:28 +0000 (0:00:00.023) 0:00:45.462 ********* 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 10:16:29 +0000 (0:00:00.049) 0:00:45.511 ********* 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 10:16:29 +0000 (0:00:00.024) 0:00:45.536 ********* 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 10:16:29 +0000 (0:00:00.025) 0:00:45.561 ********* 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 10:16:29 +0000 (0:00:00.026) 0:00:45.588 ********* 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 10:16:29 +0000 (0:00:00.023) 0:00:45.612 ********* 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 10:16:29 +0000 (0:00:00.023) 0:00:45.635 ********* 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 10:16:29 +0000 (0:00:00.049) 0:00:45.685 ********* 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 10:16:29 +0000 (0:00:00.049) 0:00:45.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/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 10:16:29 +0000 (0:00:00.034) 0:00:45.769 ********* 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 10:16:29 +0000 (0:00:00.037) 0:00:45.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-encryption.yml:97 Thursday 21 July 2022 10:16:29 +0000 (0:00:00.035) 0:00:45.842 ********* 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 10:16:29 +0000 (0:00:00.036) 0:00:45.879 ********* 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 10:16:29 +0000 (0:00:00.035) 0:00:45.914 ********* 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 10:16:29 +0000 (0:00:00.034) 0:00:45.949 ********* 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 10:16:29 +0000 (0:00:00.034) 0:00:45.984 ********* 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 10:16:29 +0000 (0:00:00.040) 0:00:46.024 ********* 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 10:16:29 +0000 (0:00:00.036) 0:00:46.061 ********* 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 10:16:29 +0000 (0:00:00.036) 0:00:46.098 ********* 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 10:16:29 +0000 (0:00:00.038) 0:00:46.137 ********* 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 10:16:29 +0000 (0:00:00.027) 0:00:46.165 ********* 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 10:16:29 +0000 (0:00:00.037) 0:00:46.202 ********* 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 10:16:29 +0000 (0:00:00.037) 0:00:46.240 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 10:16:29 +0000 (0:00:00.038) 0:00:46.278 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 10:16:29 +0000 (0:00:00.041) 0:00:46.319 ********* 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 10:16:29 +0000 (0:00:00.038) 0:00:46.358 ********* 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 10:16:29 +0000 (0:00:00.036) 0:00:46.395 ********* 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 10:16:29 +0000 (0:00:00.035) 0:00:46.430 ********* 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 10:16:29 +0000 (0:00:00.039) 0:00:46.470 ********* 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 10:16:30 +0000 (0:00:00.037) 0:00:46.508 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 10:16:30 +0000 (0:00:00.066) 0:00:46.574 ********* 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 10:16:30 +0000 (0:00:00.027) 0:00:46.602 ********* 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 10:16:30 +0000 (0:00:00.025) 0:00:46.627 ********* 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 10:16:30 +0000 (0:00:00.025) 0:00:46.653 ********* 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 10:16:30 +0000 (0:00:00.025) 0:00:46.679 ********* 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 10:16:30 +0000 (0:00:00.027) 0:00:46.707 ********* 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 10:16:30 +0000 (0:00:00.054) 0:00:46.761 ********* 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 10:16:30 +0000 (0:00:00.025) 0:00:46.787 ********* 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 10:16:30 +0000 (0:00:00.023) 0:00:46.810 ********* 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 10:16:30 +0000 (0:00:00.033) 0:00:46.844 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpsvhdx31t/tests/tests_swap.yml:63 Thursday 21 July 2022 10:16:30 +0000 (0:00:00.036) 0:00:46.880 ********* 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 10:16:30 +0000 (0:00:00.056) 0:00:46.936 ********* 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 10:16:30 +0000 (0:00:00.045) 0:00:46.981 ********* 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 10:16:31 +0000 (0:00:00.532) 0:00:47.514 ********* 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 10:16:31 +0000 (0:00:00.068) 0:00:47.583 ********* 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 10:16:31 +0000 (0:00:00.039) 0:00:47.622 ********* 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 10:16:31 +0000 (0:00:00.036) 0:00:47.658 ********* 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 10:16:31 +0000 (0:00:00.046) 0:00:47.705 ********* 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 10:16:31 +0000 (0:00:00.022) 0:00:47.728 ********* 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 10:16:31 +0000 (0:00:00.029) 0:00:47.758 ********* 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 10:16:31 +0000 (0:00:00.038) 0:00:47.796 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "mount_point": "/opt/test", "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 10:16:31 +0000 (0:00:00.037) 0:00:47.833 ********* 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 10:16:31 +0000 (0:00:00.031) 0:00:47.865 ********* 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 10:16:31 +0000 (0:00:00.032) 0:00:47.898 ********* 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 10:16:31 +0000 (0:00:00.029) 0:00:47.927 ********* 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 10:16:31 +0000 (0:00:00.030) 0:00:47.957 ********* 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 10:16:31 +0000 (0:00:00.061) 0:00:48.019 ********* 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 10:16:31 +0000 (0:00:00.022) 0:00:48.041 ********* ok: [/cache/rhel-9.qcow2.snap] => { "actions": [], "changed": false, "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": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 10:16:32 +0000 (0:00:01.388) 0:00:49.430 ********* 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 10:16:32 +0000 (0:00:00.040) 0:00:49.470 ********* 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 10:16:33 +0000 (0:00:00.021) 0:00:49.491 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 10:16:33 +0000 (0:00:00.040) 0:00:49.531 ********* 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 10:16:33 +0000 (0:00:00.037) 0:00:49.569 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 10:16:33 +0000 (0:00:00.037) 0:00:49.607 ********* 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 10:16:33 +0000 (0:00:00.036) 0:00:49.643 ********* 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 10:16:33 +0000 (0:00:00.680) 0:00:50.324 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9', 'path': '/opt/test', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9" } 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 10:16:34 +0000 (0:00:00.403) 0:00:50.727 ********* 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 10:16:34 +0000 (0:00:00.685) 0:00:51.412 ********* 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 10:16:35 +0000 (0:00:00.375) 0:00:51.788 ********* 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 10:16:35 +0000 (0:00:00.025) 0:00:51.813 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_swap.yml:74 Thursday 21 July 2022 10:16:36 +0000 (0:00:01.001) 0:00:52.815 ********* 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 10:16:36 +0000 (0:00:00.049) 0:00:52.864 ********* 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 10:16:36 +0000 (0:00:00.037) 0:00:52.901 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 10:16:36 +0000 (0:00:00.081) 0:00:52.983 ********* 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": "ext3", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "2cbec5d7-a9c5-4ce4-b517-540d1c8293a9" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "6f9f368c-a5b7-4c81-aac8-d0f1762ed5ca" }, "/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-10-15-30-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 10:16:36 +0000 (0:00:00.412) 0:00:53.395 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002451", "end": "2022-07-21 06:16:37.491991", "rc": 0, "start": "2022-07-21 06:16:37.489540" } 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=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9 /opt/test ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 10:16:37 +0000 (0:00:00.371) 0:00:53.767 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002529", "end": "2022-07-21 06:16:37.858221", "failed_when_result": false, "rc": 1, "start": "2022-07-21 06:16:37.855692" } 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 10:16:37 +0000 (0:00:00.368) 0:00:54.135 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 10:16:37 +0000 (0:00:00.027) 0:00:54.163 ********* 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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test', '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': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9', '_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 10:16:37 +0000 (0:00:00.062) 0:00:54.225 ********* 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 10:16:37 +0000 (0:00:00.049) 0:00:54.274 ********* 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 10:16:37 +0000 (0:00:00.075) 0:00:54.349 ********* 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 10:16:37 +0000 (0:00:00.042) 0:00:54.391 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2558167, "block_used": 131095, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10478252032, "uuid": "2cbec5d7-a9c5-4ce4-b517-540d1c8293a9" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2558167, "block_used": 131095, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10478252032, "uuid": "2cbec5d7-a9c5-4ce4-b517-540d1c8293a9" } ], "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 10:16:37 +0000 (0:00:00.058) 0:00:54.450 ********* 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 10:16:38 +0000 (0:00:00.052) 0:00:54.503 ********* 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 10:16:38 +0000 (0:00:00.048) 0:00:54.552 ********* 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 10:16:38 +0000 (0:00:00.053) 0:00:54.605 ********* 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 10:16:38 +0000 (0:00:00.026) 0:00:54.631 ********* 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 10:16:38 +0000 (0:00:00.026) 0:00:54.658 ********* 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 10:16:38 +0000 (0:00:00.025) 0:00:54.684 ********* 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 10:16:38 +0000 (0:00:00.037) 0:00:54.721 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "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 10:16:38 +0000 (0:00:00.067) 0:00:54.789 ********* 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 10:16:38 +0000 (0:00:00.053) 0:00:54.843 ********* 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 10:16:38 +0000 (0:00:00.050) 0:00:54.894 ********* 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 10:16:38 +0000 (0:00:00.040) 0:00:54.934 ********* 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 10:16:38 +0000 (0:00:00.035) 0:00:54.970 ********* 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 10:16:38 +0000 (0:00:00.039) 0:00:55.009 ********* 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 10:16:38 +0000 (0:00:00.040) 0:00:55.050 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658398581.0471904, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658398581.0471904, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 360, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658398581.0471904, "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 10:16:38 +0000 (0:00:00.376) 0:00:55.427 ********* 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 10:16:39 +0000 (0:00:00.083) 0:00:55.510 ********* 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 10:16:39 +0000 (0:00:00.081) 0:00:55.592 ********* 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 10:16:39 +0000 (0:00:00.036) 0:00:55.629 ********* 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 10:16:39 +0000 (0:00:00.023) 0:00:55.652 ********* 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 10:16:39 +0000 (0:00:00.080) 0:00:55.733 ********* 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 10:16:39 +0000 (0:00:00.055) 0:00:55.789 ********* 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 10:16:40 +0000 (0:00:00.896) 0:00:56.685 ********* 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 10:16:40 +0000 (0:00:00.024) 0:00:56.710 ********* 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 10:16:40 +0000 (0:00:00.025) 0:00:56.735 ********* 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 10:16:40 +0000 (0:00:00.055) 0:00:56.790 ********* 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 10:16:40 +0000 (0:00:00.023) 0:00:56.814 ********* 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 10:16:40 +0000 (0:00:00.025) 0:00:56.839 ********* 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 10:16:40 +0000 (0:00:00.024) 0:00:56.863 ********* 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 10:16:40 +0000 (0:00:00.026) 0:00:56.889 ********* 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 10:16:40 +0000 (0:00:00.026) 0:00:56.916 ********* 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 10:16:40 +0000 (0:00:00.051) 0:00:56.968 ********* 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 10:16:40 +0000 (0:00:00.052) 0:00:57.020 ********* 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 10:16:40 +0000 (0:00:00.038) 0:00:57.059 ********* 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 10:16:40 +0000 (0:00:00.037) 0:00:57.097 ********* 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 10:16:40 +0000 (0:00:00.035) 0:00:57.132 ********* 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 10:16:40 +0000 (0:00:00.037) 0:00:57.170 ********* 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 10:16:40 +0000 (0:00:00.039) 0:00:57.209 ********* 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 10:16:40 +0000 (0:00:00.039) 0:00:57.249 ********* 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 10:16:40 +0000 (0:00:00.035) 0:00:57.284 ********* 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 10:16:40 +0000 (0:00:00.038) 0:00:57.323 ********* 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 10:16:40 +0000 (0:00:00.037) 0:00:57.360 ********* 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 10:16:40 +0000 (0:00:00.038) 0:00:57.399 ********* 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 10:16:40 +0000 (0:00:00.048) 0:00:57.448 ********* 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 10:16:40 +0000 (0:00:00.030) 0:00:57.478 ********* 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 10:16:41 +0000 (0:00:00.038) 0:00:57.517 ********* 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 10:16:41 +0000 (0:00:00.040) 0:00:57.558 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 10:16:41 +0000 (0:00:00.039) 0:00:57.597 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 10:16:41 +0000 (0:00:00.040) 0:00:57.638 ********* 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 10:16:41 +0000 (0:00:00.041) 0:00:57.679 ********* 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 10:16:41 +0000 (0:00:00.039) 0:00:57.719 ********* 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 10:16:41 +0000 (0:00:00.036) 0:00:57.755 ********* 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 10:16:41 +0000 (0:00:00.036) 0:00:57.792 ********* 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 10:16:41 +0000 (0:00:00.077) 0:00:57.869 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 10:16:41 +0000 (0:00:00.034) 0:00:57.904 ********* 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 10:16:41 +0000 (0:00:00.023) 0:00:57.927 ********* 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 10:16:41 +0000 (0:00:00.023) 0:00:57.950 ********* 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 10:16:41 +0000 (0:00:00.022) 0:00:57.972 ********* 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 10:16:41 +0000 (0:00:00.023) 0:00:57.995 ********* 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 10:16:41 +0000 (0:00:00.025) 0:00:58.021 ********* 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 10:16:41 +0000 (0:00:00.024) 0:00:58.045 ********* 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 10:16:41 +0000 (0:00:00.025) 0:00:58.071 ********* 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 10:16:41 +0000 (0:00:00.026) 0:00:58.097 ********* 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 10:16:41 +0000 (0:00:00.036) 0:00:58.133 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change it back to swap] ************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_swap.yml:76 Thursday 21 July 2022 10:16:41 +0000 (0:00:00.035) 0:00:58.168 ********* 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 10:16:41 +0000 (0:00:00.059) 0:00:58.228 ********* 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 10:16:41 +0000 (0:00:00.037) 0:00:58.265 ********* 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 10:16:42 +0000 (0:00:00.523) 0:00:58.789 ********* 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 10:16:42 +0000 (0:00:00.062) 0:00:58.851 ********* 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 10:16:42 +0000 (0:00:00.036) 0:00:58.888 ********* 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 10:16:42 +0000 (0:00:00.036) 0:00:58.924 ********* 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 10:16:42 +0000 (0:00:00.046) 0:00:58.971 ********* 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 10:16:42 +0000 (0:00:00.021) 0:00:58.992 ********* 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 10:16:42 +0000 (0:00:00.027) 0:00:59.019 ********* 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 10:16:42 +0000 (0:00:00.039) 0:00:59.059 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "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 10:16:42 +0000 (0:00:00.040) 0:00:59.099 ********* 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 10:16:42 +0000 (0:00:00.031) 0:00:59.130 ********* 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 10:16:42 +0000 (0:00:00.028) 0:00:59.158 ********* 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 10:16:42 +0000 (0:00:00.029) 0:00:59.187 ********* 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 10:16:42 +0000 (0:00:00.028) 0:00:59.216 ********* 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 10:16:42 +0000 (0:00:00.060) 0:00:59.276 ********* 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 10:16:42 +0000 (0:00:00.021) 0:00:59.297 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext3" }, { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": "ext3", "path": "/opt/test", "src": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9", "state": "absent" }, { "path": "/opt/test", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "state": "present" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 10:16:44 +0000 (0:00:01.950) 0:01:01.248 ********* 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 10:16:44 +0000 (0:00:00.037) 0:01:01.286 ********* 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 10:16:44 +0000 (0:00:00.024) 0:01:01.310 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext3" }, { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": "ext3", "path": "/opt/test", "src": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9", "state": "absent" }, { "path": "/opt/test", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "state": "present" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 10:16:44 +0000 (0:00:00.039) 0:01:01.350 ********* 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 10:16:44 +0000 (0:00:00.043) 0:01:01.393 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 10:16:44 +0000 (0:00:00.040) 0:01:01.434 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9', 'path': '/opt/test', 'state': 'absent', 'fstype': 'ext3'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "fstype": "ext3", "path": "/opt/test", "src": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=2cbec5d7-a9c5-4ce4-b517-540d1c8293a9" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-9.qcow2.snap] => (item={'path': '/opt/test', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 10:16:45 +0000 (0:00:00.760) 0:01:02.194 ********* 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 10:16:46 +0000 (0:00:00.675) 0:01:02.870 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6" } 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 10:16:46 +0000 (0:00:00.405) 0:01:03.275 ********* 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 10:16:47 +0000 (0:00:00.665) 0:01:03.941 ********* 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 10:16:47 +0000 (0:00:00.375) 0:01:04.316 ********* 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 10:16:47 +0000 (0:00:00.024) 0:01:04.341 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_swap.yml:86 Thursday 21 July 2022 10:16:48 +0000 (0:00:01.008) 0:01:05.350 ********* 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 10:16:48 +0000 (0:00:00.050) 0:01:05.401 ********* 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 10:16:48 +0000 (0:00:00.043) 0:01:05.444 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 10:16:49 +0000 (0:00:00.099) 0:01:05.543 ********* 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": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "9ddc4256-4439-4cd7-bdf8-76bda31189f6" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "6f9f368c-a5b7-4c81-aac8-d0f1762ed5ca" }, "/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-10-15-30-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 10:16:49 +0000 (0:00:00.423) 0:01:05.967 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002921", "end": "2022-07-21 06:16:50.063980", "rc": 0, "start": "2022-07-21 06:16:50.061059" } 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=9ddc4256-4439-4cd7-bdf8-76bda31189f6 none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 10:16:49 +0000 (0:00:00.372) 0:01:06.339 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004507", "end": "2022-07-21 06:16:51.437928", "failed_when_result": false, "rc": 1, "start": "2022-07-21 06:16:50.433421" } 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 10:16:51 +0000 (0:00:01.380) 0:01:07.719 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 10:16:51 +0000 (0:00:00.021) 0:01:07.741 ********* 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': 'swap', 'mount_options': 'defaults', 'mount_point': None, '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': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6', '_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 10:16:51 +0000 (0:00:00.056) 0:01:07.797 ********* 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 10:16:51 +0000 (0:00:00.048) 0:01:07.845 ********* 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 10:16:51 +0000 (0:00:00.072) 0:01:07.918 ********* 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 10:16:51 +0000 (0:00:00.039) 0:01:07.958 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "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 10:16:51 +0000 (0:00:00.054) 0:01:08.012 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 10:16:51 +0000 (0:00:00.025) 0:01:08.037 ********* 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 10:16:51 +0000 (0:00:00.050) 0:01:08.087 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 10:16:51 +0000 (0:00:00.035) 0:01:08.123 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.002930", "end": "2022-07-21 06:16:52.274863", "rc": 0, "start": "2022-07-21 06:16:52.271933" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 10:16:52 +0000 (0:00:00.425) 0:01:08.548 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.002689", "end": "2022-07-21 06:16:52.651190", "rc": 0, "start": "2022-07-21 06:16:52.648501" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 10:16:52 +0000 (0:00:00.376) 0:01:08.925 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 10:16:52 +0000 (0:00:00.081) 0:01:09.007 ********* 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 10:16:52 +0000 (0:00:00.065) 0:01:09.073 ********* 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": "0", "storage_test_fstab_id_matches": [ "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6 " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 10:16:52 +0000 (0:00:00.093) 0:01:09.167 ********* 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 10:16:52 +0000 (0:00:00.082) 0:01:09.249 ********* 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 10:16:52 +0000 (0:00:00.082) 0:01:09.332 ********* 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 10:16:52 +0000 (0:00:00.035) 0:01:09.367 ********* 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 10:16:52 +0000 (0:00:00.032) 0:01:09.400 ********* 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 10:16:52 +0000 (0:00:00.038) 0:01:09.439 ********* 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 10:16:52 +0000 (0:00:00.037) 0:01:09.476 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658398604.9131904, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658398604.8881903, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 360, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658398604.8881903, "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 10:16:53 +0000 (0:00:00.393) 0:01:09.870 ********* 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 10:16:53 +0000 (0:00:00.042) 0:01:09.912 ********* 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 10:16:53 +0000 (0:00:00.040) 0:01:09.952 ********* 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 10:16:53 +0000 (0:00:00.034) 0:01:09.986 ********* 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 10:16:53 +0000 (0:00:00.022) 0:01:10.009 ********* 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 10:16:53 +0000 (0:00:00.038) 0:01:10.048 ********* 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 10:16:53 +0000 (0:00:00.028) 0:01:10.076 ********* 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 10:16:54 +0000 (0:00:00.926) 0:01:11.003 ********* 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 10:16:54 +0000 (0:00:00.026) 0:01:11.030 ********* 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 10:16:54 +0000 (0:00:00.025) 0:01:11.055 ********* 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 10:16:54 +0000 (0:00:00.055) 0:01:11.111 ********* 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 10:16:54 +0000 (0:00:00.025) 0:01:11.136 ********* 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 10:16:54 +0000 (0:00:00.025) 0:01:11.161 ********* 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 10:16:54 +0000 (0:00:00.025) 0:01:11.187 ********* 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 10:16:54 +0000 (0:00:00.026) 0:01:11.214 ********* 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 10:16:54 +0000 (0:00:00.025) 0:01:11.239 ********* 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 10:16:54 +0000 (0:00:00.052) 0:01:11.292 ********* 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 10:16:54 +0000 (0:00:00.050) 0:01:11.343 ********* 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 10:16:54 +0000 (0:00:00.036) 0:01:11.379 ********* 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 10:16:54 +0000 (0:00:00.034) 0:01:11.414 ********* 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 10:16:54 +0000 (0:00:00.033) 0:01:11.447 ********* 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 10:16:54 +0000 (0:00:00.034) 0:01:11.482 ********* 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 10:16:55 +0000 (0:00:00.035) 0:01:11.518 ********* 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 10:16:55 +0000 (0:00:00.035) 0:01:11.553 ********* 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 10:16:55 +0000 (0:00:00.036) 0:01:11.589 ********* 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 10:16:55 +0000 (0:00:00.039) 0:01:11.629 ********* 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 10:16:55 +0000 (0:00:00.037) 0:01:11.667 ********* 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 10:16:55 +0000 (0:00:00.037) 0:01:11.704 ********* 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 10:16:55 +0000 (0:00:00.038) 0:01:11.743 ********* 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 10:16:55 +0000 (0:00:00.025) 0:01:11.769 ********* 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 10:16:55 +0000 (0:00:00.036) 0:01:11.806 ********* 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 10:16:55 +0000 (0:00:00.035) 0:01:11.841 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 10:16:55 +0000 (0:00:00.088) 0:01:11.930 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 10:16:55 +0000 (0:00:00.085) 0:01:12.015 ********* 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 10:16:55 +0000 (0:00:00.038) 0:01:12.054 ********* 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 10:16:55 +0000 (0:00:00.038) 0:01:12.093 ********* 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 10:16:55 +0000 (0:00:00.037) 0:01:12.130 ********* 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 10:16:55 +0000 (0:00:00.037) 0:01:12.167 ********* 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 10:16:55 +0000 (0:00:00.038) 0:01:12.205 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 10:16:55 +0000 (0:00:00.036) 0:01:12.242 ********* 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 10:16:55 +0000 (0:00:00.024) 0:01:12.267 ********* 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 10:16:55 +0000 (0:00:00.024) 0:01:12.292 ********* 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 10:16:55 +0000 (0:00:00.025) 0:01:12.318 ********* 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 10:16:55 +0000 (0:00:00.024) 0:01:12.343 ********* 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 10:16:55 +0000 (0:00:00.025) 0:01:12.368 ********* 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 10:16:55 +0000 (0:00:00.024) 0:01:12.393 ********* 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 10:16:55 +0000 (0:00:00.025) 0:01:12.418 ********* 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 10:16:55 +0000 (0:00:00.024) 0:01:12.443 ********* 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 10:16:55 +0000 (0:00:00.038) 0:01:12.482 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpsvhdx31t/tests/tests_swap.yml:88 Thursday 21 July 2022 10:16:56 +0000 (0:00:00.034) 0:01:12.516 ********* 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 10:16:56 +0000 (0:00:00.066) 0:01:12.583 ********* 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 10:16:56 +0000 (0:00:00.034) 0:01:12.617 ********* 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 10:16:56 +0000 (0:00:00.543) 0:01:13.161 ********* 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 10:16:56 +0000 (0:00:00.064) 0:01:13.225 ********* 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 10:16:56 +0000 (0:00:00.034) 0:01:13.260 ********* 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 10:16:56 +0000 (0:00:00.035) 0:01:13.296 ********* 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 10:16:56 +0000 (0:00:00.046) 0:01:13.343 ********* 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 10:16:56 +0000 (0:00:00.020) 0:01:13.363 ********* 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 10:16:56 +0000 (0:00:00.026) 0:01:13.389 ********* 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 10:16:56 +0000 (0:00:00.034) 0:01:13.424 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "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 10:16:56 +0000 (0:00:00.042) 0:01:13.466 ********* 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 10:16:57 +0000 (0:00:00.030) 0:01:13.497 ********* 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 10:16:57 +0000 (0:00:00.028) 0:01:13.525 ********* 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 10:16:57 +0000 (0:00:00.028) 0:01:13.553 ********* 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 10:16:57 +0000 (0:00:00.061) 0:01:13.615 ********* 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 10:16:57 +0000 (0:00:00.055) 0:01:13.671 ********* 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 10:16:57 +0000 (0:00:00.021) 0:01:13.692 ********* ok: [/cache/rhel-9.qcow2.snap] => { "actions": [], "changed": false, "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": "swap", "path": "none", "src": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "state": "present" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 10:16:58 +0000 (0:00:01.372) 0:01:15.065 ********* 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 10:16:58 +0000 (0:00:00.039) 0:01:15.105 ********* 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 10:16:58 +0000 (0:00:00.023) 0:01:15.128 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "state": "present" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 10:16:58 +0000 (0:00:00.040) 0:01:15.169 ********* 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 10:16:58 +0000 (0:00:00.037) 0:01:15.207 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 10:16:58 +0000 (0:00:00.036) 0:01:15.243 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6', 'fstype': 'swap', 'path': 'none', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6" } 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 10:16:59 +0000 (0:00:00.393) 0:01:15.637 ********* 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 10:16:59 +0000 (0:00:00.664) 0:01:16.302 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6" } 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 10:17:00 +0000 (0:00:00.398) 0:01:16.700 ********* 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 10:17:00 +0000 (0:00:00.653) 0:01:17.353 ********* 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 10:17:01 +0000 (0:00:00.373) 0:01:17.727 ********* 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 10:17:01 +0000 (0:00:00.022) 0:01:17.749 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_swap.yml:98 Thursday 21 July 2022 10:17:02 +0000 (0:00:01.012) 0:01:18.762 ********* 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 10:17:02 +0000 (0:00:00.053) 0:01:18.815 ********* 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 10:17:02 +0000 (0:00:00.034) 0:01:18.850 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 10:17:02 +0000 (0:00:00.091) 0:01:18.941 ********* 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": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "9ddc4256-4439-4cd7-bdf8-76bda31189f6" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "6f9f368c-a5b7-4c81-aac8-d0f1762ed5ca" }, "/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-10-15-30-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 10:17:02 +0000 (0:00:00.405) 0:01:19.347 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002615", "end": "2022-07-21 06:17:03.434878", "rc": 0, "start": "2022-07-21 06:17:03.432263" } 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=9ddc4256-4439-4cd7-bdf8-76bda31189f6 none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 Thursday 21 July 2022 10:17:03 +0000 (0:00:00.360) 0:01:19.707 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002587", "end": "2022-07-21 06:17:03.795195", "failed_when_result": false, "rc": 1, "start": "2022-07-21 06:17:03.792608" } 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 10:17:03 +0000 (0:00:00.363) 0:01:20.071 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 10:17:03 +0000 (0:00:00.022) 0:01:20.094 ********* 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': 'swap', 'mount_options': 'defaults', 'mount_point': None, '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': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6', '_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 10:17:03 +0000 (0:00:00.056) 0:01:20.150 ********* 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 10:17:03 +0000 (0:00:00.049) 0:01:20.200 ********* 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 10:17:03 +0000 (0:00:00.076) 0:01:20.276 ********* 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 10:17:03 +0000 (0:00:00.043) 0:01:20.320 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "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 10:17:03 +0000 (0:00:00.054) 0:01:20.375 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 10:17:03 +0000 (0:00:00.025) 0:01:20.400 ********* 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 10:17:03 +0000 (0:00:00.051) 0:01:20.452 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 10:17:04 +0000 (0:00:00.037) 0:01:20.489 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.002847", "end": "2022-07-21 06:17:04.585785", "rc": 0, "start": "2022-07-21 06:17:04.582938" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 10:17:04 +0000 (0:00:00.373) 0:01:20.862 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.002776", "end": "2022-07-21 06:17:04.951546", "rc": 0, "start": "2022-07-21 06:17:04.948770" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 10:17:04 +0000 (0:00:00.364) 0:01:21.226 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 10:17:04 +0000 (0:00:00.053) 0:01:21.280 ********* 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 10:17:04 +0000 (0:00:00.086) 0:01:21.366 ********* 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": "0", "storage_test_fstab_id_matches": [ "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6 " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 10:17:05 +0000 (0:00:00.130) 0:01:21.496 ********* 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 10:17:05 +0000 (0:00:00.051) 0:01:21.547 ********* 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 10:17:05 +0000 (0:00:00.051) 0:01:21.599 ********* 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 10:17:05 +0000 (0:00:00.038) 0:01:21.637 ********* 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 10:17:05 +0000 (0:00:00.038) 0:01:21.676 ********* 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 10:17:05 +0000 (0:00:00.044) 0:01:21.720 ********* 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 10:17:05 +0000 (0:00:00.043) 0:01:21.764 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658398604.9131904, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658398604.8881903, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 360, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658398604.8881903, "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 10:17:05 +0000 (0:00:00.389) 0:01:22.154 ********* 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 10:17:05 +0000 (0:00:00.040) 0:01:22.195 ********* 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 10:17:05 +0000 (0:00:00.042) 0:01:22.237 ********* 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 10:17:05 +0000 (0:00:00.040) 0:01:22.277 ********* 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 10:17:05 +0000 (0:00:00.028) 0:01:22.306 ********* 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 10:17:05 +0000 (0:00:00.040) 0:01:22.346 ********* 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 10:17:05 +0000 (0:00:00.026) 0:01:22.373 ********* 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 10:17:06 +0000 (0:00:00.892) 0:01:23.266 ********* 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 10:17:06 +0000 (0:00:00.025) 0:01:23.291 ********* 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 10:17:06 +0000 (0:00:00.025) 0:01:23.317 ********* 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 10:17:06 +0000 (0:00:00.057) 0:01:23.375 ********* 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 10:17:06 +0000 (0:00:00.027) 0:01:23.402 ********* 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 10:17:06 +0000 (0:00:00.026) 0:01:23.428 ********* 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 10:17:06 +0000 (0:00:00.028) 0:01:23.457 ********* 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 10:17:07 +0000 (0:00:00.026) 0:01:23.484 ********* 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 10:17:07 +0000 (0:00:00.027) 0:01:23.511 ********* 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 10:17:07 +0000 (0:00:00.057) 0:01:23.568 ********* 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 10:17:07 +0000 (0:00:00.052) 0:01:23.621 ********* 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 10:17:07 +0000 (0:00:00.039) 0:01:23.660 ********* 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 10:17:07 +0000 (0:00:00.035) 0:01:23.696 ********* 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 10:17:07 +0000 (0:00:00.038) 0:01:23.734 ********* 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 10:17:07 +0000 (0:00:00.032) 0:01:23.767 ********* 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 10:17:07 +0000 (0:00:00.035) 0:01:23.802 ********* 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 10:17:07 +0000 (0:00:00.034) 0:01:23.837 ********* 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 10:17:07 +0000 (0:00:00.043) 0:01:23.881 ********* 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 10:17:07 +0000 (0:00:00.036) 0:01:23.918 ********* 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 10:17:07 +0000 (0:00:00.037) 0:01:23.955 ********* 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 10:17:07 +0000 (0:00:00.039) 0:01:23.994 ********* 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 10:17:07 +0000 (0:00:00.042) 0:01:24.037 ********* 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 10:17:07 +0000 (0:00:00.027) 0:01:24.065 ********* 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 10:17:07 +0000 (0:00:00.039) 0:01:24.105 ********* 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 10:17:07 +0000 (0:00:00.036) 0:01:24.141 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 10:17:07 +0000 (0:00:00.119) 0:01:24.261 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 10:17:07 +0000 (0:00:00.037) 0:01:24.298 ********* 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 10:17:07 +0000 (0:00:00.036) 0:01:24.334 ********* 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 10:17:07 +0000 (0:00:00.035) 0:01:24.370 ********* 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 10:17:07 +0000 (0:00:00.041) 0:01:24.412 ********* 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 10:17:07 +0000 (0:00:00.038) 0:01:24.450 ********* 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 10:17:08 +0000 (0:00:00.038) 0:01:24.489 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 10:17:08 +0000 (0:00:00.036) 0:01:24.526 ********* 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 10:17:08 +0000 (0:00:00.025) 0:01:24.551 ********* 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 10:17:08 +0000 (0:00:00.024) 0:01:24.576 ********* 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 10:17:08 +0000 (0:00:00.025) 0:01:24.602 ********* 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 10:17:08 +0000 (0:00:00.024) 0:01:24.626 ********* 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 10:17:08 +0000 (0:00:00.024) 0:01:24.650 ********* 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 10:17:08 +0000 (0:00:00.023) 0:01:24.673 ********* 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 10:17:08 +0000 (0:00:00.023) 0:01:24.696 ********* 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 10:17:08 +0000 (0:00:00.023) 0:01:24.720 ********* 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 10:17:08 +0000 (0:00:00.042) 0:01:24.762 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_swap.yml:100 Thursday 21 July 2022 10:17:08 +0000 (0:00:00.043) 0:01:24.806 ********* 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 10:17:08 +0000 (0:00:00.080) 0:01:24.887 ********* 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 10:17:08 +0000 (0:00:00.039) 0:01:24.927 ********* 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 10:17:08 +0000 (0:00:00.520) 0:01:25.448 ********* 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 10:17:09 +0000 (0:00:00.061) 0:01:25.509 ********* 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 10:17:09 +0000 (0:00:00.036) 0:01:25.546 ********* 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 10:17:09 +0000 (0:00:00.035) 0:01:25.581 ********* 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 10:17:09 +0000 (0:00:00.045) 0:01:25.626 ********* 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 10:17:09 +0000 (0:00:00.019) 0:01:25.646 ********* 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 10:17:09 +0000 (0:00:00.026) 0:01:25.673 ********* 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 10:17:09 +0000 (0:00:00.034) 0:01:25.708 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "mount_point": "/opt/test", "name": "test1", "state": "absent", "type": "disk" }, { "disks": [ "sdb" ], "mount_point": "none", "name": "test2", "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 10:17:09 +0000 (0:00:00.036) 0:01:25.744 ********* 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 10:17:09 +0000 (0:00:00.027) 0:01:25.772 ********* 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 10:17:09 +0000 (0:00:00.028) 0:01:25.800 ********* 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 10:17:09 +0000 (0:00:00.082) 0:01:25.883 ********* 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 10:17:09 +0000 (0:00:00.030) 0:01:25.914 ********* 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 10:17:09 +0000 (0:00:00.059) 0:01:25.973 ********* 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 10:17:09 +0000 (0:00:00.023) 0:01:25.997 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "ext3" }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" } ], "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": "swap", "path": "none", "src": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "_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": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 }, { "_device": "/dev/sdb", "_mount_id": "UUID=6f9f368c-a5b7-4c81-aac8-d0f1762ed5ca", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "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": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 10:17:11 +0000 (0:00:01.698) 0:01:27.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 10:17:11 +0000 (0:00:00.037) 0:01:27.733 ********* 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 10:17:11 +0000 (0:00:00.024) 0:01:27.757 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "ext3" }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" } ], "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": "swap", "path": "none", "src": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "_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": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 }, { "_device": "/dev/sdb", "_mount_id": "UUID=6f9f368c-a5b7-4c81-aac8-d0f1762ed5ca", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "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": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 10:17:11 +0000 (0:00:00.036) 0:01:27.794 ********* 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 10:17:11 +0000 (0:00:00.035) 0:01:27.830 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "_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": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 }, { "_device": "/dev/sdb", "_mount_id": "UUID=6f9f368c-a5b7-4c81-aac8-d0f1762ed5ca", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "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": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 10:17:11 +0000 (0:00:00.037) 0:01:27.867 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6', 'path': 'none', 'state': 'absent', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6" } 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 10:17:11 +0000 (0:00:00.389) 0:01:28.257 ********* 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 10:17:12 +0000 (0:00:00.664) 0:01:28.921 ********* 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 10:17:12 +0000 (0:00:00.039) 0:01:28.961 ********* 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 10:17:13 +0000 (0:00:00.645) 0:01:29.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 10:17:13 +0000 (0:00:00.357) 0:01:29.964 ********* 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 10:17:13 +0000 (0:00:00.022) 0:01:29.986 ********* ok: [/cache/rhel-9.qcow2.snap] META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/tests_swap.yml:116 Thursday 21 July 2022 10:17:14 +0000 (0:00:00.969) 0:01:30.956 ********* 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 10:17:14 +0000 (0:00:00.057) 0:01:31.014 ********* 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 10:17:14 +0000 (0:00:00.038) 0:01:31.052 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6", "_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": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 }, { "_device": "/dev/sdb", "_mount_id": "UUID=6f9f368c-a5b7-4c81-aac8-d0f1762ed5ca", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "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": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 [Collect info about the volumes.] ***************************************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:14 Thursday 21 July 2022 10:17:14 +0000 (0:00:00.088) 0:01:31.140 ********* 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-10-15-30-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 10:17:15 +0000 (0:00:00.379) 0:01:31.520 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002573", "end": "2022-07-21 06:17:15.646793", "rc": 0, "start": "2022-07-21 06:17:15.644220" } 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 10:17:15 +0000 (0:00:00.402) 0:01:31.922 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004082", "end": "2022-07-21 06:17:17.067482", "failed_when_result": false, "rc": 1, "start": "2022-07-21 06:17:16.063400" } 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 10:17:16 +0000 (0:00:01.422) 0:01:33.345 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpsvhdx31t/tests/verify-role-results.yml:43 Thursday 21 July 2022 10:17:16 +0000 (0:00:00.024) 0:01:33.369 ********* 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': 'swap', 'mount_options': 'defaults', 'mount_point': '/opt/test', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=9ddc4256-4439-4cd7-bdf8-76bda31189f6'}) 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': 'ext3', 'mount_options': 'defaults', 'mount_point': 'none', 'name': 'test2', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['sdb'], '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/sdb', '_raw_device': '/dev/sdb', '_mount_id': 'UUID=6f9f368c-a5b7-4c81-aac8-d0f1762ed5ca'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 10:17:16 +0000 (0:00:00.071) 0:01:33.441 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 10:17:17 +0000 (0:00:00.051) 0:01:33.492 ********* 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 10:17:17 +0000 (0:00:00.070) 0:01:33.563 ********* 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 10:17:17 +0000 (0:00:00.039) 0:01:33.602 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 10:17:17 +0000 (0:00:00.054) 0:01:33.657 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 10:17:17 +0000 (0:00:00.024) 0:01:33.681 ********* 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 10:17:17 +0000 (0:00:00.046) 0:01:33.727 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 10:17:17 +0000 (0:00:00.034) 0:01:33.762 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.003007", "end": "2022-07-21 06:17:17.856863", "rc": 0, "start": "2022-07-21 06:17:17.853856" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 10:17:17 +0000 (0:00:00.371) 0:01:34.134 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.003073", "end": "2022-07-21 06:17:18.240837", "rc": 0, "start": "2022-07-21 06:17:18.237764" } STDOUT: Filename Type Size Used Priority TASK [Verify swap status] ****************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 10:17:18 +0000 (0:00:00.383) 0:01:34.518 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 10:17:18 +0000 (0:00:00.051) 0:01:34.569 ********* 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 10:17:18 +0000 (0:00:00.034) 0:01:34.603 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 10:17:18 +0000 (0:00:00.056) 0:01:34.660 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 10:17:18 +0000 (0:00:00.023) 0:01:34.684 ********* 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 10:17:18 +0000 (0:00:00.054) 0:01:34.738 ********* 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 10:17:18 +0000 (0:00:00.035) 0:01:34.774 ********* 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 10:17:18 +0000 (0:00:00.070) 0:01:34.844 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 10:17:18 +0000 (0:00:00.024) 0:01:34.869 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 10:17:18 +0000 (0:00:00.026) 0:01:34.895 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658398631.3531904, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658398631.3531904, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 360, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658398631.3531904, "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 10:17:18 +0000 (0:00:00.375) 0:01:35.271 ********* 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 10:17:18 +0000 (0:00:00.074) 0:01:35.345 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 10:17:18 +0000 (0:00:00.061) 0:01:35.406 ********* 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 10:17:18 +0000 (0:00:00.036) 0:01:35.442 ********* 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 10:17:18 +0000 (0:00:00.025) 0:01:35.468 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 10:17:19 +0000 (0:00:00.024) 0:01:35.492 ********* 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 10:17:19 +0000 (0:00:00.027) 0:01:35.520 ********* 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 10:17:19 +0000 (0:00:00.887) 0:01:36.407 ********* 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 10:17:19 +0000 (0:00:00.027) 0:01:36.434 ********* 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 10:17:19 +0000 (0:00:00.025) 0:01:36.460 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 10:17:20 +0000 (0:00:00.026) 0:01:36.487 ********* 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 10:17:20 +0000 (0:00:00.028) 0:01:36.515 ********* 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 10:17:20 +0000 (0:00:00.024) 0:01:36.540 ********* 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 10:17:20 +0000 (0:00:00.024) 0:01:36.564 ********* 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 10:17:20 +0000 (0:00:00.025) 0:01:36.590 ********* 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 10:17:20 +0000 (0:00:00.026) 0:01:36.617 ********* 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 10:17:20 +0000 (0:00:00.053) 0:01:36.670 ********* 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 10:17:20 +0000 (0:00:00.060) 0:01:36.731 ********* 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 10:17:20 +0000 (0:00:00.040) 0:01:36.771 ********* 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 10:17:20 +0000 (0:00:00.039) 0:01:36.811 ********* 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 10:17:20 +0000 (0:00:00.044) 0:01:36.856 ********* 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 10:17:20 +0000 (0:00:00.041) 0:01:36.898 ********* 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 10:17:20 +0000 (0:00:00.042) 0:01:36.940 ********* 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 10:17:20 +0000 (0:00:00.040) 0:01:36.981 ********* 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 10:17:20 +0000 (0:00:00.040) 0:01:37.021 ********* 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 10:17:20 +0000 (0:00:00.042) 0:01:37.063 ********* 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 10:17:20 +0000 (0:00:00.050) 0:01:37.114 ********* 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 10:17:20 +0000 (0:00:00.040) 0:01:37.155 ********* 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 10:17:20 +0000 (0:00:00.044) 0:01:37.200 ********* 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 10:17:20 +0000 (0:00:00.026) 0:01:37.227 ********* 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 10:17:20 +0000 (0:00:00.042) 0:01:37.269 ********* 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 10:17:20 +0000 (0:00:00.039) 0:01:37.309 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 10:17:20 +0000 (0:00:00.090) 0:01:37.400 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 10:17:20 +0000 (0:00:00.043) 0:01:37.443 ********* 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 10:17:21 +0000 (0:00:00.081) 0:01:37.524 ********* 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 10:17:21 +0000 (0:00:00.038) 0:01:37.563 ********* 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 10:17:21 +0000 (0:00:00.040) 0:01:37.604 ********* 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 10:17:21 +0000 (0:00:00.084) 0:01:37.689 ********* 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 10:17:21 +0000 (0:00:00.042) 0:01:37.731 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 10:17:21 +0000 (0:00:00.040) 0:01:37.772 ********* 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 10:17:21 +0000 (0:00:00.026) 0:01:37.799 ********* 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 10:17:21 +0000 (0:00:00.027) 0:01:37.826 ********* 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 10:17:21 +0000 (0:00:00.026) 0:01:37.853 ********* 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 10:17:21 +0000 (0:00:00.026) 0:01:37.879 ********* 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 10:17:21 +0000 (0:00:00.025) 0:01:37.905 ********* 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 10:17:21 +0000 (0:00:00.027) 0:01:37.932 ********* 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 10:17:21 +0000 (0:00:00.026) 0:01:37.959 ********* 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 10:17:21 +0000 (0:00:00.026) 0:01:37.985 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:2 Thursday 21 July 2022 10:17:21 +0000 (0:00:00.037) 0:01:38.022 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume.yml:10 Thursday 21 July 2022 10:17:21 +0000 (0:00:00.051) 0:01:38.074 ********* 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 10:17:21 +0000 (0:00:00.073) 0:01:38.147 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 10:17:21 +0000 (0:00:00.040) 0:01:38.187 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 10:17:21 +0000 (0:00:00.057) 0:01:38.245 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 10:17:21 +0000 (0:00:00.025) 0:01:38.270 ********* 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 10:17:21 +0000 (0:00:00.052) 0:01:38.323 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 10:17:21 +0000 (0:00:00.037) 0:01:38.360 ********* 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 10:17:21 +0000 (0:00:00.024) 0:01:38.385 ********* 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 10:17:21 +0000 (0:00:00.023) 0:01:38.408 ********* 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 10:17:21 +0000 (0:00:00.025) 0:01:38.434 ********* 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 10:17:21 +0000 (0:00:00.036) 0:01:38.470 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 10:17:22 +0000 (0:00:00.061) 0:01:38.531 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 10:17:22 +0000 (0:00:00.024) 0:01:38.556 ********* 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 10:17:22 +0000 (0:00:00.047) 0:01:38.604 ********* 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 10:17:22 +0000 (0:00:00.038) 0:01:38.642 ********* 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 10:17:22 +0000 (0:00:00.038) 0:01:38.680 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 10:17:22 +0000 (0:00:00.025) 0:01:38.706 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 10:17:22 +0000 (0:00:00.022) 0:01:38.729 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658398631.2991903, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658398631.2991903, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 354, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658398631.2991903, "nlink": 1, "path": "/dev/sdb", "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 10:17:22 +0000 (0:00:00.380) 0:01:39.109 ********* 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 10:17:22 +0000 (0:00:00.044) 0:01:39.154 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 10:17:22 +0000 (0:00:00.030) 0:01:39.184 ********* 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 10:17:22 +0000 (0:00:00.087) 0:01:39.272 ********* 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 10:17:22 +0000 (0:00:00.025) 0:01:39.297 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 10:17:22 +0000 (0:00:00.068) 0:01:39.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 10:17:22 +0000 (0:00:00.026) 0:01:39.393 ********* 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 10:17:23 +0000 (0:00:00.848) 0:01:40.241 ********* 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 10:17:23 +0000 (0:00:00.026) 0:01:40.267 ********* 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 10:17:23 +0000 (0:00:00.025) 0:01:40.292 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 10:17:23 +0000 (0:00:00.027) 0:01:40.320 ********* 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 10:17:23 +0000 (0:00:00.027) 0:01:40.348 ********* 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 10:17:23 +0000 (0:00:00.025) 0:01:40.373 ********* 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 10:17:23 +0000 (0:00:00.024) 0:01:40.397 ********* 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 10:17:23 +0000 (0:00:00.026) 0:01:40.424 ********* 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 10:17:23 +0000 (0:00:00.023) 0:01:40.447 ********* 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 10:17:24 +0000 (0:00:00.053) 0:01:40.501 ********* 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 10:17:24 +0000 (0:00:00.052) 0:01:40.553 ********* 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 10:17:24 +0000 (0:00:00.041) 0:01:40.594 ********* 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 10:17:24 +0000 (0:00:00.037) 0:01:40.632 ********* 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 10:17:24 +0000 (0:00:00.040) 0:01:40.672 ********* 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 10:17:24 +0000 (0:00:00.037) 0:01:40.710 ********* 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 10:17:24 +0000 (0:00:00.041) 0:01:40.751 ********* 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 10:17:24 +0000 (0:00:00.038) 0:01:40.790 ********* 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 10:17:24 +0000 (0:00:00.038) 0:01:40.828 ********* 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 10:17:24 +0000 (0:00:00.037) 0:01:40.866 ********* 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 10:17:24 +0000 (0:00:00.042) 0:01:40.909 ********* 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 10:17:24 +0000 (0:00:00.038) 0:01:40.947 ********* 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 10:17:24 +0000 (0:00:00.038) 0:01:40.986 ********* 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 10:17:24 +0000 (0:00:00.026) 0:01:41.012 ********* 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 10:17:24 +0000 (0:00:00.042) 0:01:41.055 ********* 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 10:17:24 +0000 (0:00:00.040) 0:01:41.095 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 10:17:24 +0000 (0:00:00.040) 0:01:41.136 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 10:17:24 +0000 (0:00:00.039) 0:01:41.175 ********* 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 10:17:24 +0000 (0:00:00.040) 0:01:41.215 ********* 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 10:17:24 +0000 (0:00:00.035) 0:01:41.251 ********* 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 10:17:24 +0000 (0:00:00.035) 0:01:41.286 ********* 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 10:17:24 +0000 (0:00:00.035) 0:01:41.321 ********* 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 10:17:24 +0000 (0:00:00.037) 0:01:41.359 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpsvhdx31t/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 10:17:24 +0000 (0:00:00.034) 0:01:41.393 ********* 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 10:17:24 +0000 (0:00:00.023) 0:01:41.416 ********* 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 10:17:24 +0000 (0:00:00.023) 0:01:41.439 ********* 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 10:17:24 +0000 (0:00:00.024) 0:01:41.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-cache.yml:22 Thursday 21 July 2022 10:17:25 +0000 (0:00:00.023) 0:01:41.487 ********* 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 10:17:25 +0000 (0:00:00.025) 0:01:41.512 ********* 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 10:17:25 +0000 (0:00:00.026) 0:01:41.539 ********* 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 10:17:25 +0000 (0:00:00.026) 0:01:41.565 ********* 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 10:17:25 +0000 (0:00:00.023) 0:01:41.589 ********* 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 10:17:25 +0000 (0:00:00.075) 0:01:41.664 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=471 changed=21 unreachable=0 failed=0 skipped=427 rescued=0 ignored=0 Thursday 21 July 2022 10:17:25 +0000 (0:00:00.051) 0:01:41.715 ********* =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.95s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 1.92s /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.92s /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.85s /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.70s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.70s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Read the /etc/crypttab file --------------------------------------------- 1.42s /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 ----------------------------- Gathering Facts --------------------------------------------------------- 1.39s /tmp/tmpsvhdx31t/tests/tests_swap.yml:2 --------------------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.39s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Read the /etc/crypttab file --------------------------------------------- 1.38s /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 Read the /etc/crypttab file --------------------------------------------- 1.36s /tmp/tmpsvhdx31t/tests/verify-role-results.yml:24 ----------------------------- linux-system-roles.storage : make sure blivet is available -------------- 1.33s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : Update facts ------------------------------- 1.03s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.02s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.01s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.01s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.01s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.00s /tmp/tmpsvhdx31t/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.00s /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_swap.yml ******************************************************* 1 plays in /tmp/tmpfc26zqih/tests/storage/tests_swap.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/tests_swap.yml:2 Thursday 21 July 2022 13:29:16 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpfc26zqih/tests/storage/tests_swap.yml:10 Thursday 21 July 2022 13:29:17 +0000 (0:00:01.358) 0:00:01.371 ********* 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 13:29:17 +0000 (0:00:00.038) 0:00:01.410 ********* 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 13:29:18 +0000 (0:00:00.030) 0:00:01.440 ********* 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 13:29:18 +0000 (0:00:00.515) 0:00:01.956 ********* 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 13:29:18 +0000 (0:00:00.055) 0:00:02.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 13:29:18 +0000 (0:00:00.031) 0:00:02.043 ********* 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 13:29:18 +0000 (0:00:00.032) 0:00:02.075 ********* 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 13:29:18 +0000 (0:00:00.055) 0:00:02.131 ********* 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 13:29:18 +0000 (0:00:00.018) 0:00:02.149 ********* 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 13:29:19 +0000 (0:00:01.207) 0:00:03.357 ********* 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 13:29:19 +0000 (0:00:00.037) 0:00:03.394 ********* 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 13:29:20 +0000 (0:00:00.034) 0:00:03.429 ********* 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 13:29:20 +0000 (0:00:00.705) 0:00:04.134 ********* 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 13:29:20 +0000 (0:00:00.042) 0:00:04.176 ********* 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 13:29:20 +0000 (0:00:00.030) 0:00:04.206 ********* 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 13:29:20 +0000 (0:00:00.033) 0:00:04.240 ********* 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 13:29:20 +0000 (0:00:00.029) 0:00:04.269 ********* 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 13:29:21 +0000 (0:00:00.854) 0:00:05.123 ********* 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 13:29:23 +0000 (0:00:01.775) 0:00:06.898 ********* 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 13:29:23 +0000 (0:00:00.082) 0:00:06.981 ********* 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 13:29:23 +0000 (0:00:00.024) 0:00:07.006 ********* 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 13:29:24 +0000 (0:00:00.509) 0:00:07.515 ********* 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 13:29:24 +0000 (0:00:00.036) 0:00:07.552 ********* 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 13:29:24 +0000 (0:00:00.021) 0:00:07.573 ********* 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 13:29:24 +0000 (0:00:00.040) 0:00:07.613 ********* 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 13:29:24 +0000 (0:00:00.034) 0:00:07.648 ********* 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 13:29:24 +0000 (0:00:00.035) 0:00:07.684 ********* 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 13:29:24 +0000 (0:00:00.033) 0:00:07.718 ********* 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 13:29:24 +0000 (0:00:00.024) 0:00:07.742 ********* 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 13:29:24 +0000 (0:00:00.033) 0:00:07.775 ********* 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 13:29:24 +0000 (0:00:00.022) 0:00:07.798 ********* 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 13:29:24 +0000 (0:00:00.486) 0:00:08.284 ********* 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 13:29:24 +0000 (0:00:00.022) 0:00:08.307 ********* 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_swap.yml:13 Thursday 21 July 2022 13:29:25 +0000 (0:00:00.960) 0:00:09.268 ********* 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_swap.yml:20 Thursday 21 July 2022 13:29:25 +0000 (0:00:00.032) 0:00:09.301 ********* 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 13:29:25 +0000 (0:00:00.037) 0:00:09.338 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "disks": [ "sda", "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpfc26zqih/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 13:29:26 +0000 (0:00:00.504) 0:00:09.843 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda", "sdb" ] }, "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 13:29:26 +0000 (0:00:00.064) 0:00:09.907 ********* 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 13:29:26 +0000 (0:00:00.040) 0:00:09.947 ********* ok: [/cache/rhel-9.qcow2.snap] => { "unused_disks": [ "sda", "sdb" ] } TASK [Create a disk device with swap] ****************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_swap.yml:25 Thursday 21 July 2022 13:29:26 +0000 (0:00:00.067) 0:00:10.015 ********* 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 13:29:26 +0000 (0:00:00.072) 0:00:10.087 ********* 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 13:29:26 +0000 (0:00:00.034) 0:00:10.122 ********* 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 13:29:27 +0000 (0:00:00.505) 0:00:10.628 ********* 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 13:29:27 +0000 (0:00:00.063) 0:00:10.692 ********* 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 13:29:27 +0000 (0:00:00.032) 0:00:10.724 ********* 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 13:29:27 +0000 (0:00:00.036) 0:00:10.760 ********* 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 13:29:27 +0000 (0:00:00.054) 0:00:10.815 ********* 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 13:29:27 +0000 (0:00:00.019) 0:00:10.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 13:29:27 +0000 (0:00:00.026) 0:00:10.861 ********* 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 13:29:27 +0000 (0:00:00.036) 0:00:10.898 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "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 13:29:27 +0000 (0:00:00.045) 0:00:10.943 ********* 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 13:29:27 +0000 (0:00:00.030) 0:00:10.973 ********* 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 13:29:27 +0000 (0:00:00.029) 0:00:11.003 ********* 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 13:29:27 +0000 (0:00:00.028) 0:00:11.032 ********* 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 13:29:27 +0000 (0:00:00.031) 0:00:11.064 ********* 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 13:29:27 +0000 (0:00:00.055) 0:00:11.119 ********* 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 13:29:27 +0000 (0:00:00.020) 0:00:11.140 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": [ { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=7ee7902e-1661-4f17-b244-2455bfb052fd", "state": "present" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=7ee7902e-1661-4f17-b244-2455bfb052fd", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 13:29:29 +0000 (0:00:01.592) 0:00:12.732 ********* 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 13:29:29 +0000 (0:00:00.034) 0:00:12.767 ********* 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 13:29:29 +0000 (0:00:00.020) 0:00:12.788 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": [ { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=7ee7902e-1661-4f17-b244-2455bfb052fd", "state": "present" } ], "packages": [ "dosfstools", "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=7ee7902e-1661-4f17-b244-2455bfb052fd", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 13:29:29 +0000 (0:00:00.062) 0:00:12.850 ********* 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 13:29:29 +0000 (0:00:00.066) 0:00:12.917 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=7ee7902e-1661-4f17-b244-2455bfb052fd", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 13:29:29 +0000 (0:00:00.038) 0:00:12.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:132 Thursday 21 July 2022 13:29:29 +0000 (0:00:00.039) 0:00:12.994 ********* 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 13:29:30 +0000 (0:00:00.926) 0:00:13.920 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=7ee7902e-1661-4f17-b244-2455bfb052fd', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=7ee7902e-1661-4f17-b244-2455bfb052fd", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=7ee7902e-1661-4f17-b244-2455bfb052fd" } 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 13:29:30 +0000 (0:00:00.494) 0:00:14.415 ********* 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 13:29:31 +0000 (0:00:00.635) 0:00:15.050 ********* 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 13:29:31 +0000 (0:00:00.342) 0:00:15.393 ********* 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 13:29:31 +0000 (0:00:00.022) 0:00:15.416 ********* 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_swap.yml:35 Thursday 21 July 2022 13:29:32 +0000 (0:00:01.000) 0:00:16.416 ********* 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 13:29:33 +0000 (0:00:00.042) 0:00:16.459 ********* 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 13:29:33 +0000 (0:00:00.036) 0:00:16.496 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=7ee7902e-1661-4f17-b244-2455bfb052fd", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 13:29:33 +0000 (0:00:00.052) 0:00:16.549 ********* 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": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "7ee7902e-1661-4f17-b244-2455bfb052fd" }, "/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-13-29-04-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 13:29:33 +0000 (0:00:00.492) 0:00:17.041 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002247", "end": "2022-07-21 09:29:33.396356", "rc": 0, "start": "2022-07-21 09:29:33.394109" } 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=7ee7902e-1661-4f17-b244-2455bfb052fd none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 13:29:34 +0000 (0:00:00.476) 0:00:17.518 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002317", "end": "2022-07-21 09:29:33.787924", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:29:33.785607" } 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 13:29:34 +0000 (0:00:00.393) 0:00:17.912 ********* 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 13:29:34 +0000 (0:00:00.053) 0:00:17.965 ********* 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': 'swap', 'mount_options': 'defaults', 'mount_point': None, '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': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=7ee7902e-1661-4f17-b244-2455bfb052fd', '_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 13:29:34 +0000 (0:00:00.058) 0:00:18.024 ********* 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 13:29:34 +0000 (0:00:00.047) 0:00:18.072 ********* 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 13:29:34 +0000 (0:00:00.079) 0:00:18.151 ********* 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 13:29:34 +0000 (0:00:00.038) 0:00:18.190 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "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 13:29:34 +0000 (0:00:00.052) 0:00:18.242 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 13:29:34 +0000 (0:00:00.022) 0:00:18.265 ********* 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 13:29:34 +0000 (0:00:00.047) 0:00:18.312 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 13:29:34 +0000 (0:00:00.040) 0:00:18.353 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.003155", "end": "2022-07-21 09:29:34.594623", "rc": 0, "start": "2022-07-21 09:29:34.591468" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 13:29:35 +0000 (0:00:00.366) 0:00:18.720 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.002785", "end": "2022-07-21 09:29:34.972290", "rc": 0, "start": "2022-07-21 09:29:34.969505" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 13:29:35 +0000 (0:00:00.378) 0:00:19.099 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 13:29:35 +0000 (0:00:00.051) 0:00:19.151 ********* 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 13:29:35 +0000 (0:00:00.045) 0:00:19.196 ********* 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": "0", "storage_test_fstab_id_matches": [ "UUID=7ee7902e-1661-4f17-b244-2455bfb052fd " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 13:29:35 +0000 (0:00:00.060) 0:00:19.256 ********* 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 13:29:35 +0000 (0:00:00.050) 0:00:19.307 ********* 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 13:29:35 +0000 (0:00:00.049) 0:00:19.357 ********* 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 13:29:35 +0000 (0:00:00.039) 0:00:19.397 ********* 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 13:29:36 +0000 (0:00:00.034) 0:00:19.431 ********* 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 13:29:36 +0000 (0:00:00.044) 0:00:19.476 ********* 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 13:29:36 +0000 (0:00:00.043) 0:00:19.520 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410168.5553808, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658410168.5333807, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 362, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658410168.5333807, "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 13:29:36 +0000 (0:00:00.388) 0:00:19.908 ********* 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 13:29:36 +0000 (0:00:00.037) 0:00:19.946 ********* 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 13:29:36 +0000 (0:00:00.086) 0:00:20.033 ********* 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 13:29:36 +0000 (0:00:00.040) 0:00:20.073 ********* 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 13:29:36 +0000 (0:00:00.025) 0:00:20.098 ********* 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 13:29:36 +0000 (0:00:00.074) 0:00:20.173 ********* 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 13:29:36 +0000 (0:00:00.056) 0:00:20.229 ********* 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 13:29:37 +0000 (0:00:00.827) 0:00:21.057 ********* 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 13:29:37 +0000 (0:00:00.025) 0:00:21.082 ********* 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 13:29:37 +0000 (0:00:00.024) 0:00:21.107 ********* 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 13:29:37 +0000 (0:00:00.051) 0:00:21.159 ********* 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 13:29:37 +0000 (0:00:00.024) 0:00:21.183 ********* 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 13:29:37 +0000 (0:00:00.024) 0:00:21.208 ********* 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 13:29:37 +0000 (0:00:00.023) 0:00:21.231 ********* 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 13:29:37 +0000 (0:00:00.023) 0:00:21.255 ********* 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 13:29:37 +0000 (0:00:00.026) 0:00:21.282 ********* 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 13:29:37 +0000 (0:00:00.050) 0:00:21.332 ********* 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 13:29:37 +0000 (0:00:00.049) 0:00:21.381 ********* 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 13:29:37 +0000 (0:00:00.035) 0:00:21.416 ********* 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 13:29:38 +0000 (0:00:00.041) 0:00:21.458 ********* 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 13:29:38 +0000 (0:00:00.036) 0:00:21.494 ********* 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 13:29:38 +0000 (0:00:00.035) 0:00:21.530 ********* 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 13:29:38 +0000 (0:00:00.036) 0:00:21.567 ********* 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 13:29:38 +0000 (0:00:00.040) 0:00:21.607 ********* 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 13:29:38 +0000 (0:00:00.036) 0:00:21.643 ********* 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 13:29:38 +0000 (0:00:00.035) 0:00:21.678 ********* 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 13:29:38 +0000 (0:00:00.036) 0:00:21.715 ********* 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 13:29:38 +0000 (0:00:00.040) 0:00:21.755 ********* 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 13:29:38 +0000 (0:00:00.037) 0:00:21.793 ********* 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 13:29:38 +0000 (0:00:00.025) 0:00:21.819 ********* 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 13:29:38 +0000 (0:00:00.036) 0:00:21.856 ********* 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 13:29:38 +0000 (0:00:00.040) 0:00:21.896 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:29:38 +0000 (0:00:00.036) 0:00:21.933 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:29:38 +0000 (0:00:00.037) 0:00:21.971 ********* 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 13:29:38 +0000 (0:00:00.038) 0:00:22.009 ********* 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 13:29:38 +0000 (0:00:00.041) 0:00:22.050 ********* 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 13:29:38 +0000 (0:00:00.038) 0:00:22.088 ********* 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 13:29:38 +0000 (0:00:00.037) 0:00:22.125 ********* 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 13:29:38 +0000 (0:00:00.038) 0:00:22.164 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:29:38 +0000 (0:00:00.038) 0:00:22.202 ********* 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 13:29:38 +0000 (0:00:00.025) 0:00:22.228 ********* 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 13:29:38 +0000 (0:00:00.024) 0:00:22.253 ********* 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 13:29:38 +0000 (0:00:00.024) 0:00:22.277 ********* 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 13:29:38 +0000 (0:00:00.025) 0:00:22.303 ********* 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 13:29:38 +0000 (0:00:00.026) 0:00:22.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-cache.yml:32 Thursday 21 July 2022 13:29:38 +0000 (0:00:00.026) 0:00:22.356 ********* 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 13:29:38 +0000 (0:00:00.024) 0:00:22.381 ********* 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 13:29:38 +0000 (0:00:00.027) 0:00:22.408 ********* 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 13:29:39 +0000 (0:00:00.035) 0:00:22.443 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Format second disk as ext3] ********************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_swap.yml:37 Thursday 21 July 2022 13:29:39 +0000 (0:00:00.072) 0:00:22.516 ********* 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 13:29:39 +0000 (0:00:00.085) 0:00:22.602 ********* 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 13:29:39 +0000 (0:00:00.039) 0:00:22.641 ********* 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 13:29:39 +0000 (0:00:00.518) 0:00:23.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/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 13:29:39 +0000 (0:00:00.061) 0:00:23.221 ********* 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 13:29:39 +0000 (0:00:00.035) 0:00:23.256 ********* 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 13:29:39 +0000 (0:00:00.036) 0:00:23.293 ********* 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 13:29:39 +0000 (0:00:00.057) 0:00:23.350 ********* 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 13:29:39 +0000 (0:00:00.020) 0:00:23.371 ********* 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 13:29:39 +0000 (0:00:00.026) 0:00:23.397 ********* 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 13:29:40 +0000 (0:00:00.041) 0:00:23.438 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sdb" ], "fs_type": "ext3", "mount_point": "none", "name": "test2", "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 13:29:40 +0000 (0:00:00.037) 0:00:23.475 ********* 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 13:29:40 +0000 (0:00:00.026) 0:00:23.502 ********* 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 13:29:40 +0000 (0:00:00.026) 0:00:23.528 ********* 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 13:29:40 +0000 (0:00:00.027) 0:00:23.556 ********* 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 13:29:40 +0000 (0:00:00.026) 0:00:23.583 ********* 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 13:29:40 +0000 (0:00:00.056) 0:00:23.639 ********* 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 13:29:40 +0000 (0:00:00.021) 0:00:23.660 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "ext3" } ], "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": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=71dc6fa6-1eb8-4e2f-a8f3-8bc826003e4a", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "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": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 13:29:41 +0000 (0:00:01.686) 0:00:25.346 ********* 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 13:29:41 +0000 (0:00:00.039) 0:00:25.385 ********* 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 13:29:41 +0000 (0:00:00.025) 0:00:25.410 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "ext3" } ], "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": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=71dc6fa6-1eb8-4e2f-a8f3-8bc826003e4a", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "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": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 13:29:42 +0000 (0:00:00.069) 0:00:25.480 ********* 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 13:29:42 +0000 (0:00:00.036) 0:00:25.516 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=71dc6fa6-1eb8-4e2f-a8f3-8bc826003e4a", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "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": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 13:29:42 +0000 (0:00:00.040) 0:00:25.557 ********* 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 13:29:42 +0000 (0:00:00.037) 0:00:25.595 ********* 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 13:29:42 +0000 (0:00:00.025) 0:00:25.621 ********* 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 13:29:42 +0000 (0:00:00.037) 0:00:25.658 ********* 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 13:29:42 +0000 (0:00:00.027) 0:00:25.685 ********* 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 13:29:42 +0000 (0:00:00.362) 0:00:26.048 ********* 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 13:29:42 +0000 (0:00:00.023) 0:00:26.071 ********* 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_swap.yml:48 Thursday 21 July 2022 13:29:43 +0000 (0:00:00.978) 0:00:27.049 ********* 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 13:29:43 +0000 (0:00:00.043) 0:00:27.093 ********* 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 13:29:43 +0000 (0:00:00.035) 0:00:27.129 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sdb", "_kernel_device": "/dev/sdb", "_mount_id": "UUID=71dc6fa6-1eb8-4e2f-a8f3-8bc826003e4a", "_raw_device": "/dev/sdb", "_raw_kernel_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "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": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 13:29:43 +0000 (0:00:00.053) 0:00:27.183 ********* 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": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "7ee7902e-1661-4f17-b244-2455bfb052fd" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "71dc6fa6-1eb8-4e2f-a8f3-8bc826003e4a" }, "/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-13-29-04-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 13:29:44 +0000 (0:00:00.365) 0:00:27.548 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002210", "end": "2022-07-21 09:29:43.783522", "rc": 0, "start": "2022-07-21 09:29:43.781312" } 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=7ee7902e-1661-4f17-b244-2455bfb052fd none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 13:29:44 +0000 (0:00:00.358) 0:00:27.907 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002559", "end": "2022-07-21 09:29:44.182657", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:29:44.180098" } 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 13:29:44 +0000 (0:00:00.401) 0:00:28.308 ********* 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 13:29:44 +0000 (0:00:00.022) 0:00:28.331 ********* 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': 'ext3', 'mount_options': 'defaults', 'mount_point': 'none', 'name': 'test2', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sdb'], '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/sdb', '_raw_device': '/dev/sdb', '_mount_id': 'UUID=71dc6fa6-1eb8-4e2f-a8f3-8bc826003e4a', '_kernel_device': '/dev/sdb', '_raw_kernel_device': '/dev/sdb'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 13:29:44 +0000 (0:00:00.083) 0:00:28.414 ********* 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 13:29:45 +0000 (0:00:00.046) 0:00:28.460 ********* 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 13:29:45 +0000 (0:00:00.073) 0:00:28.533 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 13:29:45 +0000 (0:00:00.040) 0:00:28.574 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 13:29:45 +0000 (0:00:00.052) 0:00:28.627 ********* 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 13:29:45 +0000 (0:00:00.048) 0:00:28.675 ********* 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 13:29:45 +0000 (0:00:00.048) 0:00:28.724 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 13:29:45 +0000 (0:00:00.036) 0:00:28.761 ********* 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 13:29:45 +0000 (0:00:00.025) 0:00:28.786 ********* 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 13:29:45 +0000 (0:00:00.024) 0:00:28.811 ********* 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 13:29:45 +0000 (0:00:00.025) 0:00:28.836 ********* 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 13:29:45 +0000 (0:00:00.034) 0:00:28.871 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 13:29:45 +0000 (0:00:00.062) 0:00:28.933 ********* 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 13:29:45 +0000 (0:00:00.048) 0:00:28.982 ********* 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 13:29:45 +0000 (0:00:00.047) 0:00:29.029 ********* 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 13:29:45 +0000 (0:00:00.037) 0:00:29.066 ********* 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 13:29:45 +0000 (0:00:00.040) 0:00:29.107 ********* 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 13:29:45 +0000 (0:00:00.040) 0:00:29.148 ********* 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 13:29:45 +0000 (0:00:00.042) 0:00:29.190 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410181.1663806, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658410181.1663806, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 359, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658410181.1663806, "nlink": 1, "path": "/dev/sdb", "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 13:29:46 +0000 (0:00:00.376) 0:00:29.567 ********* 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 13:29:46 +0000 (0:00:00.042) 0:00:29.609 ********* 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 13:29:46 +0000 (0:00:00.042) 0:00:29.652 ********* 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 13:29:46 +0000 (0:00:00.040) 0:00:29.692 ********* 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 13:29:46 +0000 (0:00:00.027) 0:00:29.720 ********* 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 13:29:46 +0000 (0:00:00.040) 0:00:29.760 ********* 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 13:29:46 +0000 (0:00:00.025) 0:00:29.785 ********* 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 13:29:47 +0000 (0:00:00.826) 0:00:30.611 ********* 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 13:29:47 +0000 (0:00:00.025) 0:00:30.637 ********* 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 13:29:47 +0000 (0:00:00.025) 0:00:30.663 ********* 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 13:29:47 +0000 (0:00:00.055) 0:00:30.718 ********* 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 13:29:47 +0000 (0:00:00.025) 0:00:30.744 ********* 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 13:29:47 +0000 (0:00:00.035) 0:00:30.779 ********* 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 13:29:47 +0000 (0:00:00.024) 0:00:30.803 ********* 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 13:29:47 +0000 (0:00:00.026) 0:00:30.830 ********* 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 13:29:47 +0000 (0:00:00.026) 0:00:30.856 ********* 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 13:29:47 +0000 (0:00:00.051) 0:00:30.908 ********* 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 13:29:47 +0000 (0:00:00.052) 0:00:30.960 ********* 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 13:29:47 +0000 (0:00:00.037) 0:00:30.998 ********* 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 13:29:47 +0000 (0:00:00.036) 0:00:31.034 ********* 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 13:29:47 +0000 (0:00:00.035) 0:00:31.069 ********* 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 13:29:47 +0000 (0:00:00.035) 0:00:31.105 ********* 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 13:29:47 +0000 (0:00:00.035) 0:00:31.140 ********* 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 13:29:47 +0000 (0:00:00.035) 0:00:31.175 ********* 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 13:29:47 +0000 (0:00:00.035) 0:00:31.210 ********* 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 13:29:47 +0000 (0:00:00.041) 0:00:31.251 ********* 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 13:29:47 +0000 (0:00:00.039) 0:00:31.291 ********* 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 13:29:47 +0000 (0:00:00.037) 0:00:31.329 ********* 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 13:29:47 +0000 (0:00:00.035) 0:00:31.364 ********* 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 13:29:47 +0000 (0:00:00.025) 0:00:31.390 ********* 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 13:29:47 +0000 (0:00:00.035) 0:00:31.425 ********* 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 13:29:48 +0000 (0:00:00.040) 0:00:31.465 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:29:48 +0000 (0:00:00.035) 0:00:31.501 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:29:48 +0000 (0:00:00.035) 0:00:31.537 ********* 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 13:29:48 +0000 (0:00:00.035) 0:00:31.572 ********* 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 13:29:48 +0000 (0:00:00.035) 0:00:31.608 ********* 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 13:29:48 +0000 (0:00:00.036) 0:00:31.645 ********* 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 13:29:48 +0000 (0:00:00.040) 0:00:31.685 ********* 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 13:29:48 +0000 (0:00:00.037) 0:00:31.723 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:29:48 +0000 (0:00:00.038) 0:00:31.761 ********* 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 13:29:48 +0000 (0:00:00.024) 0:00:31.786 ********* 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 13:29:48 +0000 (0:00:00.026) 0:00:31.812 ********* 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 13:29:48 +0000 (0:00:00.023) 0:00:31.836 ********* 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 13:29:48 +0000 (0:00:00.023) 0:00:31.859 ********* 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 13:29:48 +0000 (0:00:00.022) 0:00:31.882 ********* 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 13:29:48 +0000 (0:00:00.023) 0:00:31.905 ********* 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 13:29:48 +0000 (0:00:00.022) 0:00:31.928 ********* 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 13:29:48 +0000 (0:00:00.022) 0:00:31.950 ********* 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 13:29:48 +0000 (0:00:00.066) 0:00:32.017 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the disk device file system type to ext3] ************************* task path: /tmp/tmpfc26zqih/tests/storage/tests_swap.yml:50 Thursday 21 July 2022 13:29:48 +0000 (0:00:00.096) 0:00:32.114 ********* 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 13:29:48 +0000 (0:00:00.062) 0:00:32.176 ********* 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 13:29:48 +0000 (0:00:00.038) 0:00:32.215 ********* 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 13:29:49 +0000 (0:00:00.518) 0:00:32.733 ********* 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 13:29:49 +0000 (0:00:00.066) 0:00:32.800 ********* 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 13:29:49 +0000 (0:00:00.037) 0:00:32.837 ********* 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 13:29:49 +0000 (0:00:00.038) 0:00:32.875 ********* 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 13:29:49 +0000 (0:00:00.055) 0:00:32.931 ********* 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 13:29:49 +0000 (0:00:00.023) 0:00:32.955 ********* 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 13:29:49 +0000 (0:00:00.031) 0:00:32.986 ********* 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 13:29:49 +0000 (0:00:00.037) 0:00:33.023 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "mount_point": "/opt/test", "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 13:29:49 +0000 (0:00:00.040) 0:00:33.064 ********* 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 13:29:49 +0000 (0:00:00.032) 0:00:33.096 ********* 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 13:29:49 +0000 (0:00:00.029) 0:00:33.126 ********* 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 13:29:49 +0000 (0:00:00.028) 0:00:33.154 ********* 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 13:29:49 +0000 (0:00:00.026) 0:00:33.181 ********* 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 13:29:49 +0000 (0:00:00.057) 0:00:33.238 ********* 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 13:29:49 +0000 (0:00:00.021) 0:00:33.260 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext3" } ], "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": "swap", "path": "none", "src": "UUID=7ee7902e-1661-4f17-b244-2455bfb052fd", "state": "absent" }, { "fstype": "swap", "path": "none", "src": "UUID=7ee7902e-1661-4f17-b244-2455bfb052fd", "state": "absent" }, { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 13:29:51 +0000 (0:00:01.743) 0:00:35.003 ********* 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 13:29:51 +0000 (0:00:00.036) 0:00:35.040 ********* 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 13:29:51 +0000 (0:00:00.021) 0:00:35.061 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext3" } ], "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": "swap", "path": "none", "src": "UUID=7ee7902e-1661-4f17-b244-2455bfb052fd", "state": "absent" }, { "fstype": "swap", "path": "none", "src": "UUID=7ee7902e-1661-4f17-b244-2455bfb052fd", "state": "absent" }, { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 13:29:51 +0000 (0:00:00.042) 0:00:35.103 ********* 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 13:29:51 +0000 (0:00:00.041) 0:00:35.145 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 13:29:51 +0000 (0:00:00.038) 0:00:35.184 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=7ee7902e-1661-4f17-b244-2455bfb052fd', 'path': 'none', 'state': 'absent', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=7ee7902e-1661-4f17-b244-2455bfb052fd", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=7ee7902e-1661-4f17-b244-2455bfb052fd" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=7ee7902e-1661-4f17-b244-2455bfb052fd', 'fstype': 'swap', 'path': 'none', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=7ee7902e-1661-4f17-b244-2455bfb052fd", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=7ee7902e-1661-4f17-b244-2455bfb052fd" } 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 13:29:52 +0000 (0:00:00.761) 0:00:35.946 ********* 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 13:29:53 +0000 (0:00:00.668) 0:00:36.614 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2', 'path': '/opt/test', 'fstype': 'ext3', '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": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2" } 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 13:29:53 +0000 (0:00:00.413) 0:00:37.028 ********* 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 13:29:54 +0000 (0:00:00.659) 0:00:37.687 ********* 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 13:29:54 +0000 (0:00:00.372) 0:00:38.060 ********* 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 13:29:54 +0000 (0:00:00.022) 0:00:38.082 ********* 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_swap.yml:61 Thursday 21 July 2022 13:29:55 +0000 (0:00:00.980) 0:00:39.062 ********* 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 13:29:55 +0000 (0:00:00.045) 0:00:39.108 ********* 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 13:29:55 +0000 (0:00:00.033) 0:00:39.142 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 13:29:55 +0000 (0:00:00.086) 0:00:39.228 ********* 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": "ext3", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "181680f0-4f13-4b19-a2f4-8c328f22a0a2" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "71dc6fa6-1eb8-4e2f-a8f3-8bc826003e4a" }, "/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-13-29-04-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 13:29:56 +0000 (0:00:00.383) 0:00:39.611 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002579", "end": "2022-07-21 09:29:55.837007", "rc": 0, "start": "2022-07-21 09:29:55.834428" } 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=181680f0-4f13-4b19-a2f4-8c328f22a0a2 /opt/test ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 13:29:56 +0000 (0:00:00.347) 0:00:39.959 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002281", "end": "2022-07-21 09:29:56.174923", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:29:56.172642" } 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 13:29:56 +0000 (0:00:00.341) 0:00:40.300 ********* 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 13:29:56 +0000 (0:00:00.024) 0:00:40.324 ********* 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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test', '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': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2', '_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 13:29:56 +0000 (0:00:00.061) 0:00:40.385 ********* 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 13:29:57 +0000 (0:00:00.052) 0:00:40.438 ********* 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 13:29:57 +0000 (0:00:00.072) 0:00:40.510 ********* 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 13:29:57 +0000 (0:00:00.039) 0:00:40.550 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2558167, "block_used": 131095, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10478252032, "uuid": "181680f0-4f13-4b19-a2f4-8c328f22a0a2" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2558167, "block_used": 131095, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10478252032, "uuid": "181680f0-4f13-4b19-a2f4-8c328f22a0a2" } ], "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 13:29:57 +0000 (0:00:00.054) 0:00:40.604 ********* 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 13:29:57 +0000 (0:00:00.046) 0:00:40.650 ********* 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 13:29:57 +0000 (0:00:00.045) 0:00:40.696 ********* 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 13:29:57 +0000 (0:00:00.050) 0:00:40.746 ********* 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 13:29:57 +0000 (0:00:00.024) 0:00:40.770 ********* 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 13:29:57 +0000 (0:00:00.025) 0:00:40.796 ********* 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 13:29:57 +0000 (0:00:00.025) 0:00:40.821 ********* 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 13:29:57 +0000 (0:00:00.042) 0:00:40.863 ********* 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=181680f0-4f13-4b19-a2f4-8c328f22a0a2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "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 13:29:57 +0000 (0:00:00.058) 0:00:40.921 ********* 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 13:29:57 +0000 (0:00:00.046) 0:00:40.968 ********* 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 13:29:57 +0000 (0:00:00.050) 0:00:41.019 ********* 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 13:29:57 +0000 (0:00:00.035) 0:00:41.055 ********* 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 13:29:57 +0000 (0:00:00.034) 0:00:41.089 ********* 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 13:29:57 +0000 (0:00:00.041) 0:00:41.130 ********* 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 13:29:57 +0000 (0:00:00.042) 0:00:41.173 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410190.7933807, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658410190.7933807, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 362, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658410190.7933807, "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 13:29:58 +0000 (0:00:00.366) 0:00:41.540 ********* 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 13:29:58 +0000 (0:00:00.040) 0:00:41.581 ********* 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 13:29:58 +0000 (0:00:00.040) 0:00:41.622 ********* 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 13:29:58 +0000 (0:00:00.040) 0:00:41.662 ********* 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 13:29:58 +0000 (0:00:00.024) 0:00:41.686 ********* 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 13:29:58 +0000 (0:00:00.037) 0:00:41.724 ********* 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 13:29:58 +0000 (0:00:00.025) 0:00:41.749 ********* 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 13:29:59 +0000 (0:00:00.842) 0:00:42.592 ********* 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 13:29:59 +0000 (0:00:00.023) 0:00:42.615 ********* 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 13:29:59 +0000 (0:00:00.024) 0:00:42.640 ********* 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 13:29:59 +0000 (0:00:00.049) 0:00:42.690 ********* 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 13:29:59 +0000 (0:00:00.025) 0:00:42.716 ********* 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 13:29:59 +0000 (0:00:00.027) 0:00:42.743 ********* 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 13:29:59 +0000 (0:00:00.025) 0:00:42.768 ********* 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 13:29:59 +0000 (0:00:00.025) 0:00:42.794 ********* 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 13:29:59 +0000 (0:00:00.024) 0:00:42.819 ********* 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 13:29:59 +0000 (0:00:00.053) 0:00:42.872 ********* 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 13:29:59 +0000 (0:00:00.049) 0:00:42.921 ********* 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 13:29:59 +0000 (0:00:00.037) 0:00:42.958 ********* 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 13:29:59 +0000 (0:00:00.037) 0:00:42.996 ********* 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 13:29:59 +0000 (0:00:00.040) 0:00:43.037 ********* 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 13:29:59 +0000 (0:00:00.042) 0:00:43.079 ********* 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 13:29:59 +0000 (0:00:00.038) 0:00:43.117 ********* 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 13:29:59 +0000 (0:00:00.036) 0:00:43.154 ********* 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 13:29:59 +0000 (0:00:00.038) 0:00:43.192 ********* 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 13:29:59 +0000 (0:00:00.038) 0:00:43.231 ********* 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 13:29:59 +0000 (0:00:00.038) 0:00:43.270 ********* 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 13:29:59 +0000 (0:00:00.034) 0:00:43.305 ********* 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 13:29:59 +0000 (0:00:00.038) 0:00:43.343 ********* 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 13:29:59 +0000 (0:00:00.027) 0:00:43.371 ********* 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 13:29:59 +0000 (0:00:00.042) 0:00:43.413 ********* 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 13:30:00 +0000 (0:00:00.038) 0:00:43.451 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:30:00 +0000 (0:00:00.041) 0:00:43.493 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:30:00 +0000 (0:00:00.039) 0:00:43.533 ********* 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 13:30:00 +0000 (0:00:00.039) 0:00:43.572 ********* 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 13:30:00 +0000 (0:00:00.040) 0:00:43.612 ********* 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 13:30:00 +0000 (0:00:00.039) 0:00:43.652 ********* 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 13:30:00 +0000 (0:00:00.037) 0:00:43.689 ********* 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 13:30:00 +0000 (0:00:00.073) 0:00:43.763 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:30:00 +0000 (0:00:00.080) 0:00:43.843 ********* 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 13:30:00 +0000 (0:00:00.025) 0:00:43.868 ********* 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 13:30:00 +0000 (0:00:00.023) 0:00:43.891 ********* 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 13:30:00 +0000 (0:00:00.026) 0:00:43.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-cache.yml:22 Thursday 21 July 2022 13:30:00 +0000 (0:00:00.076) 0:00:43.994 ********* 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 13:30:00 +0000 (0:00:00.026) 0:00:44.021 ********* 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 13:30:00 +0000 (0:00:00.025) 0:00:44.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 13:30:00 +0000 (0:00:00.023) 0:00:44.070 ********* 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 13:30:00 +0000 (0:00:00.023) 0:00:44.093 ********* 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 13:30:00 +0000 (0:00:00.035) 0:00:44.129 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpfc26zqih/tests/storage/tests_swap.yml:63 Thursday 21 July 2022 13:30:00 +0000 (0:00:00.035) 0:00:44.165 ********* 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 13:30:00 +0000 (0:00:00.057) 0:00:44.222 ********* 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 13:30:00 +0000 (0:00:00.037) 0:00:44.260 ********* 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 13:30:01 +0000 (0:00:00.511) 0:00:44.771 ********* 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 13:30:01 +0000 (0:00:00.064) 0:00:44.836 ********* 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 13:30:01 +0000 (0:00:00.034) 0:00:44.870 ********* 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 13:30:01 +0000 (0:00:00.037) 0:00:44.908 ********* 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 13:30:01 +0000 (0:00:00.057) 0:00:44.966 ********* 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 13:30:01 +0000 (0:00:00.023) 0:00:44.990 ********* 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 13:30:01 +0000 (0:00:00.031) 0:00:45.021 ********* 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 13:30:01 +0000 (0:00:00.043) 0:00:45.065 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "ext3", "mount_point": "/opt/test", "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 13:30:01 +0000 (0:00:00.040) 0:00:45.106 ********* 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 13:30:01 +0000 (0:00:00.030) 0:00:45.136 ********* 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 13:30:01 +0000 (0:00:00.029) 0:00:45.166 ********* 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 13:30:01 +0000 (0:00:00.030) 0:00:45.196 ********* 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 13:30:01 +0000 (0:00:00.029) 0:00:45.225 ********* 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 13:30:01 +0000 (0:00:00.057) 0:00:45.283 ********* 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 13:30:01 +0000 (0:00:00.022) 0:00:45.306 ********* ok: [/cache/rhel-9.qcow2.snap] => { "actions": [], "changed": false, "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": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 13:30:03 +0000 (0:00:01.288) 0:00:46.594 ********* 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 13:30:03 +0000 (0:00:00.038) 0:00:46.633 ********* 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 13:30:03 +0000 (0:00:00.022) 0:00:46.655 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 13:30:03 +0000 (0:00:00.039) 0:00:46.694 ********* 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 13:30:03 +0000 (0:00:00.044) 0:00:46.739 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 13:30:03 +0000 (0:00:00.044) 0:00:46.783 ********* 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 13:30:03 +0000 (0:00:00.046) 0:00:46.829 ********* 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 13:30:04 +0000 (0:00:00.665) 0:00:47.495 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2', 'path': '/opt/test', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test", "src": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2", "state": "mounted" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2" } 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 13:30:04 +0000 (0:00:00.393) 0:00:47.888 ********* 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 13:30:05 +0000 (0:00:00.653) 0:00:48.542 ********* 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 13:30:05 +0000 (0:00:00.365) 0:00:48.907 ********* 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 13:30:05 +0000 (0:00:00.022) 0:00:48.930 ********* 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_swap.yml:74 Thursday 21 July 2022 13:30:06 +0000 (0:00:00.970) 0:00:49.901 ********* 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 13:30:06 +0000 (0:00:00.049) 0:00:49.950 ********* 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 13:30:06 +0000 (0:00:00.035) 0:00:49.986 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 13:30:06 +0000 (0:00:00.094) 0:00:50.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": "ext3", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "181680f0-4f13-4b19-a2f4-8c328f22a0a2" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "71dc6fa6-1eb8-4e2f-a8f3-8bc826003e4a" }, "/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-13-29-04-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 13:30:07 +0000 (0:00:00.417) 0:00:50.498 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002529", "end": "2022-07-21 09:30:06.738610", "rc": 0, "start": "2022-07-21 09:30:06.736081" } 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=181680f0-4f13-4b19-a2f4-8c328f22a0a2 /opt/test ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 13:30:07 +0000 (0:00:00.367) 0:00:50.866 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002431", "end": "2022-07-21 09:30:07.093131", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:30:07.090700" } 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 13:30:07 +0000 (0:00:00.364) 0:00:51.230 ********* 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 13:30:07 +0000 (0:00:00.022) 0:00:51.253 ********* 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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test', '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': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2', '_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 13:30:07 +0000 (0:00:00.058) 0:00:51.311 ********* 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 13:30:07 +0000 (0:00:00.047) 0:00:51.358 ********* 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 13:30:08 +0000 (0:00:00.086) 0:00:51.444 ********* 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 13:30:08 +0000 (0:00:00.050) 0:00:51.495 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2558167, "block_used": 131095, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10478252032, "uuid": "181680f0-4f13-4b19-a2f4-8c328f22a0a2" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2427072, "block_size": 4096, "block_total": 2558167, "block_used": 131095, "device": "/dev/sda", "fstype": "ext3", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test", "options": "rw,seclabel,relatime", "size_available": 9941286912, "size_total": 10478252032, "uuid": "181680f0-4f13-4b19-a2f4-8c328f22a0a2" } ], "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 13:30:08 +0000 (0:00:00.059) 0:00:51.554 ********* 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 13:30:08 +0000 (0:00:00.049) 0:00:51.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 13:30:08 +0000 (0:00:00.050) 0:00:51.654 ********* 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 13:30:08 +0000 (0:00:00.050) 0:00:51.704 ********* 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 13:30:08 +0000 (0:00:00.023) 0:00:51.728 ********* 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 13:30:08 +0000 (0:00:00.022) 0:00:51.750 ********* 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 13:30:08 +0000 (0:00:00.022) 0:00:51.773 ********* 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 13:30:08 +0000 (0:00:00.033) 0:00:51.806 ********* 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=181680f0-4f13-4b19-a2f4-8c328f22a0a2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test " ] }, "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 13:30:08 +0000 (0:00:00.062) 0:00:51.868 ********* 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 13:30:08 +0000 (0:00:00.049) 0:00:51.918 ********* 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 13:30:08 +0000 (0:00:00.046) 0:00:51.965 ********* 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 13:30:08 +0000 (0:00:00.036) 0:00:52.001 ********* 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 13:30:08 +0000 (0:00:00.035) 0:00:52.037 ********* 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 13:30:08 +0000 (0:00:00.041) 0:00:52.079 ********* 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 13:30:08 +0000 (0:00:00.042) 0:00:52.122 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410190.7933807, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658410190.7933807, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 362, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658410190.7933807, "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 13:30:09 +0000 (0:00:00.380) 0:00:52.502 ********* 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 13:30:09 +0000 (0:00:00.075) 0:00:52.577 ********* 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 13:30:09 +0000 (0:00:00.075) 0:00:52.653 ********* 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 13:30:09 +0000 (0:00:00.037) 0:00:52.691 ********* 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 13:30:09 +0000 (0:00:00.025) 0:00:52.716 ********* 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 13:30:09 +0000 (0:00:00.135) 0:00:52.851 ********* 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 13:30:09 +0000 (0:00:00.026) 0:00:52.877 ********* 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 13:30:10 +0000 (0:00:00.853) 0:00:53.731 ********* 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 13:30:10 +0000 (0:00:00.025) 0:00:53.756 ********* 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 13:30:10 +0000 (0:00:00.025) 0:00:53.781 ********* 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 13:30:10 +0000 (0:00:00.053) 0:00:53.835 ********* 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 13:30:10 +0000 (0:00:00.025) 0:00:53.861 ********* 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 13:30:10 +0000 (0:00:00.024) 0:00:53.886 ********* 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 13:30:10 +0000 (0:00:00.024) 0:00:53.911 ********* 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 13:30:10 +0000 (0:00:00.026) 0:00:53.937 ********* 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 13:30:10 +0000 (0:00:00.024) 0:00:53.962 ********* 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 13:30:10 +0000 (0:00:00.052) 0:00:54.015 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 13:30:10 +0000 (0:00:00.052) 0:00:54.067 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 13:30:10 +0000 (0:00:00.040) 0:00:54.108 ********* 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 13:30:10 +0000 (0:00:00.038) 0:00:54.146 ********* 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 13:30:10 +0000 (0:00:00.038) 0:00:54.184 ********* 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 13:30:10 +0000 (0:00:00.036) 0:00:54.221 ********* 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 13:30:10 +0000 (0:00:00.040) 0:00:54.261 ********* 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 13:30:10 +0000 (0:00:00.035) 0:00:54.297 ********* 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 13:30:10 +0000 (0:00:00.035) 0:00:54.332 ********* 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 13:30:10 +0000 (0:00:00.036) 0:00:54.369 ********* 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 13:30:10 +0000 (0:00:00.041) 0:00:54.411 ********* 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 13:30:11 +0000 (0:00:00.038) 0:00:54.449 ********* 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 13:30:11 +0000 (0:00:00.039) 0:00:54.489 ********* 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 13:30:11 +0000 (0:00:00.026) 0:00:54.516 ********* 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 13:30:11 +0000 (0:00:00.040) 0:00:54.556 ********* 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 13:30:11 +0000 (0:00:00.035) 0:00:54.592 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:30:11 +0000 (0:00:00.038) 0:00:54.630 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:30:11 +0000 (0:00:00.036) 0:00:54.667 ********* 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 13:30:11 +0000 (0:00:00.041) 0:00:54.708 ********* 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 13:30:11 +0000 (0:00:00.036) 0:00:54.745 ********* 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 13:30:11 +0000 (0:00:00.036) 0:00:54.781 ********* 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 13:30:11 +0000 (0:00:00.035) 0:00:54.817 ********* 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 13:30:11 +0000 (0:00:00.038) 0:00:54.856 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:30:11 +0000 (0:00:00.035) 0:00:54.892 ********* 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 13:30:11 +0000 (0:00:00.024) 0:00:54.916 ********* 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 13:30:11 +0000 (0:00:00.023) 0:00:54.940 ********* 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 13:30:11 +0000 (0:00:00.026) 0:00:54.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-cache.yml:22 Thursday 21 July 2022 13:30:11 +0000 (0:00:00.026) 0:00:54.992 ********* 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 13:30:11 +0000 (0:00:00.026) 0:00:55.019 ********* 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 13:30:11 +0000 (0:00:00.024) 0:00:55.044 ********* 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 13:30:11 +0000 (0:00:00.028) 0:00:55.072 ********* 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 13:30:11 +0000 (0:00:00.025) 0:00:55.098 ********* 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 13:30:11 +0000 (0:00:00.072) 0:00:55.170 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change it back to swap] ************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_swap.yml:76 Thursday 21 July 2022 13:30:11 +0000 (0:00:00.072) 0:00:55.243 ********* 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 13:30:11 +0000 (0:00:00.093) 0:00:55.336 ********* 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 13:30:11 +0000 (0:00:00.036) 0:00:55.373 ********* 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 13:30:12 +0000 (0:00:00.507) 0:00:55.880 ********* 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 13:30:12 +0000 (0:00:00.064) 0:00:55.944 ********* 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 13:30:12 +0000 (0:00:00.037) 0:00:55.981 ********* 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 13:30:12 +0000 (0:00:00.036) 0:00:56.018 ********* 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 13:30:12 +0000 (0:00:00.067) 0:00:56.086 ********* 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 13:30:12 +0000 (0:00:00.026) 0:00:56.113 ********* 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 13:30:12 +0000 (0:00:00.032) 0:00:56.145 ********* 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 13:30:12 +0000 (0:00:00.041) 0:00:56.186 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "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 13:30:12 +0000 (0:00:00.042) 0:00:56.229 ********* 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 13:30:12 +0000 (0:00:00.036) 0:00:56.265 ********* 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 13:30:12 +0000 (0:00:00.030) 0:00:56.295 ********* 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 13:30:12 +0000 (0:00:00.028) 0:00:56.324 ********* 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 13:30:12 +0000 (0:00:00.026) 0:00:56.351 ********* 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 13:30:12 +0000 (0:00:00.058) 0:00:56.409 ********* 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 13:30:13 +0000 (0:00:00.023) 0:00:56.433 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext3" }, { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": "ext3", "path": "/opt/test", "src": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2", "state": "absent" }, { "path": "/opt/test", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "state": "present" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 13:30:14 +0000 (0:00:01.774) 0:00:58.207 ********* 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 13:30:14 +0000 (0:00:00.039) 0:00:58.247 ********* 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 13:30:14 +0000 (0:00:00.025) 0:00:58.272 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext3" }, { "action": "create format", "device": "/dev/sda", "fs_type": "swap" } ], "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": "ext3", "path": "/opt/test", "src": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2", "state": "absent" }, { "path": "/opt/test", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "state": "present" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 13:30:14 +0000 (0:00:00.042) 0:00:58.315 ********* 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 13:30:14 +0000 (0:00:00.038) 0:00:58.353 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 13:30:14 +0000 (0:00:00.043) 0:00:58.397 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2', 'path': '/opt/test', 'state': 'absent', 'fstype': 'ext3'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "fstype": "ext3", "path": "/opt/test", "src": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0", "src": "UUID=181680f0-4f13-4b19-a2f4-8c328f22a0a2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-9.qcow2.snap] => (item={'path': '/opt/test', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test", "state": "absent" }, "name": "/opt/test", "opts": "defaults", "passno": "0" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 13:30:15 +0000 (0:00:00.732) 0:00:59.129 ********* 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 13:30:16 +0000 (0:00:00.657) 0:00:59.786 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a" } 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 13:30:16 +0000 (0:00:00.400) 0:01:00.187 ********* 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 13:30:17 +0000 (0:00:00.659) 0:01:00.847 ********* 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 13:30:17 +0000 (0:00:00.382) 0:01:01.229 ********* 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 13:30:17 +0000 (0:00:00.022) 0:01:01.252 ********* 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_swap.yml:86 Thursday 21 July 2022 13:30:18 +0000 (0:00:00.993) 0:01:02.246 ********* 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 13:30:18 +0000 (0:00:00.054) 0:01:02.300 ********* 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 13:30:18 +0000 (0:00:00.037) 0:01:02.338 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 13:30:18 +0000 (0:00:00.053) 0:01:02.391 ********* 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": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "2c78e689-fd7d-43e6-9db7-4714abf7475a" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "71dc6fa6-1eb8-4e2f-a8f3-8bc826003e4a" }, "/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-13-29-04-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 13:30:19 +0000 (0:00:00.370) 0:01:02.761 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002415", "end": "2022-07-21 09:30:18.991946", "rc": 0, "start": "2022-07-21 09:30:18.989531" } 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=2c78e689-fd7d-43e6-9db7-4714abf7475a none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 13:30:19 +0000 (0:00:00.355) 0:01:03.117 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003531", "end": "2022-07-21 09:30:19.369101", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:30:19.365570" } 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 13:30:20 +0000 (0:00:00.379) 0:01:03.497 ********* 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 13:30:20 +0000 (0:00:00.021) 0:01:03.519 ********* 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': 'swap', 'mount_options': 'defaults', 'mount_point': None, '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': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a', '_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 13:30:20 +0000 (0:00:00.055) 0:01:03.574 ********* 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 13:30:20 +0000 (0:00:00.046) 0:01:03.620 ********* 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 13:30:20 +0000 (0:00:00.075) 0:01:03.695 ********* 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 13:30:20 +0000 (0:00:00.044) 0:01:03.740 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "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 13:30:20 +0000 (0:00:00.096) 0:01:03.837 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 13:30:20 +0000 (0:00:00.026) 0:01:03.863 ********* 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 13:30:20 +0000 (0:00:00.126) 0:01:03.989 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 13:30:20 +0000 (0:00:00.039) 0:01:04.029 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.002537", "end": "2022-07-21 09:30:20.276150", "rc": 0, "start": "2022-07-21 09:30:20.273613" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 13:30:20 +0000 (0:00:00.372) 0:01:04.401 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.002393", "end": "2022-07-21 09:30:20.641131", "rc": 0, "start": "2022-07-21 09:30:20.638738" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 13:30:21 +0000 (0:00:00.364) 0:01:04.766 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 13:30:21 +0000 (0:00:00.051) 0:01:04.818 ********* 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 13:30:21 +0000 (0:00:00.037) 0:01:04.856 ********* 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": "0", "storage_test_fstab_id_matches": [ "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 13:30:21 +0000 (0:00:00.065) 0:01:04.921 ********* 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 13:30:21 +0000 (0:00:00.051) 0:01:04.973 ********* 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 13:30:21 +0000 (0:00:00.050) 0:01:05.023 ********* 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 13:30:21 +0000 (0:00:00.035) 0:01:05.058 ********* 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 13:30:21 +0000 (0:00:00.034) 0:01:05.093 ********* 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 13:30:21 +0000 (0:00:00.039) 0:01:05.133 ********* 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 13:30:21 +0000 (0:00:00.040) 0:01:05.174 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410214.0413806, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658410214.0193808, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 362, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658410214.0193808, "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 13:30:22 +0000 (0:00:00.363) 0:01:05.537 ********* 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 13:30:22 +0000 (0:00:00.039) 0:01:05.576 ********* 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 13:30:22 +0000 (0:00:00.039) 0:01:05.616 ********* 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 13:30:22 +0000 (0:00:00.036) 0:01:05.653 ********* 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 13:30:22 +0000 (0:00:00.026) 0:01:05.680 ********* 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 13:30:22 +0000 (0:00:00.035) 0:01:05.715 ********* 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 13:30:22 +0000 (0:00:00.021) 0:01:05.737 ********* 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 13:30:23 +0000 (0:00:00.810) 0:01:06.548 ********* 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 13:30:23 +0000 (0:00:00.025) 0:01:06.573 ********* 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 13:30:23 +0000 (0:00:00.023) 0:01:06.596 ********* 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 13:30:23 +0000 (0:00:00.052) 0:01:06.649 ********* 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 13:30:23 +0000 (0:00:00.025) 0:01:06.674 ********* 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 13:30:23 +0000 (0:00:00.039) 0:01:06.714 ********* 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 13:30:23 +0000 (0:00:00.027) 0:01:06.741 ********* 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 13:30:23 +0000 (0:00:00.025) 0:01:06.766 ********* 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 13:30:23 +0000 (0:00:00.025) 0:01:06.792 ********* 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 13:30:23 +0000 (0:00:00.083) 0:01:06.875 ********* 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 13:30:23 +0000 (0:00:00.078) 0:01:06.954 ********* 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 13:30:23 +0000 (0:00:00.037) 0:01:06.991 ********* 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 13:30:23 +0000 (0:00:00.035) 0:01:07.027 ********* 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 13:30:23 +0000 (0:00:00.037) 0:01:07.064 ********* 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 13:30:23 +0000 (0:00:00.079) 0:01:07.143 ********* 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 13:30:23 +0000 (0:00:00.039) 0:01:07.182 ********* 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 13:30:23 +0000 (0:00:00.038) 0:01:07.221 ********* 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 13:30:23 +0000 (0:00:00.036) 0:01:07.258 ********* 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 13:30:23 +0000 (0:00:00.034) 0:01:07.292 ********* 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 13:30:23 +0000 (0:00:00.033) 0:01:07.326 ********* 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 13:30:23 +0000 (0:00:00.033) 0:01:07.359 ********* 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 13:30:23 +0000 (0:00:00.035) 0:01:07.395 ********* 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 13:30:23 +0000 (0:00:00.022) 0:01:07.418 ********* 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 13:30:24 +0000 (0:00:00.033) 0:01:07.451 ********* 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 13:30:24 +0000 (0:00:00.035) 0:01:07.487 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:30:24 +0000 (0:00:00.044) 0:01:07.531 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:30:24 +0000 (0:00:00.045) 0:01:07.577 ********* 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 13:30:24 +0000 (0:00:00.037) 0:01:07.615 ********* 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 13:30:24 +0000 (0:00:00.039) 0:01:07.654 ********* 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 13:30:24 +0000 (0:00:00.040) 0:01:07.695 ********* 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 13:30:24 +0000 (0:00:00.036) 0:01:07.732 ********* 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 13:30:24 +0000 (0:00:00.038) 0:01:07.771 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:30:24 +0000 (0:00:00.035) 0:01:07.806 ********* 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 13:30:24 +0000 (0:00:00.025) 0:01:07.832 ********* 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 13:30:24 +0000 (0:00:00.025) 0:01:07.857 ********* 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 13:30:24 +0000 (0:00:00.026) 0:01:07.884 ********* 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 13:30:24 +0000 (0:00:00.024) 0:01:07.909 ********* 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 13:30:24 +0000 (0:00:00.025) 0:01:07.934 ********* 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 13:30:24 +0000 (0:00:00.024) 0:01:07.958 ********* 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 13:30:24 +0000 (0:00:00.026) 0:01:07.985 ********* 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 13:30:24 +0000 (0:00:00.024) 0:01:08.009 ********* 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 13:30:24 +0000 (0:00:00.037) 0:01:08.047 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpfc26zqih/tests/storage/tests_swap.yml:88 Thursday 21 July 2022 13:30:24 +0000 (0:00:00.033) 0:01:08.081 ********* 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 13:30:24 +0000 (0:00:00.069) 0:01:08.150 ********* 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 13:30:24 +0000 (0:00:00.034) 0:01:08.185 ********* 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 13:30:25 +0000 (0:00:00.507) 0:01:08.693 ********* 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 13:30:25 +0000 (0:00:00.135) 0:01:08.828 ********* 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 13:30:25 +0000 (0:00:00.036) 0:01:08.865 ********* 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 13:30:25 +0000 (0:00:00.036) 0:01:08.901 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 13:30:25 +0000 (0:00:00.054) 0:01:08.955 ********* 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 13:30:25 +0000 (0:00:00.021) 0:01:08.977 ********* 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 13:30:25 +0000 (0:00:00.029) 0:01:09.007 ********* 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 13:30:25 +0000 (0:00:00.038) 0:01:09.045 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "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 13:30:25 +0000 (0:00:00.056) 0:01:09.102 ********* 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 13:30:25 +0000 (0:00:00.030) 0:01:09.133 ********* 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 13:30:25 +0000 (0:00:00.028) 0:01:09.161 ********* 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 13:30:25 +0000 (0:00:00.026) 0:01:09.188 ********* 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 13:30:25 +0000 (0:00:00.027) 0:01:09.216 ********* 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 13:30:25 +0000 (0:00:00.054) 0:01:09.270 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 13:30:25 +0000 (0:00:00.021) 0:01:09.291 ********* ok: [/cache/rhel-9.qcow2.snap] => { "actions": [], "changed": false, "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": "swap", "path": "none", "src": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "state": "present" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 13:30:27 +0000 (0:00:01.268) 0:01:10.560 ********* 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 13:30:27 +0000 (0:00:00.036) 0:01:10.596 ********* 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 13:30:27 +0000 (0:00:00.022) 0:01:10.619 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "fstype": "swap", "path": "none", "src": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "state": "absent" }, { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "state": "present" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 13:30:27 +0000 (0:00:00.042) 0:01:10.661 ********* 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 13:30:27 +0000 (0:00:00.042) 0:01:10.704 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 13:30:27 +0000 (0:00:00.038) 0:01:10.742 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a', 'fstype': 'swap', 'path': 'none', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a" } 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 13:30:27 +0000 (0:00:00.399) 0:01:11.142 ********* 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 13:30:28 +0000 (0:00:00.672) 0:01:11.814 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a', 'path': 'none', 'fstype': 'swap', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'present'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "dump": 0, "fstype": "swap", "opts": "defaults", "passno": 0, "path": "none", "src": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "state": "present" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a" } 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 13:30:28 +0000 (0:00:00.446) 0:01:12.261 ********* 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 13:30:29 +0000 (0:00:00.689) 0:01:12.950 ********* 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 13:30:29 +0000 (0:00:00.358) 0:01:13.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 13:30:29 +0000 (0:00:00.023) 0:01:13.332 ********* 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_swap.yml:98 Thursday 21 July 2022 13:30:30 +0000 (0:00:00.977) 0:01:14.310 ********* 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 13:30:30 +0000 (0:00:00.055) 0:01:14.365 ********* 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 13:30:30 +0000 (0:00:00.040) 0:01:14.406 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "_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": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "test1", "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 13:30:31 +0000 (0:00:00.050) 0:01:14.457 ********* 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": "swap", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "2c78e689-fd7d-43e6-9db7-4714abf7475a" }, "/dev/sdb": { "fstype": "ext3", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "71dc6fa6-1eb8-4e2f-a8f3-8bc826003e4a" }, "/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-13-29-04-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 13:30:31 +0000 (0:00:00.382) 0:01:14.839 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002600", "end": "2022-07-21 09:30:31.080135", "rc": 0, "start": "2022-07-21 09:30:31.077535" } 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=2c78e689-fd7d-43e6-9db7-4714abf7475a none swap defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 13:30:31 +0000 (0:00:00.368) 0:01:15.207 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002334", "end": "2022-07-21 09:30:31.439870", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:30:31.437536" } 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 13:30:32 +0000 (0:00:00.366) 0:01:15.574 ********* 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 13:30:32 +0000 (0:00:00.029) 0:01:15.603 ********* 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': 'swap', 'mount_options': 'defaults', 'mount_point': None, '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': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a', '_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 13:30:32 +0000 (0:00:00.070) 0:01:15.674 ********* 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 13:30:32 +0000 (0:00:00.085) 0:01:15.759 ********* 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 13:30:32 +0000 (0:00:00.076) 0:01:15.836 ********* 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 13:30:32 +0000 (0:00:00.125) 0:01:15.961 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "1" }, "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 13:30:32 +0000 (0:00:00.056) 0:01:16.017 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 13:30:32 +0000 (0:00:00.026) 0:01:16.044 ********* 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 13:30:32 +0000 (0:00:00.052) 0:01:16.096 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 13:30:32 +0000 (0:00:00.037) 0:01:16.134 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.002628", "end": "2022-07-21 09:30:32.389763", "rc": 0, "start": "2022-07-21 09:30:32.387135" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 13:30:33 +0000 (0:00:00.383) 0:01:16.518 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.003756", "end": "2022-07-21 09:30:32.766691", "rc": 0, "start": "2022-07-21 09:30:32.762935" } STDOUT: Filename Type Size Used Priority /dev/sda partition 10485756 0 -2 TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 13:30:33 +0000 (0:00:00.378) 0:01:16.896 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 13:30:33 +0000 (0:00:00.050) 0:01:16.947 ********* 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 13:30:33 +0000 (0:00:00.038) 0:01:16.986 ********* 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": "0", "storage_test_fstab_id_matches": [ "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a " ], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 13:30:33 +0000 (0:00:00.061) 0:01:17.047 ********* 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 13:30:33 +0000 (0:00:00.049) 0:01:17.096 ********* 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 13:30:33 +0000 (0:00:00.049) 0:01:17.145 ********* 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 13:30:33 +0000 (0:00:00.034) 0:01:17.179 ********* 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 13:30:33 +0000 (0:00:00.034) 0:01:17.214 ********* 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 13:30:33 +0000 (0:00:00.035) 0:01:17.250 ********* 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 13:30:33 +0000 (0:00:00.038) 0:01:17.289 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410214.0413806, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658410214.0193808, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 362, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658410214.0193808, "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 13:30:34 +0000 (0:00:00.363) 0:01:17.652 ********* 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 13:30:34 +0000 (0:00:00.040) 0:01:17.693 ********* 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 13:30:34 +0000 (0:00:00.040) 0:01:17.733 ********* 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 13:30:34 +0000 (0:00:00.037) 0:01:17.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 13:30:34 +0000 (0:00:00.026) 0:01:17.798 ********* 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 13:30:34 +0000 (0:00:00.039) 0:01:17.837 ********* 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 13:30:34 +0000 (0:00:00.030) 0:01:17.867 ********* 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 13:30:35 +0000 (0:00:00.879) 0:01:18.747 ********* 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 13:30:35 +0000 (0:00:00.027) 0:01:18.774 ********* 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 13:30:35 +0000 (0:00:00.028) 0:01:18.803 ********* 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 13:30:35 +0000 (0:00:00.114) 0:01:18.917 ********* 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 13:30:35 +0000 (0:00:00.025) 0:01:18.943 ********* 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 13:30:35 +0000 (0:00:00.025) 0:01:18.969 ********* 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 13:30:35 +0000 (0:00:00.027) 0:01:18.996 ********* 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 13:30:35 +0000 (0:00:00.025) 0:01:19.021 ********* 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 13:30:35 +0000 (0:00:00.024) 0:01:19.046 ********* 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 13:30:35 +0000 (0:00:00.053) 0:01:19.099 ********* 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 13:30:35 +0000 (0:00:00.053) 0:01:19.153 ********* 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 13:30:35 +0000 (0:00:00.038) 0:01:19.191 ********* 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 13:30:35 +0000 (0:00:00.037) 0:01:19.229 ********* 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 13:30:35 +0000 (0:00:00.039) 0:01:19.268 ********* 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 13:30:35 +0000 (0:00:00.039) 0:01:19.307 ********* 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 13:30:35 +0000 (0:00:00.037) 0:01:19.345 ********* 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 13:30:35 +0000 (0:00:00.038) 0:01:19.383 ********* 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 13:30:35 +0000 (0:00:00.038) 0:01:19.422 ********* 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 13:30:36 +0000 (0:00:00.041) 0:01:19.464 ********* 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 13:30:36 +0000 (0:00:00.037) 0:01:19.501 ********* 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 13:30:36 +0000 (0:00:00.037) 0:01:19.539 ********* 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 13:30:36 +0000 (0:00:00.036) 0:01:19.575 ********* 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 13:30:36 +0000 (0:00:00.025) 0:01:19.601 ********* 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 13:30:36 +0000 (0:00:00.037) 0:01:19.638 ********* 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 13:30:36 +0000 (0:00:00.039) 0:01:19.677 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:30:36 +0000 (0:00:00.039) 0:01:19.716 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:30:36 +0000 (0:00:00.040) 0:01:19.757 ********* 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 13:30:36 +0000 (0:00:00.039) 0:01:19.797 ********* 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 13:30:36 +0000 (0:00:00.037) 0:01:19.835 ********* 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 13:30:36 +0000 (0:00:00.038) 0:01:19.874 ********* 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 13:30:36 +0000 (0:00:00.040) 0:01:19.915 ********* 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 13:30:36 +0000 (0:00:00.039) 0:01:19.954 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:30:36 +0000 (0:00:00.036) 0:01:19.991 ********* 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 13:30:36 +0000 (0:00:00.026) 0:01:20.018 ********* 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 13:30:36 +0000 (0:00:00.027) 0:01:20.045 ********* 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 13:30:36 +0000 (0:00:00.025) 0:01:20.071 ********* 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 13:30:36 +0000 (0:00:00.024) 0:01:20.096 ********* 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 13:30:36 +0000 (0:00:00.025) 0:01:20.121 ********* 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 13:30:36 +0000 (0:00:00.025) 0:01:20.147 ********* 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 13:30:36 +0000 (0:00:00.025) 0:01:20.173 ********* 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 13:30:36 +0000 (0:00:00.025) 0:01:20.198 ********* 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 13:30:36 +0000 (0:00:00.036) 0:01:20.234 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/tests_swap.yml:100 Thursday 21 July 2022 13:30:36 +0000 (0:00:00.037) 0:01:20.272 ********* 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 13:30:36 +0000 (0:00:00.109) 0:01:20.382 ********* 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 13:30:37 +0000 (0:00:00.047) 0:01:20.430 ********* 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 13:30:37 +0000 (0:00:00.547) 0:01:20.978 ********* 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 13:30:37 +0000 (0:00:00.068) 0:01:21.046 ********* 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 13:30:37 +0000 (0:00:00.037) 0:01:21.083 ********* 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 13:30:37 +0000 (0:00:00.037) 0:01:21.120 ********* 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 13:30:37 +0000 (0:00:00.058) 0:01:21.179 ********* 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 13:30:37 +0000 (0:00:00.021) 0:01:21.201 ********* 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 13:30:37 +0000 (0:00:00.032) 0:01:21.233 ********* 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 13:30:37 +0000 (0:00:00.043) 0:01:21.277 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_volumes": [ { "disks": [ "sda" ], "mount_point": "/opt/test", "name": "test1", "state": "absent", "type": "disk" }, { "disks": [ "sdb" ], "mount_point": "none", "name": "test2", "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 13:30:37 +0000 (0:00:00.042) 0:01:21.319 ********* 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 13:30:37 +0000 (0:00:00.031) 0:01:21.351 ********* 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 13:30:37 +0000 (0:00:00.031) 0:01:21.382 ********* 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 13:30:37 +0000 (0:00:00.032) 0:01:21.414 ********* 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 13:30:38 +0000 (0:00:00.030) 0:01:21.445 ********* 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 13:30:38 +0000 (0:00:00.062) 0:01:21.507 ********* 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 13:30:38 +0000 (0:00:00.022) 0:01:21.529 ********* changed: [/cache/rhel-9.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "ext3" }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" } ], "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": "swap", "path": "none", "src": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "_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": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 }, { "_device": "/dev/sdb", "_mount_id": "UUID=71dc6fa6-1eb8-4e2f-a8f3-8bc826003e4a", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "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": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 13:30:39 +0000 (0:00:01.615) 0:01:23.145 ********* 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 13:30:39 +0000 (0:00:00.040) 0:01:23.185 ********* 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 13:30:39 +0000 (0:00:00.023) 0:01:23.209 ********* ok: [/cache/rhel-9.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sdb", "fs_type": "ext3" }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "swap" } ], "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": "swap", "path": "none", "src": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "state": "absent" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "_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": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 }, { "_device": "/dev/sdb", "_mount_id": "UUID=71dc6fa6-1eb8-4e2f-a8f3-8bc826003e4a", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "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": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 13:30:39 +0000 (0:00:00.044) 0:01:23.254 ********* 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 13:30:39 +0000 (0:00:00.038) 0:01:23.293 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "_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": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 }, { "_device": "/dev/sdb", "_mount_id": "UUID=71dc6fa6-1eb8-4e2f-a8f3-8bc826003e4a", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "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": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 13:30:39 +0000 (0:00:00.039) 0:01:23.332 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-9.qcow2.snap] => (item={'src': 'UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a', 'path': 'none', 'state': 'absent', 'fstype': 'swap'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "mount_info": { "fstype": "swap", "path": "none", "src": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "state": "absent" }, "name": "none", "opts": "defaults", "passno": "0", "src": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a" } 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 13:30:40 +0000 (0:00:00.390) 0:01:23.723 ********* 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 13:30:40 +0000 (0:00:00.669) 0:01:24.392 ********* 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 13:30:41 +0000 (0:00:00.040) 0:01:24.433 ********* 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 13:30:41 +0000 (0:00:00.777) 0:01:25.210 ********* 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 13:30:42 +0000 (0:00:00.376) 0:01:25.587 ********* 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 13:30:42 +0000 (0:00:00.022) 0:01:25.610 ********* 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_swap.yml:116 Thursday 21 July 2022 13:30:43 +0000 (0:00:00.993) 0:01:26.604 ********* 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 13:30:43 +0000 (0:00:00.058) 0:01:26.662 ********* 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 13:30:43 +0000 (0:00:00.038) 0:01:26.701 ********* ok: [/cache/rhel-9.qcow2.snap] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a", "_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": "swap", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test", "name": "test1", "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 }, { "_device": "/dev/sdb", "_mount_id": "UUID=71dc6fa6-1eb8-4e2f-a8f3-8bc826003e4a", "_raw_device": "/dev/sdb", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb" ], "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": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "none", "name": "test2", "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 [Collect info about the volumes.] ***************************************** task path: /tmp/tmpfc26zqih/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 13:30:43 +0000 (0:00:00.054) 0:01:26.756 ********* 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-13-29-04-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 13:30:43 +0000 (0:00:00.379) 0:01:27.135 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002622", "end": "2022-07-21 09:30:43.383073", "rc": 0, "start": "2022-07-21 09:30:43.380451" } 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 13:30:44 +0000 (0:00:00.376) 0:01:27.511 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002327", "end": "2022-07-21 09:30:43.732582", "failed_when_result": false, "rc": 1, "start": "2022-07-21 09:30:43.730255" } 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 13:30:44 +0000 (0:00:00.346) 0:01:27.858 ********* 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 13:30:44 +0000 (0:00:00.022) 0:01:27.880 ********* 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': 'swap', 'mount_options': 'defaults', 'mount_point': '/opt/test', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=2c78e689-fd7d-43e6-9db7-4714abf7475a'}) 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': 'ext3', 'mount_options': 'defaults', 'mount_point': 'none', 'name': 'test2', 'raid_level': None, 'size': 10737418240, 'state': 'absent', 'type': 'disk', 'disks': ['sdb'], '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/sdb', '_raw_device': '/dev/sdb', '_mount_id': 'UUID=71dc6fa6-1eb8-4e2f-a8f3-8bc826003e4a'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 13:30:44 +0000 (0:00:00.071) 0:01:27.952 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 13:30:44 +0000 (0:00:00.096) 0:01:28.049 ********* 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 13:30:44 +0000 (0:00:00.074) 0:01:28.124 ********* 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 13:30:44 +0000 (0:00:00.121) 0:01:28.246 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 13:30:44 +0000 (0:00:00.054) 0:01:28.300 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 13:30:44 +0000 (0:00:00.023) 0:01:28.324 ********* 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 13:30:44 +0000 (0:00:00.052) 0:01:28.376 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 13:30:44 +0000 (0:00:00.038) 0:01:28.415 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "realpath", "/dev/sda" ], "delta": "0:00:00.002446", "end": "2022-07-21 09:30:44.653605", "rc": 0, "start": "2022-07-21 09:30:44.651159" } STDOUT: /dev/sda TASK [Gather swap info] ******************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 13:30:45 +0000 (0:00:00.364) 0:01:28.780 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "cat", "/proc/swaps" ], "delta": "0:00:00.002589", "end": "2022-07-21 09:30:45.023063", "rc": 0, "start": "2022-07-21 09:30:45.020474" } STDOUT: Filename Type Size Used Priority TASK [Verify swap status] ****************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 13:30:45 +0000 (0:00:00.370) 0:01:29.150 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Unset facts] ************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 13:30:45 +0000 (0:00:00.053) 0:01:29.203 ********* 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 13:30:45 +0000 (0:00:00.037) 0:01:29.241 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 13:30:45 +0000 (0:00:00.066) 0:01:29.307 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 13:30:45 +0000 (0:00:00.024) 0:01:29.332 ********* 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 13:30:45 +0000 (0:00:00.053) 0:01:29.385 ********* 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 13:30:45 +0000 (0:00:00.038) 0:01:29.424 ********* 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 13:30:46 +0000 (0:00:00.039) 0:01:29.463 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 13:30:46 +0000 (0:00:00.025) 0:01:29.488 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 13:30:46 +0000 (0:00:00.023) 0:01:29.512 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410238.9533808, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658410238.9533808, "dev": 5, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 362, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658410238.9533808, "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 13:30:46 +0000 (0:00:00.373) 0:01:29.885 ********* 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 13:30:46 +0000 (0:00:00.040) 0:01:29.926 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 13:30:46 +0000 (0:00:00.025) 0:01:29.951 ********* 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 13:30:46 +0000 (0:00:00.037) 0:01:29.989 ********* 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 13:30:46 +0000 (0:00:00.025) 0:01:30.014 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 13:30:46 +0000 (0:00:00.025) 0:01:30.039 ********* 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 13:30:46 +0000 (0:00:00.024) 0:01:30.064 ********* 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 13:30:47 +0000 (0:00:00.874) 0:01:30.939 ********* 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 13:30:47 +0000 (0:00:00.028) 0:01:30.968 ********* 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 13:30:47 +0000 (0:00:00.024) 0:01:30.992 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 13:30:47 +0000 (0:00:00.025) 0:01:31.018 ********* 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 13:30:47 +0000 (0:00:00.024) 0:01:31.042 ********* 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 13:30:47 +0000 (0:00:00.023) 0:01:31.066 ********* 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 13:30:47 +0000 (0:00:00.025) 0:01:31.091 ********* 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 13:30:47 +0000 (0:00:00.025) 0:01:31.116 ********* 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 13:30:47 +0000 (0:00:00.023) 0:01:31.140 ********* 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 13:30:47 +0000 (0:00:00.087) 0:01:31.228 ********* 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 13:30:47 +0000 (0:00:00.083) 0:01:31.311 ********* 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 13:30:47 +0000 (0:00:00.037) 0:01:31.349 ********* 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 13:30:47 +0000 (0:00:00.037) 0:01:31.386 ********* 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 13:30:47 +0000 (0:00:00.039) 0:01:31.425 ********* 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 13:30:48 +0000 (0:00:00.079) 0:01:31.505 ********* 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 13:30:48 +0000 (0:00:00.038) 0:01:31.544 ********* 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 13:30:48 +0000 (0:00:00.037) 0:01:31.582 ********* 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 13:30:48 +0000 (0:00:00.039) 0:01:31.621 ********* 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 13:30:48 +0000 (0:00:00.038) 0:01:31.660 ********* 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 13:30:48 +0000 (0:00:00.038) 0:01:31.699 ********* 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 13:30:48 +0000 (0:00:00.037) 0:01:31.737 ********* 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 13:30:48 +0000 (0:00:00.039) 0:01:31.776 ********* 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 13:30:48 +0000 (0:00:00.025) 0:01:31.802 ********* 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 13:30:48 +0000 (0:00:00.045) 0:01:31.847 ********* 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 13:30:48 +0000 (0:00:00.042) 0:01:31.890 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:30:48 +0000 (0:00:00.044) 0:01:31.935 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:30:48 +0000 (0:00:00.041) 0:01:31.977 ********* 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 13:30:48 +0000 (0:00:00.040) 0:01:32.017 ********* 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 13:30:48 +0000 (0:00:00.038) 0:01:32.056 ********* 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 13:30:48 +0000 (0:00:00.042) 0:01:32.098 ********* 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 13:30:48 +0000 (0:00:00.039) 0:01:32.137 ********* 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 13:30:48 +0000 (0:00:00.038) 0:01:32.176 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:30:48 +0000 (0:00:00.037) 0:01:32.214 ********* 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 13:30:48 +0000 (0:00:00.028) 0:01:32.242 ********* 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 13:30:48 +0000 (0:00:00.025) 0:01:32.268 ********* 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 13:30:48 +0000 (0:00:00.025) 0:01:32.294 ********* 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 13:30:48 +0000 (0:00:00.024) 0:01:32.318 ********* 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 13:30:48 +0000 (0:00:00.024) 0:01:32.343 ********* 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 13:30:48 +0000 (0:00:00.023) 0:01:32.366 ********* 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 13:30:48 +0000 (0:00:00.024) 0:01:32.391 ********* 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 13:30:48 +0000 (0:00:00.024) 0:01:32.416 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 13:30:49 +0000 (0:00:00.040) 0:01:32.456 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 13:30:49 +0000 (0:00:00.052) 0:01:32.508 ********* 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 13:30:49 +0000 (0:00:00.117) 0:01:32.626 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/sdb" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 13:30:49 +0000 (0:00:00.056) 0:01:32.682 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 13:30:49 +0000 (0:00:00.061) 0:01:32.744 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 13:30:49 +0000 (0:00:00.035) 0:01:32.779 ********* 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 13:30:49 +0000 (0:00:00.056) 0:01:32.836 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 13:30:49 +0000 (0:00:00.038) 0:01:32.875 ********* 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 13:30:49 +0000 (0:00:00.024) 0:01:32.899 ********* 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 13:30:49 +0000 (0:00:00.024) 0:01:32.923 ********* 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 13:30:49 +0000 (0:00:00.026) 0:01:32.950 ********* 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 13:30:49 +0000 (0:00:00.084) 0:01:33.034 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 13:30:49 +0000 (0:00:00.133) 0:01:33.168 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 13:30:49 +0000 (0:00:00.024) 0:01:33.192 ********* 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 13:30:49 +0000 (0:00:00.049) 0:01:33.241 ********* 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 13:30:49 +0000 (0:00:00.040) 0:01:33.281 ********* 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 13:30:49 +0000 (0:00:00.032) 0:01:33.313 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 13:30:49 +0000 (0:00:00.023) 0:01:33.337 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 13:30:49 +0000 (0:00:00.023) 0:01:33.360 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410238.8983808, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658410238.8983808, "dev": 5, "device_type": 2064, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 359, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658410238.8983808, "nlink": 1, "path": "/dev/sdb", "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 13:30:50 +0000 (0:00:00.387) 0:01:33.748 ********* 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 13:30:50 +0000 (0:00:00.040) 0:01:33.788 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 13:30:50 +0000 (0:00:00.024) 0:01:33.813 ********* 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 13:30:50 +0000 (0:00:00.039) 0:01:33.853 ********* 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 13:30:50 +0000 (0:00:00.027) 0:01:33.881 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 13:30:50 +0000 (0:00:00.024) 0:01:33.905 ********* 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 13:30:50 +0000 (0:00:00.023) 0:01:33.928 ********* 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 13:30:51 +0000 (0:00:00.821) 0:01:34.750 ********* 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 13:30:51 +0000 (0:00:00.026) 0:01:34.776 ********* 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 13:30:51 +0000 (0:00:00.026) 0:01:34.803 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 13:30:51 +0000 (0:00:00.024) 0:01:34.827 ********* 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 13:30:51 +0000 (0:00:00.024) 0:01:34.852 ********* 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 13:30:51 +0000 (0:00:00.024) 0:01:34.877 ********* 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 13:30:51 +0000 (0:00:00.025) 0:01:34.903 ********* 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 13:30:51 +0000 (0:00:00.024) 0:01:34.927 ********* 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 13:30:51 +0000 (0:00:00.026) 0:01:34.954 ********* 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 13:30:51 +0000 (0:00:00.055) 0:01:35.009 ********* 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 13:30:51 +0000 (0:00:00.055) 0:01:35.065 ********* 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 13:30:51 +0000 (0:00:00.042) 0:01:35.107 ********* 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 13:30:51 +0000 (0:00:00.038) 0:01:35.146 ********* 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 13:30:51 +0000 (0:00:00.036) 0:01:35.183 ********* 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 13:30:51 +0000 (0:00:00.040) 0:01:35.223 ********* 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 13:30:51 +0000 (0:00:00.038) 0:01:35.262 ********* 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 13:30:51 +0000 (0:00:00.036) 0:01:35.298 ********* 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 13:30:51 +0000 (0:00:00.037) 0:01:35.335 ********* 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 13:30:51 +0000 (0:00:00.042) 0:01:35.378 ********* 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 13:30:51 +0000 (0:00:00.036) 0:01:35.415 ********* 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 13:30:52 +0000 (0:00:00.038) 0:01:35.454 ********* 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 13:30:52 +0000 (0:00:00.037) 0:01:35.491 ********* 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 13:30:52 +0000 (0:00:00.025) 0:01:35.516 ********* 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 13:30:52 +0000 (0:00:00.038) 0:01:35.555 ********* 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 13:30:52 +0000 (0:00:00.036) 0:01:35.592 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 13:30:52 +0000 (0:00:00.131) 0:01:35.723 ********* skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 13:30:52 +0000 (0:00:00.037) 0:01:35.761 ********* 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 13:30:52 +0000 (0:00:00.035) 0:01:35.797 ********* 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 13:30:52 +0000 (0:00:00.036) 0:01:35.834 ********* 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 13:30:52 +0000 (0:00:00.040) 0:01:35.874 ********* 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 13:30:52 +0000 (0:00:00.037) 0:01:35.912 ********* 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 13:30:52 +0000 (0:00:00.040) 0:01:35.952 ********* ok: [/cache/rhel-9.qcow2.snap] => { "storage_test_expected_size": "VARIABLE IS NOT DEFINED!: 'storage_test_expected_size' is undefined" } TASK [assert] ****************************************************************** task path: /tmp/tmpfc26zqih/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 13:30:52 +0000 (0:00:00.039) 0:01:35.992 ********* 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 13:30:52 +0000 (0:00:00.027) 0:01:36.020 ********* 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 13:30:52 +0000 (0:00:00.025) 0:01:36.045 ********* 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 13:30:52 +0000 (0:00:00.023) 0:01:36.069 ********* 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 13:30:52 +0000 (0:00:00.024) 0:01:36.093 ********* 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 13:30:52 +0000 (0:00:00.029) 0:01:36.122 ********* 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 13:30:52 +0000 (0:00:00.026) 0:01:36.149 ********* 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 13:30:52 +0000 (0:00:00.026) 0:01:36.175 ********* 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 13:30:52 +0000 (0:00:00.025) 0:01:36.201 ********* 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 13:30:52 +0000 (0:00:00.039) 0:01:36.240 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=471 changed=21 unreachable=0 failed=0 skipped=427 rescued=0 ignored=0 Thursday 21 July 2022 13:30:52 +0000 (0:00:00.045) 0:01:36.286 ********* =============================================================================== fedora.linux_system_roles.storage : get service facts ------------------- 1.78s /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.77s /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.74s /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.69s /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.62s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.59s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Gathering Facts --------------------------------------------------------- 1.36s /tmp/tmpfc26zqih/tests/storage/tests_swap.yml:2 ------------------------------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.29s /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.27s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : make sure blivet is available ------- 1.21s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 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 fedora.linux_system_roles.storage : Update facts ------------------------ 0.99s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.98s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.98s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.98s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.97s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.96s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.93s /tmp/tmpi19f9hzy/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Ensure cryptsetup is present -------------------------------------------- 0.88s /tmp/tmpfc26zqih/tests/storage/test-verify-volume-encryption.yml:10 -----------