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/tmpp_vyhrdp 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_remove_mount_scsi_generated.yml ******************************** 2 plays in /tmp/tmpafnwmbol/tests/tests_remove_mount_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpafnwmbol/tests/tests_remove_mount_scsi_generated.yml:3 Thursday 21 July 2022 16:11:45 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpafnwmbol/tests/tests_remove_mount_scsi_generated.yml:7 Thursday 21 July 2022 16:11:47 +0000 (0:00:01.306) 0:00:01.318 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:2 Thursday 21 July 2022 16:11:47 +0000 (0:00:00.045) 0:00:01.364 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:12 Thursday 21 July 2022 16:11:48 +0000 (0:00:00.928) 0:00:02.292 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:11:48 +0000 (0:00:00.033) 0:00:02.326 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:11:48 +0000 (0:00:00.029) 0:00:02.356 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:11:48 +0000 (0:00:00.522) 0:00:02.878 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:11:48 +0000 (0:00:00.052) 0:00:02.931 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:11:48 +0000 (0:00:00.029) 0:00:02.960 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:11:48 +0000 (0:00:00.029) 0:00:02.990 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:11:48 +0000 (0:00:00.045) 0:00:03.036 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:11:48 +0000 (0:00:00.017) 0:00:03.053 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:11:50 +0000 (0:00:01.850) 0:00:04.904 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:11:50 +0000 (0:00:00.032) 0:00:04.937 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:11:50 +0000 (0:00:00.056) 0:00:04.993 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:11:51 +0000 (0:00:00.699) 0:00:05.693 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 16:11:51 +0000 (0:00:00.047) 0:00:05.741 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 16:11:51 +0000 (0:00:00.038) 0:00:05.780 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 16:11:51 +0000 (0:00:00.033) 0:00:05.814 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:11:51 +0000 (0:00:00.028) 0:00:05.842 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:11:53 +0000 (0:00:01.320) 0:00:07.163 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "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-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "dbxtool.service": { "name": "dbxtool.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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.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" }, "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" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-convert.service": { "name": "nfs-convert.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" }, "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" }, "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" }, "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" }, "rhcd.service": { "name": "rhcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "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" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "running", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "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-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-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-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-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-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": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "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" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "vdo-start-by-dev@.service": { "name": "vdo-start-by-dev@.service", "source": "systemd", "state": "unknown", "status": "static" }, "vdo.service": { "name": "vdo.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:11:55 +0000 (0:00:01.998) 0:00:09.161 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:11:55 +0000 (0:00:00.056) 0:00:09.218 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:11:55 +0000 (0:00:00.022) 0:00:09.240 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:11:55 +0000 (0:00:00.571) 0:00:09.812 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:11:55 +0000 (0:00:00.039) 0:00:09.851 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:11:55 +0000 (0:00:00.022) 0:00:09.874 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:11:55 +0000 (0:00:00.038) 0:00:09.912 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:11:55 +0000 (0:00:00.038) 0:00:09.950 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:11:55 +0000 (0:00:00.039) 0:00:09.989 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:11:55 +0000 (0:00:00.036) 0:00:10.026 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:11:55 +0000 (0:00:00.025) 0:00:10.051 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:11:55 +0000 (0:00:00.036) 0:00:10.088 ********* skipping: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:11:56 +0000 (0:00:00.027) 0:00:10.115 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:11:56 +0000 (0:00:00.498) 0:00:10.614 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:11:56 +0000 (0:00:00.023) 0:00:10.637 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:15 Thursday 21 July 2022 16:11:57 +0000 (0:00:00.999) 0:00:11.637 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:22 Thursday 21 July 2022 16:11:57 +0000 (0:00:00.080) 0:00:11.717 ********* included: /tmp/tmpafnwmbol/tests/get_unused_disk.yml for /cache/rhel-8-y.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpafnwmbol/tests/get_unused_disk.yml:2 Thursday 21 July 2022 16:11:57 +0000 (0:00:00.034) 0:00:11.752 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpafnwmbol/tests/get_unused_disk.yml:9 Thursday 21 July 2022 16:11:58 +0000 (0:00:00.486) 0:00:12.239 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpafnwmbol/tests/get_unused_disk.yml:14 Thursday 21 July 2022 16:11:58 +0000 (0:00:00.036) 0:00:12.275 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpafnwmbol/tests/get_unused_disk.yml:19 Thursday 21 July 2022 16:11:58 +0000 (0:00:00.035) 0:00:12.311 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create a LVM logical volume mounted at "/opt/test1"] ********************* task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:27 Thursday 21 July 2022 16:11:58 +0000 (0:00:00.035) 0:00:12.346 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:11:58 +0000 (0:00:00.041) 0:00:12.388 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:11:58 +0000 (0:00:00.033) 0:00:12.422 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:11:58 +0000 (0:00:00.506) 0:00:12.928 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:11:58 +0000 (0:00:00.061) 0:00:12.989 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:11:58 +0000 (0:00:00.035) 0:00:13.025 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:11:58 +0000 (0:00:00.035) 0:00:13.061 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:11:59 +0000 (0:00:00.048) 0:00:13.109 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:11:59 +0000 (0:00:00.021) 0:00:13.131 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:11:59 +0000 (0:00:00.029) 0:00:13.161 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:11:59 +0000 (0:00:00.039) 0:00:13.201 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:11:59 +0000 (0:00:00.035) 0:00:13.237 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:11:59 +0000 (0:00:00.026) 0:00:13.264 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:11:59 +0000 (0:00:00.027) 0:00:13.291 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:11:59 +0000 (0:00:00.026) 0:00:13.318 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:11:59 +0000 (0:00:00.025) 0:00:13.343 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:11:59 +0000 (0:00:00.053) 0:00:13.397 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:11:59 +0000 (0:00:00.021) 0:00:13.418 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:12:01 +0000 (0:00:02.130) 0:00:15.548 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:12:01 +0000 (0:00:00.037) 0:00:15.586 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:12:01 +0000 (0:00:00.022) 0:00:15.609 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:12:01 +0000 (0:00:00.041) 0:00:15.650 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:12:01 +0000 (0:00:00.040) 0:00:15.690 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:12:01 +0000 (0:00:00.034) 0:00:15.725 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:12:01 +0000 (0:00:00.037) 0:00:15.762 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:12:02 +0000 (0:00:00.890) 0:00:16.653 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:12:03 +0000 (0:00:00.565) 0:00:17.219 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:12:03 +0000 (0:00:00.639) 0:00:17.859 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:12:04 +0000 (0:00:00.360) 0:00:18.219 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:12:04 +0000 (0:00:00.023) 0:00:18.243 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:39 Thursday 21 July 2022 16:12:05 +0000 (0:00:00.961) 0:00:19.205 ********* included: /tmp/tmpafnwmbol/tests/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:12:05 +0000 (0:00:00.041) 0:00:19.246 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:12:05 +0000 (0:00:00.081) 0:00:19.328 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:12:05 +0000 (0:00:00.093) 0:00:19.422 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "7cf9deae-0460-4152-bcde-a25e262bc0ce" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "QiAN62-5DmE-xCTz-03el-xp6u-GWoW-ytOwhi" }, "/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-16-11-33-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": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/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": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/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": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/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/tmpafnwmbol/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:12:05 +0000 (0:00:00.467) 0:00:19.889 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002929", "end": "2022-07-21 12:12:05.791026", "rc": 0, "start": "2022-07-21 12:12:05.788097" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:12:06 +0000 (0:00:00.474) 0:00:20.364 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002949", "end": "2022-07-21 12:12:06.161242", "failed_when_result": false, "rc": 1, "start": "2022-07-21 12:12:06.158293" } 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/tmpafnwmbol/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:12:06 +0000 (0:00:00.369) 0:00:20.733 ********* included: /tmp/tmpafnwmbol/tests/test-verify-pool.yml for /cache/rhel-8-y.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool.yml:5 Thursday 21 July 2022 16:12:06 +0000 (0:00:00.060) 0:00:20.794 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool.yml:18 Thursday 21 July 2022 16:12:06 +0000 (0:00:00.035) 0:00:20.829 ********* included: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml for /cache/rhel-8-y.qcow2.snap => (item=members) included: /tmp/tmpafnwmbol/tests/test-verify-pool-volumes.yml for /cache/rhel-8-y.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 16:12:06 +0000 (0:00:00.050) 0:00:20.880 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 16:12:06 +0000 (0:00:00.053) 0:00:20.934 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 16:12:07 +0000 (0:00:00.500) 0:00:21.434 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 16:12:07 +0000 (0:00:00.050) 0:00:21.485 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 16:12:07 +0000 (0:00:00.050) 0:00:21.535 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 16:12:07 +0000 (0:00:00.051) 0:00:21.586 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 16:12:07 +0000 (0:00:00.038) 0:00:21.625 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 16:12:07 +0000 (0:00:00.050) 0:00:21.675 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 16:12:07 +0000 (0:00:00.023) 0:00:21.698 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 16:12:07 +0000 (0:00:00.069) 0:00:21.767 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-md.yml for /cache/rhel-8-y.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:6 Thursday 21 July 2022 16:12:07 +0000 (0:00:00.042) 0:00:21.810 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:12 Thursday 21 July 2022 16:12:07 +0000 (0:00:00.023) 0:00:21.833 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:16 Thursday 21 July 2022 16:12:07 +0000 (0:00:00.031) 0:00:21.864 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:20 Thursday 21 July 2022 16:12:07 +0000 (0:00:00.069) 0:00:21.933 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:24 Thursday 21 July 2022 16:12:07 +0000 (0:00:00.026) 0:00:21.960 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:30 Thursday 21 July 2022 16:12:07 +0000 (0:00:00.024) 0:00:21.984 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:36 Thursday 21 July 2022 16:12:07 +0000 (0:00:00.024) 0:00:22.009 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:44 Thursday 21 July 2022 16:12:07 +0000 (0:00:00.025) 0:00:22.035 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 16:12:07 +0000 (0:00:00.036) 0:00:22.071 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.045) 0:00:22.116 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.047) 0:00:22.164 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.028) 0:00:22.192 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.030) 0:00:22.222 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.032) 0:00:22.254 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-thin.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.045) 0:00:22.300 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.044) 0:00:22.345 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.024) 0:00:22.370 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.024) 0:00:22.394 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.025) 0:00:22.420 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.024) 0:00:22.445 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml for /cache/rhel-8-y.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.048) 0:00:22.493 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.052) 0:00:22.545 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.028) 0:00:22.574 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml for /cache/rhel-8-y.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.043) 0:00:22.618 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.050) 0:00:22.668 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.049) 0:00:22.718 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.037) 0:00:22.755 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.040) 0:00:22.796 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.037) 0:00:22.834 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.036) 0:00:22.870 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.036) 0:00:22.907 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-vdo.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.050) 0:00:22.958 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.046) 0:00:23.004 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.025) 0:00:23.030 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.025) 0:00:23.056 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 16:12:08 +0000 (0:00:00.026) 0:00:23.082 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.026) 0:00:23.109 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.056) 0:00:23.165 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.029) 0:00:23.194 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.037) 0:00:23.232 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.045) 0:00:23.277 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.039) 0:00:23.317 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.042) 0:00:23.359 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.048) 0:00:23.408 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.085) 0:00:23.493 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.040) 0:00:23.533 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "7cf9deae-0460-4152-bcde-a25e262bc0ce" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "7cf9deae-0460-4152-bcde-a25e262bc0ce" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.053) 0:00:23.587 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.047) 0:00:23.634 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.045) 0:00:23.680 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.047) 0:00:23.727 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.023) 0:00:23.751 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.022) 0:00:23.774 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.022) 0:00:23.796 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.033) 0:00:23.830 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.057) 0:00:23.887 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.052) 0:00:23.939 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.052) 0:00:23.992 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.040) 0:00:24.032 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:12:09 +0000 (0:00:00.036) 0:00:24.069 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:12:10 +0000 (0:00:00.040) 0:00:24.110 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:12:10 +0000 (0:00:00.047) 0:00:24.157 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658419920.9131455, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658419920.9131455, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 54417, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658419920.9131455, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:12:10 +0000 (0:00:00.393) 0:00:24.551 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:12:10 +0000 (0:00:00.040) 0:00:24.591 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:12:10 +0000 (0:00:00.040) 0:00:24.632 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:12:10 +0000 (0:00:00.039) 0:00:24.671 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:12:10 +0000 (0:00:00.025) 0:00:24.697 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:12:10 +0000 (0:00:00.081) 0:00:24.778 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:12:10 +0000 (0:00:00.058) 0:00:24.837 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:12:12 +0000 (0:00:01.401) 0:00:26.238 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.026) 0:00:26.265 ********* skipping: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.025) 0:00:26.290 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.053) 0:00:26.344 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.025) 0:00:26.369 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.026) 0:00:26.395 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.024) 0:00:26.420 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.024) 0:00:26.445 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.025) 0:00:26.470 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.056) 0:00:26.527 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.049) 0:00:26.576 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.039) 0:00:26.616 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.039) 0:00:26.655 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.037) 0:00:26.693 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.041) 0:00:26.735 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.040) 0:00:26.775 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.039) 0:00:26.814 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.038) 0:00:26.853 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.037) 0:00:26.891 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.038) 0:00:26.929 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.040) 0:00:26.969 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:12:12 +0000 (0:00:00.038) 0:00:27.008 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:12:13 +0000 (0:00:00.507) 0:00:27.515 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:12:13 +0000 (0:00:00.410) 0:00:27.926 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:12:13 +0000 (0:00:00.138) 0:00:28.065 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:12:14 +0000 (0:00:00.037) 0:00:28.102 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:12:14 +0000 (0:00:00.038) 0:00:28.141 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:12:14 +0000 (0:00:00.039) 0:00:28.180 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:12:14 +0000 (0:00:00.041) 0:00:28.221 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:12:14 +0000 (0:00:00.039) 0:00:28.260 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:12:14 +0000 (0:00:00.039) 0:00:28.300 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:12:14 +0000 (0:00:00.040) 0:00:28.340 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:12:14 +0000 (0:00:00.041) 0:00:28.382 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:12:14 +0000 (0:00:00.053) 0:00:28.435 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.038870", "end": "2022-07-21 12:12:14.273594", "rc": 0, "start": "2022-07-21 12:12:14.234724" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:12:14 +0000 (0:00:00.412) 0:00:28.847 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:12:14 +0000 (0:00:00.061) 0:00:28.909 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:12:14 +0000 (0:00:00.052) 0:00:28.961 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:12:14 +0000 (0:00:00.047) 0:00:29.009 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:12:14 +0000 (0:00:00.042) 0:00:29.051 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:12:15 +0000 (0:00:00.048) 0:00:29.100 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:12:15 +0000 (0:00:00.039) 0:00:29.140 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:12:15 +0000 (0:00:00.039) 0:00:29.179 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:12:15 +0000 (0:00:00.024) 0:00:29.204 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the mount location to ""] ***************************************** task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:41 Thursday 21 July 2022 16:12:15 +0000 (0:00:00.036) 0:00:29.240 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:12:15 +0000 (0:00:00.050) 0:00:29.291 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:12:15 +0000 (0:00:00.036) 0:00:29.328 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:12:15 +0000 (0:00:00.537) 0:00:29.865 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:12:15 +0000 (0:00:00.064) 0:00:29.930 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:12:15 +0000 (0:00:00.036) 0:00:29.966 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:12:15 +0000 (0:00:00.035) 0:00:30.001 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:12:15 +0000 (0:00:00.082) 0:00:30.084 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:12:16 +0000 (0:00:00.022) 0:00:30.107 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:12:16 +0000 (0:00:00.030) 0:00:30.137 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:12:16 +0000 (0:00:00.040) 0:00:30.177 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:12:16 +0000 (0:00:00.040) 0:00:30.218 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:12:16 +0000 (0:00:00.029) 0:00:30.248 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:12:16 +0000 (0:00:00.030) 0:00:30.278 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:12:16 +0000 (0:00:00.033) 0:00:30.312 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:12:16 +0000 (0:00:00.032) 0:00:30.344 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:12:16 +0000 (0:00:00.060) 0:00:30.405 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:12:16 +0000 (0:00:00.022) 0:00:30.428 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:12:18 +0000 (0:00:01.683) 0:00:32.111 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:12:18 +0000 (0:00:00.042) 0:00:32.153 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:12:18 +0000 (0:00:00.022) 0:00:32.175 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "e2fsprogs", "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:12:18 +0000 (0:00:00.042) 0:00:32.218 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:12:18 +0000 (0:00:00.044) 0:00:32.262 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:12:18 +0000 (0:00:00.044) 0:00:32.306 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:12:18 +0000 (0:00:00.424) 0:00:32.731 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:12:19 +0000 (0:00:00.637) 0:00:33.369 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:12:19 +0000 (0:00:00.040) 0:00:33.409 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:12:19 +0000 (0:00:00.658) 0:00:34.068 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:12:20 +0000 (0:00:00.367) 0:00:34.435 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:12:20 +0000 (0:00:00.024) 0:00:34.459 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:53 Thursday 21 July 2022 16:12:21 +0000 (0:00:01.033) 0:00:35.492 ********* included: /tmp/tmpafnwmbol/tests/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:12:21 +0000 (0:00:00.044) 0:00:35.536 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:12:21 +0000 (0:00:00.054) 0:00:35.591 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:12:21 +0000 (0:00:00.037) 0:00:35.629 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "7cf9deae-0460-4152-bcde-a25e262bc0ce" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "QiAN62-5DmE-xCTz-03el-xp6u-GWoW-ytOwhi" }, "/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-16-11-33-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": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/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": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/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": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/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/tmpafnwmbol/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:12:21 +0000 (0:00:00.384) 0:00:36.013 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002995", "end": "2022-07-21 12:12:21.817249", "rc": 0, "start": "2022-07-21 12:12:21.814254" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / 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/tmpafnwmbol/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:12:22 +0000 (0:00:00.376) 0:00:36.390 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002693", "end": "2022-07-21 12:12:22.190413", "failed_when_result": false, "rc": 1, "start": "2022-07-21 12:12:22.187720" } 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/tmpafnwmbol/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:12:22 +0000 (0:00:00.373) 0:00:36.763 ********* included: /tmp/tmpafnwmbol/tests/test-verify-pool.yml for /cache/rhel-8-y.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool.yml:5 Thursday 21 July 2022 16:12:22 +0000 (0:00:00.060) 0:00:36.823 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool.yml:18 Thursday 21 July 2022 16:12:22 +0000 (0:00:00.041) 0:00:36.865 ********* included: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml for /cache/rhel-8-y.qcow2.snap => (item=members) included: /tmp/tmpafnwmbol/tests/test-verify-pool-volumes.yml for /cache/rhel-8-y.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 16:12:22 +0000 (0:00:00.050) 0:00:36.916 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 16:12:22 +0000 (0:00:00.059) 0:00:36.976 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 16:12:23 +0000 (0:00:00.388) 0:00:37.364 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 16:12:23 +0000 (0:00:00.052) 0:00:37.417 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 16:12:23 +0000 (0:00:00.052) 0:00:37.469 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 16:12:23 +0000 (0:00:00.092) 0:00:37.562 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 16:12:23 +0000 (0:00:00.119) 0:00:37.682 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 16:12:23 +0000 (0:00:00.051) 0:00:37.733 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 16:12:23 +0000 (0:00:00.025) 0:00:37.758 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 16:12:23 +0000 (0:00:00.045) 0:00:37.804 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-md.yml for /cache/rhel-8-y.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:6 Thursday 21 July 2022 16:12:23 +0000 (0:00:00.044) 0:00:37.848 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:12 Thursday 21 July 2022 16:12:23 +0000 (0:00:00.025) 0:00:37.874 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:16 Thursday 21 July 2022 16:12:23 +0000 (0:00:00.025) 0:00:37.899 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:20 Thursday 21 July 2022 16:12:23 +0000 (0:00:00.026) 0:00:37.926 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:24 Thursday 21 July 2022 16:12:23 +0000 (0:00:00.025) 0:00:37.951 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:30 Thursday 21 July 2022 16:12:23 +0000 (0:00:00.025) 0:00:37.977 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:36 Thursday 21 July 2022 16:12:23 +0000 (0:00:00.025) 0:00:38.002 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:44 Thursday 21 July 2022 16:12:23 +0000 (0:00:00.026) 0:00:38.028 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 16:12:23 +0000 (0:00:00.035) 0:00:38.064 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.045) 0:00:38.109 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.048) 0:00:38.157 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.030) 0:00:38.188 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.029) 0:00:38.217 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.032) 0:00:38.250 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-thin.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.046) 0:00:38.296 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.045) 0:00:38.341 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.025) 0:00:38.366 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.024) 0:00:38.391 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.026) 0:00:38.417 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.025) 0:00:38.442 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml for /cache/rhel-8-y.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.048) 0:00:38.490 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.053) 0:00:38.544 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.029) 0:00:38.573 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml for /cache/rhel-8-y.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.043) 0:00:38.617 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.050) 0:00:38.668 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.051) 0:00:38.719 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.038) 0:00:38.757 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.041) 0:00:38.799 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.037) 0:00:38.837 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.071) 0:00:38.908 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.071) 0:00:38.979 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-vdo.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 16:12:24 +0000 (0:00:00.079) 0:00:39.059 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.046) 0:00:39.106 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.025) 0:00:39.131 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.025) 0:00:39.157 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.025) 0:00:39.182 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.027) 0:00:39.209 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.025) 0:00:39.235 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.025) 0:00:39.261 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.025) 0:00:39.286 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.039) 0:00:39.326 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.035) 0:00:39.361 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.043) 0:00:39.404 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.053) 0:00:39.458 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.080) 0:00:39.538 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.042) 0:00:39.581 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.056) 0:00:39.637 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.026) 0:00:39.663 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.050) 0:00:39.714 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.038) 0:00:39.752 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.025) 0:00:39.777 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.026) 0:00:39.803 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.025) 0:00:39.829 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.037) 0:00:39.866 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.062) 0:00:39.929 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.051) 0:00:39.980 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.050) 0:00:40.030 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:12:25 +0000 (0:00:00.037) 0:00:40.068 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:12:26 +0000 (0:00:00.038) 0:00:40.106 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:12:26 +0000 (0:00:00.040) 0:00:40.147 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:12:26 +0000 (0:00:00.041) 0:00:40.189 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658419920.9131455, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658419920.9131455, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 54417, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658419920.9131455, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:12:26 +0000 (0:00:00.387) 0:00:40.576 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:12:26 +0000 (0:00:00.075) 0:00:40.651 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:12:26 +0000 (0:00:00.040) 0:00:40.692 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:12:26 +0000 (0:00:00.038) 0:00:40.730 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:12:26 +0000 (0:00:00.026) 0:00:40.757 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:12:26 +0000 (0:00:00.039) 0:00:40.797 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:12:26 +0000 (0:00:00.025) 0:00:40.822 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:12:28 +0000 (0:00:01.427) 0:00:42.250 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.026) 0:00:42.276 ********* skipping: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.025) 0:00:42.302 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.056) 0:00:42.358 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.025) 0:00:42.383 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.025) 0:00:42.409 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.026) 0:00:42.436 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.027) 0:00:42.463 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.026) 0:00:42.489 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.054) 0:00:42.544 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.054) 0:00:42.598 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.038) 0:00:42.636 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.038) 0:00:42.674 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.037) 0:00:42.711 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.040) 0:00:42.752 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.039) 0:00:42.792 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.039) 0:00:42.832 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.038) 0:00:42.870 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.041) 0:00:42.912 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.040) 0:00:42.953 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.036) 0:00:42.990 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:12:28 +0000 (0:00:00.036) 0:00:43.026 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:12:29 +0000 (0:00:00.394) 0:00:43.420 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:12:29 +0000 (0:00:00.431) 0:00:43.852 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:12:29 +0000 (0:00:00.052) 0:00:43.905 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:12:29 +0000 (0:00:00.038) 0:00:43.943 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:12:29 +0000 (0:00:00.036) 0:00:43.980 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:12:29 +0000 (0:00:00.039) 0:00:44.020 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:12:30 +0000 (0:00:00.103) 0:00:44.123 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:12:30 +0000 (0:00:00.040) 0:00:44.164 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:12:30 +0000 (0:00:00.039) 0:00:44.203 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:12:30 +0000 (0:00:00.038) 0:00:44.242 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:12:30 +0000 (0:00:00.035) 0:00:44.277 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:12:30 +0000 (0:00:00.054) 0:00:44.332 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.043178", "end": "2022-07-21 12:12:30.195384", "rc": 0, "start": "2022-07-21 12:12:30.152206" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:12:30 +0000 (0:00:00.440) 0:00:44.772 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:12:30 +0000 (0:00:00.053) 0:00:44.826 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:12:30 +0000 (0:00:00.053) 0:00:44.879 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:12:30 +0000 (0:00:00.039) 0:00:44.919 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:12:30 +0000 (0:00:00.038) 0:00:44.958 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:12:30 +0000 (0:00:00.038) 0:00:44.996 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:12:30 +0000 (0:00:00.037) 0:00:45.034 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:12:30 +0000 (0:00:00.038) 0:00:45.072 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:12:30 +0000 (0:00:00.023) 0:00:45.096 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/tests_remove_mount.yml:55 Thursday 21 July 2022 16:12:31 +0000 (0:00:00.036) 0:00:45.133 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:12:31 +0000 (0:00:00.052) 0:00:45.185 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:12:31 +0000 (0:00:00.036) 0:00:45.222 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:12:31 +0000 (0:00:00.524) 0:00:45.746 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:12:31 +0000 (0:00:00.074) 0:00:45.820 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:12:31 +0000 (0:00:00.035) 0:00:45.855 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:12:31 +0000 (0:00:00.040) 0:00:45.896 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:12:31 +0000 (0:00:00.079) 0:00:45.976 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:12:31 +0000 (0:00:00.028) 0:00:46.005 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:12:31 +0000 (0:00:00.026) 0:00:46.031 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:12:32 +0000 (0:00:00.069) 0:00:46.101 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:12:32 +0000 (0:00:00.034) 0:00:46.136 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:12:32 +0000 (0:00:00.030) 0:00:46.166 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:12:32 +0000 (0:00:00.028) 0:00:46.194 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:12:32 +0000 (0:00:00.057) 0:00:46.252 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:12:32 +0000 (0:00:00.028) 0:00:46.280 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:12:32 +0000 (0:00:00.056) 0:00:46.336 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:12:32 +0000 (0:00:00.021) 0:00:46.357 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "xfsprogs", "lvm2", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:12:33 +0000 (0:00:01.667) 0:00:48.025 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:12:33 +0000 (0:00:00.035) 0:00:48.061 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:12:33 +0000 (0:00:00.021) 0:00:48.083 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "xfsprogs", "lvm2", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:12:34 +0000 (0:00:00.036) 0:00:48.119 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:12:34 +0000 (0:00:00.037) 0:00:48.157 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:12:34 +0000 (0:00:00.037) 0:00:48.195 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:12:34 +0000 (0:00:00.039) 0:00:48.234 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:12:34 +0000 (0:00:00.025) 0:00:48.260 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:12:34 +0000 (0:00:00.035) 0:00:48.296 ********* skipping: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:12:34 +0000 (0:00:00.023) 0:00:48.319 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:12:34 +0000 (0:00:00.368) 0:00:48.688 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:12:34 +0000 (0:00:00.021) 0:00:48.710 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:67 Thursday 21 July 2022 16:12:35 +0000 (0:00:00.940) 0:00:49.650 ********* included: /tmp/tmpafnwmbol/tests/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:12:35 +0000 (0:00:00.044) 0:00:49.695 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:12:35 +0000 (0:00:00.079) 0:00:49.774 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:12:35 +0000 (0:00:00.037) 0:00:49.812 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "7cf9deae-0460-4152-bcde-a25e262bc0ce" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "QiAN62-5DmE-xCTz-03el-xp6u-GWoW-ytOwhi" }, "/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-16-11-33-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": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/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": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/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": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/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/tmpafnwmbol/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:12:36 +0000 (0:00:00.366) 0:00:50.179 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002558", "end": "2022-07-21 12:12:35.996023", "rc": 0, "start": "2022-07-21 12:12:35.993465" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / 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/tmpafnwmbol/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:12:36 +0000 (0:00:00.387) 0:00:50.566 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002556", "end": "2022-07-21 12:12:36.348273", "failed_when_result": false, "rc": 1, "start": "2022-07-21 12:12:36.345717" } 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/tmpafnwmbol/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:12:36 +0000 (0:00:00.352) 0:00:50.919 ********* included: /tmp/tmpafnwmbol/tests/test-verify-pool.yml for /cache/rhel-8-y.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool.yml:5 Thursday 21 July 2022 16:12:36 +0000 (0:00:00.058) 0:00:50.977 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool.yml:18 Thursday 21 July 2022 16:12:36 +0000 (0:00:00.034) 0:00:51.012 ********* included: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml for /cache/rhel-8-y.qcow2.snap => (item=members) included: /tmp/tmpafnwmbol/tests/test-verify-pool-volumes.yml for /cache/rhel-8-y.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 16:12:36 +0000 (0:00:00.045) 0:00:51.057 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.051) 0:00:51.108 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.369) 0:00:51.478 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.047) 0:00:51.525 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.048) 0:00:51.574 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.048) 0:00:51.623 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.036) 0:00:51.659 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.048) 0:00:51.707 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.023) 0:00:51.731 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.039) 0:00:51.771 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-md.yml for /cache/rhel-8-y.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:6 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.040) 0:00:51.811 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:12 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.024) 0:00:51.836 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:16 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.023) 0:00:51.859 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:20 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.022) 0:00:51.882 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:24 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.022) 0:00:51.904 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:30 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.023) 0:00:51.928 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:36 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.022) 0:00:51.951 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:44 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.022) 0:00:51.973 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.033) 0:00:52.007 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.043) 0:00:52.051 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 16:12:37 +0000 (0:00:00.042) 0:00:52.093 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.027) 0:00:52.120 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.026) 0:00:52.146 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.026) 0:00:52.173 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-thin.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.069) 0:00:52.242 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.043) 0:00:52.286 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.022) 0:00:52.308 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.022) 0:00:52.331 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.021) 0:00:52.353 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.022) 0:00:52.375 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml for /cache/rhel-8-y.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.046) 0:00:52.422 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.049) 0:00:52.472 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.027) 0:00:52.499 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml for /cache/rhel-8-y.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.043) 0:00:52.542 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.047) 0:00:52.590 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.048) 0:00:52.639 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.034) 0:00:52.673 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.034) 0:00:52.708 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.034) 0:00:52.743 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.035) 0:00:52.779 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.032) 0:00:52.811 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-vdo.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.047) 0:00:52.859 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.046) 0:00:52.905 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.023) 0:00:52.929 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.022) 0:00:52.951 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.023) 0:00:52.975 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.026) 0:00:53.001 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.025) 0:00:53.026 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.025) 0:00:53.051 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 16:12:38 +0000 (0:00:00.025) 0:00:53.077 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.033) 0:00:53.111 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.034) 0:00:53.145 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.044) 0:00:53.190 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.050) 0:00:53.240 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.082) 0:00:53.322 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.079) 0:00:53.402 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.103) 0:00:53.505 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.025) 0:00:53.531 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.049) 0:00:53.581 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.040) 0:00:53.622 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.024) 0:00:53.646 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.023) 0:00:53.669 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.023) 0:00:53.693 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.035) 0:00:53.728 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.058) 0:00:53.786 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.048) 0:00:53.835 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.049) 0:00:53.884 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.034) 0:00:53.919 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.033) 0:00:53.952 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.037) 0:00:53.990 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:12:39 +0000 (0:00:00.040) 0:00:54.031 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658419920.9131455, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658419920.9131455, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 54417, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658419920.9131455, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:12:40 +0000 (0:00:00.365) 0:00:54.397 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:12:40 +0000 (0:00:00.037) 0:00:54.434 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:12:40 +0000 (0:00:00.042) 0:00:54.477 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:12:40 +0000 (0:00:00.047) 0:00:54.524 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:12:40 +0000 (0:00:00.023) 0:00:54.548 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:12:40 +0000 (0:00:00.038) 0:00:54.587 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:12:40 +0000 (0:00:00.024) 0:00:54.611 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:12:41 +0000 (0:00:01.454) 0:00:56.065 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:12:41 +0000 (0:00:00.024) 0:00:56.090 ********* skipping: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.023) 0:00:56.113 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.082) 0:00:56.196 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.024) 0:00:56.220 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.023) 0:00:56.244 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.023) 0:00:56.267 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.023) 0:00:56.290 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.052) 0:00:56.343 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.050) 0:00:56.394 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.049) 0:00:56.443 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.035) 0:00:56.479 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.038) 0:00:56.517 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.035) 0:00:56.553 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.034) 0:00:56.587 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.035) 0:00:56.622 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.038) 0:00:56.660 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.035) 0:00:56.696 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.035) 0:00:56.731 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.035) 0:00:56.767 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.039) 0:00:56.806 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:12:42 +0000 (0:00:00.035) 0:00:56.842 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:12:43 +0000 (0:00:00.364) 0:00:57.206 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:12:43 +0000 (0:00:00.402) 0:00:57.608 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:12:43 +0000 (0:00:00.050) 0:00:57.658 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:12:43 +0000 (0:00:00.036) 0:00:57.695 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:12:43 +0000 (0:00:00.036) 0:00:57.732 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:12:43 +0000 (0:00:00.036) 0:00:57.768 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:12:43 +0000 (0:00:00.035) 0:00:57.804 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:12:43 +0000 (0:00:00.035) 0:00:57.840 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:12:43 +0000 (0:00:00.036) 0:00:57.876 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:12:43 +0000 (0:00:00.034) 0:00:57.911 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:12:43 +0000 (0:00:00.035) 0:00:57.947 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:12:43 +0000 (0:00:00.052) 0:00:57.999 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.037808", "end": "2022-07-21 12:12:43.838211", "rc": 0, "start": "2022-07-21 12:12:43.800403" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:12:44 +0000 (0:00:00.414) 0:00:58.413 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:12:44 +0000 (0:00:00.049) 0:00:58.463 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:12:44 +0000 (0:00:00.052) 0:00:58.515 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:12:44 +0000 (0:00:00.037) 0:00:58.553 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:12:44 +0000 (0:00:00.037) 0:00:58.590 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:12:44 +0000 (0:00:00.037) 0:00:58.628 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:12:44 +0000 (0:00:00.038) 0:00:58.666 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:12:44 +0000 (0:00:00.034) 0:00:58.701 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:12:44 +0000 (0:00:00.021) 0:00:58.723 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:69 Thursday 21 July 2022 16:12:44 +0000 (0:00:00.070) 0:00:58.793 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 16:12:44 +0000 (0:00:00.087) 0:00:58.880 ********* included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 16:12:44 +0000 (0:00:00.036) 0:00:58.916 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 16:12:45 +0000 (0:00:00.510) 0:00:59.426 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 16:12:45 +0000 (0:00:00.060) 0:00:59.487 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 16:12:45 +0000 (0:00:00.034) 0:00:59.521 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 16:12:45 +0000 (0:00:00.034) 0:00:59.556 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 16:12:45 +0000 (0:00:00.048) 0:00:59.604 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 16:12:45 +0000 (0:00:00.020) 0:00:59.625 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 16:12:45 +0000 (0:00:00.028) 0:00:59.653 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 16:12:45 +0000 (0:00:00.036) 0:00:59.690 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 16:12:45 +0000 (0:00:00.036) 0:00:59.726 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 16:12:45 +0000 (0:00:00.027) 0:00:59.754 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 16:12:45 +0000 (0:00:00.029) 0:00:59.783 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 16:12:45 +0000 (0:00:00.028) 0:00:59.811 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 16:12:45 +0000 (0:00:00.027) 0:00:59.839 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 16:12:45 +0000 (0:00:00.057) 0:00:59.896 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 16:12:45 +0000 (0:00:00.022) 0:00:59.919 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/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": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 16:12:48 +0000 (0:00:02.310) 0:01:02.229 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 16:12:48 +0000 (0:00:00.036) 0:01:02.265 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 16:12:48 +0000 (0:00:00.021) 0:01:02.287 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/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": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 16:12:48 +0000 (0:00:00.037) 0:01:02.324 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 16:12:48 +0000 (0:00:00.037) 0:01:02.362 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 16:12:48 +0000 (0:00:00.035) 0:01:02.398 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 16:12:48 +0000 (0:00:00.039) 0:01:02.438 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 16:12:48 +0000 (0:00:00.024) 0:01:02.462 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 16:12:48 +0000 (0:00:00.034) 0:01:02.497 ********* skipping: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 16:12:48 +0000 (0:00:00.023) 0:01:02.520 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 16:12:48 +0000 (0:00:00.386) 0:01:02.906 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 16:12:48 +0000 (0:00:00.022) 0:01:02.929 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:82 Thursday 21 July 2022 16:12:49 +0000 (0:00:01.034) 0:01:03.964 ********* included: /tmp/tmpafnwmbol/tests/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:1 Thursday 21 July 2022 16:12:49 +0000 (0:00:00.048) 0:01:04.012 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:6 Thursday 21 July 2022 16:12:49 +0000 (0:00:00.050) 0:01:04.063 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:14 Thursday 21 July 2022 16:12:50 +0000 (0:00:00.034) 0:01:04.097 ********* ok: [/cache/rhel-8-y.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-16-11-33-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": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/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": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/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": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/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/tmpafnwmbol/tests/verify-role-results.yml:19 Thursday 21 July 2022 16:12:50 +0000 (0:00:00.414) 0:01:04.512 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003690", "end": "2022-07-21 12:12:50.330882", "rc": 0, "start": "2022-07-21 12:12:50.327192" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / 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/tmpafnwmbol/tests/verify-role-results.yml:24 Thursday 21 July 2022 16:12:50 +0000 (0:00:00.396) 0:01:04.908 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003754", "end": "2022-07-21 12:12:50.753149", "failed_when_result": false, "rc": 1, "start": "2022-07-21 12:12:50.749395" } 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/tmpafnwmbol/tests/verify-role-results.yml:33 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.419) 0:01:05.328 ********* included: /tmp/tmpafnwmbol/tests/test-verify-pool.yml for /cache/rhel-8-y.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool.yml:5 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.086) 0:01:05.414 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool.yml:18 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.034) 0:01:05.448 ********* included: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml for /cache/rhel-8-y.qcow2.snap => (item=members) included: /tmp/tmpafnwmbol/tests/test-verify-pool-volumes.yml for /cache/rhel-8-y.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.046) 0:01:05.494 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.049) 0:01:05.544 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.021) 0:01:05.566 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.047) 0:01:05.613 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.049) 0:01:05.663 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.050) 0:01:05.714 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.036) 0:01:05.751 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.048) 0:01:05.799 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.023) 0:01:05.823 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.022) 0:01:05.845 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-md.yml for /cache/rhel-8-y.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:6 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.041) 0:01:05.887 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:12 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.023) 0:01:05.910 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:16 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.024) 0:01:05.935 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:20 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.023) 0:01:05.958 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:24 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.023) 0:01:05.982 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:30 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.023) 0:01:06.005 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:36 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.024) 0:01:06.030 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-md.yml:44 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.023) 0:01:06.053 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 16:12:51 +0000 (0:00:00.036) 0:01:06.090 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.045) 0:01:06.136 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.043) 0:01:06.179 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.027) 0:01:06.206 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.027) 0:01:06.234 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.026) 0:01:06.261 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-thin.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.046) 0:01:06.307 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.043) 0:01:06.350 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.023) 0:01:06.374 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.025) 0:01:06.400 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.022) 0:01:06.422 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.024) 0:01:06.447 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml for /cache/rhel-8-y.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.073) 0:01:06.520 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.049) 0:01:06.570 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.022) 0:01:06.592 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.022) 0:01:06.614 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.035) 0:01:06.650 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-members-vdo.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.047) 0:01:06.698 ********* included: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.046) 0:01:06.744 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.023) 0:01:06.768 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.023) 0:01:06.792 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.023) 0:01:06.815 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.026) 0:01:06.842 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.029) 0:01:06.871 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.026) 0:01:06.897 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.025) 0:01:06.923 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.038) 0:01:06.961 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.033) 0:01:06.995 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:2 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.042) 0:01:07.037 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume.yml:10 Thursday 21 July 2022 16:12:52 +0000 (0:00:00.051) 0:01:07.089 ********* included: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 16:12:53 +0000 (0:00:00.078) 0:01:07.167 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 16:12:53 +0000 (0:00:00.040) 0:01:07.207 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 16:12:53 +0000 (0:00:00.057) 0:01:07.264 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 16:12:53 +0000 (0:00:00.026) 0:01:07.290 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 16:12:53 +0000 (0:00:00.049) 0:01:07.340 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 16:12:53 +0000 (0:00:00.037) 0:01:07.378 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 16:12:53 +0000 (0:00:00.025) 0:01:07.403 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 16:12:53 +0000 (0:00:00.024) 0:01:07.427 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 16:12:53 +0000 (0:00:00.024) 0:01:07.452 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 16:12:53 +0000 (0:00:00.035) 0:01:07.488 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 16:12:53 +0000 (0:00:00.062) 0:01:07.550 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 16:12:53 +0000 (0:00:00.024) 0:01:07.575 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 16:12:53 +0000 (0:00:00.050) 0:01:07.625 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 16:12:53 +0000 (0:00:00.043) 0:01:07.669 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 16:12:53 +0000 (0:00:00.036) 0:01:07.705 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 16:12:53 +0000 (0:00:00.023) 0:01:07.729 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 16:12:53 +0000 (0:00:00.022) 0:01:07.752 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 16:12:54 +0000 (0:00:00.425) 0:01:08.177 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 16:12:54 +0000 (0:00:00.039) 0:01:08.216 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 16:12:54 +0000 (0:00:00.023) 0:01:08.240 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 16:12:54 +0000 (0:00:00.037) 0:01:08.278 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 16:12:54 +0000 (0:00:00.025) 0:01:08.303 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 16:12:54 +0000 (0:00:00.024) 0:01:08.327 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 16:12:54 +0000 (0:00:00.025) 0:01:08.353 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 16:12:55 +0000 (0:00:01.610) 0:01:09.963 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 16:12:55 +0000 (0:00:00.024) 0:01:09.987 ********* skipping: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 16:12:55 +0000 (0:00:00.025) 0:01:10.013 ********* skipping: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 16:12:55 +0000 (0:00:00.023) 0:01:10.036 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 16:12:55 +0000 (0:00:00.022) 0:01:10.059 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 16:12:55 +0000 (0:00:00.024) 0:01:10.083 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.023) 0:01:10.107 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.023) 0:01:10.130 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.023) 0:01:10.154 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.052) 0:01:10.206 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.047) 0:01:10.254 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.036) 0:01:10.291 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.036) 0:01:10.327 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.035) 0:01:10.363 ********* ok: [/cache/rhel-8-y.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/tmpafnwmbol/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.036) 0:01:10.399 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.034) 0:01:10.434 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.043) 0:01:10.477 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.034) 0:01:10.512 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.038) 0:01:10.551 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.045) 0:01:10.596 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.037) 0:01:10.634 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.067) 0:01:10.701 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.023) 0:01:10.725 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.035) 0:01:10.760 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.036) 0:01:10.797 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.041) 0:01:10.838 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.043) 0:01:10.882 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.042) 0:01:10.924 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.043) 0:01:10.967 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.039) 0:01:11.006 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.036) 0:01:11.043 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 16:12:56 +0000 (0:00:00.036) 0:01:11.079 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 16:12:57 +0000 (0:00:00.038) 0:01:11.117 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 16:12:57 +0000 (0:00:00.024) 0:01:11.141 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 16:12:57 +0000 (0:00:00.023) 0:01:11.165 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 16:12:57 +0000 (0:00:00.023) 0:01:11.189 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 16:12:57 +0000 (0:00:00.024) 0:01:11.214 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 16:12:57 +0000 (0:00:00.023) 0:01:11.237 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 16:12:57 +0000 (0:00:00.023) 0:01:11.261 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 16:12:57 +0000 (0:00:00.023) 0:01:11.284 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpafnwmbol/tests/test-verify-volume.yml:16 Thursday 21 July 2022 16:12:57 +0000 (0:00:00.024) 0:01:11.309 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:43 Thursday 21 July 2022 16:12:57 +0000 (0:00:00.032) 0:01:11.342 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpafnwmbol/tests/verify-role-results.yml:53 Thursday 21 July 2022 16:12:57 +0000 (0:00:00.021) 0:01:11.363 ********* ok: [/cache/rhel-8-y.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-8-y.qcow2.snap : ok=381 changed=4 unreachable=0 failed=0 skipped=322 rescued=0 ignored=0 Thursday 21 July 2022 16:12:57 +0000 (0:00:00.046) 0:01:11.410 ********* =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.31s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.13s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 2.00s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : make sure blivet is available -------------- 1.85s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.68s /tmp/tmpafnwmbol/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.67s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Ensure cryptsetup is present -------------------------------------------- 1.61s /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.45s /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.43s /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.40s /tmp/tmpafnwmbol/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : make sure required packages are installed --- 1.32s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Gathering Facts --------------------------------------------------------- 1.31s /tmp/tmpafnwmbol/tests/tests_remove_mount_scsi_generated.yml:3 ---------------- linux-system-roles.storage : Update facts ------------------------------- 1.03s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.03s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 1.00s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.96s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.94s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmpafnwmbol/tests/tests_remove_mount.yml:2 ------------------------------- linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.89s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 linux-system-roles.storage : get required packages ---------------------- 0.70s /tmp/tmpafnwmbol/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 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/tmpp_vyhrdp 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_remove_mount_scsi_generated.yml ******************************** 2 plays in /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount_scsi_generated.yml:3 Thursday 21 July 2022 19:53:20 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount_scsi_generated.yml:7 Thursday 21 July 2022 19:53:22 +0000 (0:00:01.319) 0:00:01.332 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:2 Thursday 21 July 2022 19:53:22 +0000 (0:00:00.045) 0:00:01.378 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:12 Thursday 21 July 2022 19:53:23 +0000 (0:00:00.959) 0:00:02.338 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:53:23 +0000 (0:00:00.037) 0:00:02.375 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:53:23 +0000 (0:00:00.032) 0:00:02.407 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:53:23 +0000 (0:00:00.523) 0:00:02.930 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:53:23 +0000 (0:00:00.055) 0:00:02.986 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:53:23 +0000 (0:00:00.029) 0:00:03.016 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:53:23 +0000 (0:00:00.028) 0:00:03.044 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:53:23 +0000 (0:00:00.052) 0:00:03.097 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:53:23 +0000 (0:00:00.016) 0:00:03.113 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:53:25 +0000 (0:00:01.821) 0:00:04.935 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:53:25 +0000 (0:00:00.033) 0:00:04.968 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:53:25 +0000 (0:00:00.031) 0:00:05.000 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:53:26 +0000 (0:00:00.735) 0:00:05.735 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 19:53:26 +0000 (0:00:00.047) 0:00:05.782 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 19:53:26 +0000 (0:00:00.030) 0:00:05.813 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 19:53:26 +0000 (0:00:00.036) 0:00:05.849 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:53:26 +0000 (0:00:00.032) 0:00:05.881 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:53:28 +0000 (0:00:01.401) 0:00:07.283 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "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-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "dbxtool.service": { "name": "dbxtool.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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.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" }, "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" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-convert.service": { "name": "nfs-convert.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" }, "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" }, "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" }, "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" }, "rhcd.service": { "name": "rhcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "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" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "running", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "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-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-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-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-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-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": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "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" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "vdo-start-by-dev@.service": { "name": "vdo-start-by-dev@.service", "source": "systemd", "state": "unknown", "status": "static" }, "vdo.service": { "name": "vdo.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:53:31 +0000 (0:00:02.917) 0:00:10.201 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:53:31 +0000 (0:00:00.058) 0:00:10.259 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:53:31 +0000 (0:00:00.020) 0:00:10.280 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:53:31 +0000 (0:00:00.546) 0:00:10.827 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:53:31 +0000 (0:00:00.034) 0:00:10.861 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:53:31 +0000 (0:00:00.022) 0:00:10.884 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:53:31 +0000 (0:00:00.035) 0:00:10.919 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:53:31 +0000 (0:00:00.039) 0:00:10.958 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:53:31 +0000 (0:00:00.036) 0:00:10.995 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:53:31 +0000 (0:00:00.039) 0:00:11.035 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:53:31 +0000 (0:00:00.024) 0:00:11.059 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:53:31 +0000 (0:00:00.035) 0:00:11.095 ********* skipping: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:53:32 +0000 (0:00:00.024) 0:00:11.120 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:53:32 +0000 (0:00:00.505) 0:00:11.625 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:53:32 +0000 (0:00:00.022) 0:00:11.648 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:15 Thursday 21 July 2022 19:53:33 +0000 (0:00:00.989) 0:00:12.637 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:22 Thursday 21 July 2022 19:53:33 +0000 (0:00:00.032) 0:00:12.670 ********* included: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml for /cache/rhel-8-y.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 19:53:33 +0000 (0:00:00.036) 0:00:12.706 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 19:53:34 +0000 (0:00:00.524) 0:00:13.230 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 19:53:34 +0000 (0:00:00.038) 0:00:13.268 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 19:53:34 +0000 (0:00:00.036) 0:00:13.305 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create a LVM logical volume mounted at "/opt/test1"] ********************* task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:27 Thursday 21 July 2022 19:53:34 +0000 (0:00:00.035) 0:00:13.340 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:53:34 +0000 (0:00:00.044) 0:00:13.385 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:53:34 +0000 (0:00:00.059) 0:00:13.444 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:53:34 +0000 (0:00:00.538) 0:00:13.982 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:53:34 +0000 (0:00:00.064) 0:00:14.047 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:53:34 +0000 (0:00:00.034) 0:00:14.081 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:53:35 +0000 (0:00:00.036) 0:00:14.117 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:53:35 +0000 (0:00:00.058) 0:00:14.176 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:53:35 +0000 (0:00:00.022) 0:00:14.198 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:53:35 +0000 (0:00:00.030) 0:00:14.229 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:53:35 +0000 (0:00:00.037) 0:00:14.266 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:53:35 +0000 (0:00:00.048) 0:00:14.315 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:53:35 +0000 (0:00:00.030) 0:00:14.345 ********* skipping: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:53:35 +0000 (0:00:00.030) 0:00:14.375 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:53:35 +0000 (0:00:00.027) 0:00:14.403 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:53:35 +0000 (0:00:00.027) 0:00:14.431 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:53:35 +0000 (0:00:00.059) 0:00:14.490 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:53:35 +0000 (0:00:00.024) 0:00:14.514 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:53:37 +0000 (0:00:02.099) 0:00:16.614 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:53:37 +0000 (0:00:00.038) 0:00:16.652 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:53:37 +0000 (0:00:00.023) 0:00:16.675 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:53:37 +0000 (0:00:00.073) 0:00:16.749 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:53:37 +0000 (0:00:00.066) 0:00:16.815 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:53:37 +0000 (0:00:00.036) 0:00:16.852 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:53:37 +0000 (0:00:00.037) 0:00:16.889 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:53:38 +0000 (0:00:00.900) 0:00:17.790 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:53:39 +0000 (0:00:00.575) 0:00:18.365 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:53:39 +0000 (0:00:00.654) 0:00:19.019 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:53:40 +0000 (0:00:00.395) 0:00:19.415 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:53:40 +0000 (0:00:00.021) 0:00:19.437 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:39 Thursday 21 July 2022 19:53:41 +0000 (0:00:01.004) 0:00:20.441 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:53:41 +0000 (0:00:00.041) 0:00:20.483 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:53:41 +0000 (0:00:00.047) 0:00:20.530 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:53:41 +0000 (0:00:00.033) 0:00:20.564 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "28e9e1a8-acfc-4db3-85ed-8f27310da286" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "eUmonl-bLuD-1jmj-OI0y-FLFq-8kuQ-dRUDya" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-53-08-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": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/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": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/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": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/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/tmpmnqeja9w/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:53:41 +0000 (0:00:00.491) 0:00:21.055 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003625", "end": "2022-07-21 15:53:42.011957", "rc": 0, "start": "2022-07-21 15:53:42.008332" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/vdb1 /var/cache/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,x-systemd.requires=cloud-init.service,_netdev,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:53:42 +0000 (0:00:00.509) 0:00:21.565 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003477", "end": "2022-07-21 15:53:42.424212", "failed_when_result": false, "rc": 1, "start": "2022-07-21 15:53:42.420735" } 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/tmpmnqeja9w/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:53:42 +0000 (0:00:00.411) 0:00:21.976 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml for /cache/rhel-8-y.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:53:42 +0000 (0:00:00.085) 0:00:22.061 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:53:42 +0000 (0:00:00.032) 0:00:22.094 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml for /cache/rhel-8-y.qcow2.snap => (item=members) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8-y.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:53:43 +0000 (0:00:00.046) 0:00:22.141 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:53:43 +0000 (0:00:00.063) 0:00:22.204 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:53:43 +0000 (0:00:00.490) 0:00:22.695 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:53:43 +0000 (0:00:00.047) 0:00:22.743 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:53:43 +0000 (0:00:00.050) 0:00:22.793 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:53:43 +0000 (0:00:00.050) 0:00:22.844 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:53:43 +0000 (0:00:00.035) 0:00:22.880 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:53:43 +0000 (0:00:00.047) 0:00:22.927 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:53:43 +0000 (0:00:00.023) 0:00:22.951 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:53:43 +0000 (0:00:00.038) 0:00:22.990 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml for /cache/rhel-8-y.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:53:43 +0000 (0:00:00.042) 0:00:23.032 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:53:43 +0000 (0:00:00.023) 0:00:23.056 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:53:43 +0000 (0:00:00.022) 0:00:23.079 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:53:43 +0000 (0:00:00.022) 0:00:23.102 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.025) 0:00:23.127 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.024) 0:00:23.152 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.022) 0:00:23.175 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.022) 0:00:23.197 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.033) 0:00:23.231 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.044) 0:00:23.275 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.043) 0:00:23.319 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.027) 0:00:23.346 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.026) 0:00:23.373 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.026) 0:00:23.400 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.044) 0:00:23.445 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.042) 0:00:23.488 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.055) 0:00:23.543 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.023) 0:00:23.567 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.025) 0:00:23.592 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.023) 0:00:23.616 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8-y.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.047) 0:00:23.664 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.047) 0:00:23.712 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.026) 0:00:23.739 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8-y.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.043) 0:00:23.782 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.047) 0:00:23.829 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.049) 0:00:23.878 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.034) 0:00:23.913 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.034) 0:00:23.948 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.034) 0:00:23.983 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.038) 0:00:24.021 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.032) 0:00:24.053 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:53:44 +0000 (0:00:00.047) 0:00:24.101 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.046) 0:00:24.147 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.026) 0:00:24.173 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.027) 0:00:24.201 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.025) 0:00:24.226 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.024) 0:00:24.251 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.025) 0:00:24.276 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.026) 0:00:24.303 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.024) 0:00:24.327 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.036) 0:00:24.363 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.034) 0:00:24.397 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.043) 0:00:24.440 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.047) 0:00:24.488 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.085) 0:00:24.573 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.042) 0:00:24.615 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "28e9e1a8-acfc-4db3-85ed-8f27310da286" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "28e9e1a8-acfc-4db3-85ed-8f27310da286" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.091) 0:00:24.707 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.114) 0:00:24.821 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.047) 0:00:24.869 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.050) 0:00:24.919 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.024) 0:00:24.943 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.024) 0:00:24.968 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.023) 0:00:24.991 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.033) 0:00:25.025 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:53:45 +0000 (0:00:00.060) 0:00:25.085 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:53:46 +0000 (0:00:00.047) 0:00:25.132 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:53:46 +0000 (0:00:00.048) 0:00:25.181 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:53:46 +0000 (0:00:00.034) 0:00:25.215 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:53:46 +0000 (0:00:00.035) 0:00:25.250 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:53:46 +0000 (0:00:00.036) 0:00:25.287 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:53:46 +0000 (0:00:00.038) 0:00:25.325 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658433217.0029159, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658433217.0029159, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 54387, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658433217.0029159, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:53:46 +0000 (0:00:00.387) 0:00:25.713 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:53:46 +0000 (0:00:00.037) 0:00:25.750 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:53:46 +0000 (0:00:00.041) 0:00:25.791 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:53:46 +0000 (0:00:00.036) 0:00:25.828 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:53:46 +0000 (0:00:00.024) 0:00:25.852 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:53:46 +0000 (0:00:00.036) 0:00:25.889 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:53:46 +0000 (0:00:00.024) 0:00:25.913 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:53:48 +0000 (0:00:01.357) 0:00:27.271 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.024) 0:00:27.295 ********* skipping: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.022) 0:00:27.318 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.051) 0:00:27.369 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.025) 0:00:27.394 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.024) 0:00:27.419 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.023) 0:00:27.442 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.026) 0:00:27.469 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.025) 0:00:27.495 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.082) 0:00:27.577 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.107) 0:00:27.685 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.036) 0:00:27.721 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.035) 0:00:27.756 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.036) 0:00:27.793 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.036) 0:00:27.829 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.035) 0:00:27.865 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.036) 0:00:27.901 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.039) 0:00:27.941 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.038) 0:00:27.980 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.036) 0:00:28.016 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.035) 0:00:28.052 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:53:48 +0000 (0:00:00.036) 0:00:28.088 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:53:49 +0000 (0:00:00.477) 0:00:28.566 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:53:49 +0000 (0:00:00.396) 0:00:28.962 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:53:49 +0000 (0:00:00.051) 0:00:29.014 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:53:49 +0000 (0:00:00.037) 0:00:29.052 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:53:49 +0000 (0:00:00.038) 0:00:29.091 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:53:50 +0000 (0:00:00.036) 0:00:29.127 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:53:50 +0000 (0:00:00.040) 0:00:29.167 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:53:50 +0000 (0:00:00.038) 0:00:29.206 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:53:50 +0000 (0:00:00.035) 0:00:29.242 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:53:50 +0000 (0:00:00.036) 0:00:29.279 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:53:50 +0000 (0:00:00.041) 0:00:29.320 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:53:50 +0000 (0:00:00.054) 0:00:29.375 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.035806", "end": "2022-07-21 15:53:50.241438", "rc": 0, "start": "2022-07-21 15:53:50.205632" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:53:50 +0000 (0:00:00.419) 0:00:29.794 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:53:50 +0000 (0:00:00.049) 0:00:29.843 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:53:50 +0000 (0:00:00.053) 0:00:29.897 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:53:50 +0000 (0:00:00.038) 0:00:29.936 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:53:50 +0000 (0:00:00.040) 0:00:29.976 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:53:50 +0000 (0:00:00.039) 0:00:30.016 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:53:50 +0000 (0:00:00.043) 0:00:30.060 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:53:51 +0000 (0:00:00.079) 0:00:30.139 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:53:51 +0000 (0:00:00.021) 0:00:30.160 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the mount location to ""] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:41 Thursday 21 July 2022 19:53:51 +0000 (0:00:00.076) 0:00:30.237 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:53:51 +0000 (0:00:00.104) 0:00:30.342 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:53:51 +0000 (0:00:00.037) 0:00:30.379 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:53:51 +0000 (0:00:00.539) 0:00:30.919 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:53:51 +0000 (0:00:00.062) 0:00:30.981 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:53:51 +0000 (0:00:00.036) 0:00:31.018 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:53:51 +0000 (0:00:00.038) 0:00:31.056 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:53:52 +0000 (0:00:00.058) 0:00:31.115 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:53:52 +0000 (0:00:00.021) 0:00:31.137 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:53:52 +0000 (0:00:00.028) 0:00:31.165 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:53:52 +0000 (0:00:00.040) 0:00:31.205 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:53:52 +0000 (0:00:00.035) 0:00:31.241 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:53:52 +0000 (0:00:00.031) 0:00:31.272 ********* skipping: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:53:52 +0000 (0:00:00.028) 0:00:31.300 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:53:52 +0000 (0:00:00.029) 0:00:31.330 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:53:52 +0000 (0:00:00.029) 0:00:31.359 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:53:52 +0000 (0:00:00.059) 0:00:31.419 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:53:52 +0000 (0:00:00.023) 0:00:31.442 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "e2fsprogs", "lvm2", "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:53:53 +0000 (0:00:01.634) 0:00:33.076 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:53:54 +0000 (0:00:00.039) 0:00:33.116 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:53:54 +0000 (0:00:00.024) 0:00:33.140 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [ { "path": "/opt/test1", "state": "absent" } ], "packages": [ "e2fsprogs", "lvm2", "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:53:54 +0000 (0:00:00.041) 0:00:33.181 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:53:54 +0000 (0:00:00.039) 0:00:33.221 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:53:54 +0000 (0:00:00.070) 0:00:33.292 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8-y.qcow2.snap] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:53:54 +0000 (0:00:00.428) 0:00:33.720 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:53:55 +0000 (0:00:00.667) 0:00:34.387 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:53:55 +0000 (0:00:00.040) 0:00:34.428 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:53:55 +0000 (0:00:00.640) 0:00:35.068 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:53:56 +0000 (0:00:00.375) 0:00:35.444 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:53:56 +0000 (0:00:00.023) 0:00:35.467 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:53 Thursday 21 July 2022 19:53:57 +0000 (0:00:01.007) 0:00:36.475 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:53:57 +0000 (0:00:00.054) 0:00:36.529 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:53:57 +0000 (0:00:00.056) 0:00:36.586 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:53:57 +0000 (0:00:00.038) 0:00:36.624 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "28e9e1a8-acfc-4db3-85ed-8f27310da286" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "eUmonl-bLuD-1jmj-OI0y-FLFq-8kuQ-dRUDya" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-53-08-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": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/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": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/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": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/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/tmpmnqeja9w/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:53:57 +0000 (0:00:00.388) 0:00:37.013 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003418", "end": "2022-07-21 15:53:57.846866", "rc": 0, "start": "2022-07-21 15:53:57.843448" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / 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/tmpmnqeja9w/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:53:58 +0000 (0:00:00.387) 0:00:37.400 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002898", "end": "2022-07-21 15:53:58.234452", "failed_when_result": false, "rc": 1, "start": "2022-07-21 15:53:58.231554" } 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/tmpmnqeja9w/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:53:58 +0000 (0:00:00.389) 0:00:37.790 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml for /cache/rhel-8-y.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:53:58 +0000 (0:00:00.060) 0:00:37.851 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:53:58 +0000 (0:00:00.082) 0:00:37.934 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml for /cache/rhel-8-y.qcow2.snap => (item=members) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8-y.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:53:58 +0000 (0:00:00.055) 0:00:37.989 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:53:58 +0000 (0:00:00.094) 0:00:38.084 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.410) 0:00:38.495 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.051) 0:00:38.546 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.051) 0:00:38.598 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.052) 0:00:38.650 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.039) 0:00:38.690 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.051) 0:00:38.741 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.024) 0:00:38.766 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.041) 0:00:38.808 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml for /cache/rhel-8-y.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.044) 0:00:38.852 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.027) 0:00:38.880 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.025) 0:00:38.905 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.023) 0:00:38.929 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.024) 0:00:38.954 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.026) 0:00:38.981 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.025) 0:00:39.006 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.024) 0:00:39.031 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.037) 0:00:39.069 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:53:59 +0000 (0:00:00.046) 0:00:39.115 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.044) 0:00:39.159 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.033) 0:00:39.193 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.030) 0:00:39.223 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.029) 0:00:39.252 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.049) 0:00:39.302 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.045) 0:00:39.348 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.025) 0:00:39.373 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.023) 0:00:39.396 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.023) 0:00:39.420 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.023) 0:00:39.443 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8-y.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.049) 0:00:39.493 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.079) 0:00:39.573 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.035) 0:00:39.609 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8-y.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.081) 0:00:39.690 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.050) 0:00:39.741 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.053) 0:00:39.795 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.038) 0:00:39.833 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.035) 0:00:39.869 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.034) 0:00:39.903 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.036) 0:00:39.940 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.034) 0:00:39.974 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.051) 0:00:40.025 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.049) 0:00:40.074 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:54:00 +0000 (0:00:00.023) 0:00:40.098 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.022) 0:00:40.121 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.023) 0:00:40.144 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.022) 0:00:40.167 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.022) 0:00:40.190 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.035) 0:00:40.226 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.026) 0:00:40.252 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.033) 0:00:40.285 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.034) 0:00:40.319 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.040) 0:00:40.360 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.048) 0:00:40.409 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.078) 0:00:40.488 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.052) 0:00:40.541 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.056) 0:00:40.597 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.026) 0:00:40.624 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.047) 0:00:40.672 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.041) 0:00:40.714 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.026) 0:00:40.740 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.025) 0:00:40.766 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.024) 0:00:40.790 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.038) 0:00:40.829 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.092) 0:00:40.922 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.088) 0:00:41.011 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:54:01 +0000 (0:00:00.103) 0:00:41.114 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:54:02 +0000 (0:00:00.038) 0:00:41.153 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:54:02 +0000 (0:00:00.038) 0:00:41.191 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:54:02 +0000 (0:00:00.040) 0:00:41.231 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:54:02 +0000 (0:00:00.037) 0:00:41.268 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658433217.0029159, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658433217.0029159, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 54387, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658433217.0029159, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:54:02 +0000 (0:00:00.393) 0:00:41.662 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:54:02 +0000 (0:00:00.039) 0:00:41.702 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:54:02 +0000 (0:00:00.040) 0:00:41.742 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:54:02 +0000 (0:00:00.037) 0:00:41.780 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:54:02 +0000 (0:00:00.024) 0:00:41.804 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:54:02 +0000 (0:00:00.039) 0:00:41.844 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:54:02 +0000 (0:00:00.026) 0:00:41.870 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:54:04 +0000 (0:00:01.358) 0:00:43.229 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.026) 0:00:43.255 ********* skipping: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.026) 0:00:43.282 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.064) 0:00:43.346 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.027) 0:00:43.373 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.026) 0:00:43.400 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.025) 0:00:43.426 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.025) 0:00:43.452 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.025) 0:00:43.477 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.056) 0:00:43.533 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.052) 0:00:43.585 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.038) 0:00:43.624 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.040) 0:00:43.664 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.037) 0:00:43.702 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.083) 0:00:43.786 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.039) 0:00:43.825 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.040) 0:00:43.866 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.037) 0:00:43.903 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.037) 0:00:43.941 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.040) 0:00:43.981 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:54:04 +0000 (0:00:00.102) 0:00:44.084 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:54:05 +0000 (0:00:00.037) 0:00:44.121 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:54:05 +0000 (0:00:00.381) 0:00:44.503 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:54:05 +0000 (0:00:00.387) 0:00:44.890 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:54:05 +0000 (0:00:00.051) 0:00:44.942 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:54:05 +0000 (0:00:00.036) 0:00:44.979 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:54:05 +0000 (0:00:00.039) 0:00:45.018 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:54:05 +0000 (0:00:00.037) 0:00:45.056 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:54:05 +0000 (0:00:00.037) 0:00:45.093 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:54:06 +0000 (0:00:00.035) 0:00:45.129 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:54:06 +0000 (0:00:00.041) 0:00:45.171 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:54:06 +0000 (0:00:00.038) 0:00:45.210 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:54:06 +0000 (0:00:00.038) 0:00:45.248 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:54:06 +0000 (0:00:00.056) 0:00:45.305 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.035043", "end": "2022-07-21 15:54:06.167398", "rc": 0, "start": "2022-07-21 15:54:06.132355" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:54:06 +0000 (0:00:00.418) 0:00:45.723 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:54:06 +0000 (0:00:00.052) 0:00:45.776 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:54:06 +0000 (0:00:00.054) 0:00:45.830 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:54:06 +0000 (0:00:00.040) 0:00:45.871 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:54:06 +0000 (0:00:00.039) 0:00:45.910 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:54:06 +0000 (0:00:00.036) 0:00:45.947 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:54:06 +0000 (0:00:00.039) 0:00:45.987 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:54:06 +0000 (0:00:00.036) 0:00:46.023 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:54:06 +0000 (0:00:00.023) 0:00:46.046 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:55 Thursday 21 July 2022 19:54:06 +0000 (0:00:00.034) 0:00:46.081 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:54:07 +0000 (0:00:00.051) 0:00:46.132 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:54:07 +0000 (0:00:00.037) 0:00:46.169 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:54:07 +0000 (0:00:00.575) 0:00:46.745 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:54:07 +0000 (0:00:00.098) 0:00:46.843 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:54:07 +0000 (0:00:00.099) 0:00:46.942 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:54:07 +0000 (0:00:00.035) 0:00:46.977 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:54:07 +0000 (0:00:00.067) 0:00:47.044 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:54:07 +0000 (0:00:00.025) 0:00:47.070 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:54:07 +0000 (0:00:00.030) 0:00:47.100 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:54:08 +0000 (0:00:00.040) 0:00:47.141 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:54:08 +0000 (0:00:00.040) 0:00:47.182 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:54:08 +0000 (0:00:00.033) 0:00:47.215 ********* skipping: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:54:08 +0000 (0:00:00.027) 0:00:47.242 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:54:08 +0000 (0:00:00.026) 0:00:47.269 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:54:08 +0000 (0:00:00.026) 0:00:47.296 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:54:08 +0000 (0:00:00.056) 0:00:47.352 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:54:08 +0000 (0:00:00.024) 0:00:47.376 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "xfsprogs", "lvm2", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:54:09 +0000 (0:00:01.655) 0:00:49.032 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:54:09 +0000 (0:00:00.039) 0:00:49.072 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:54:09 +0000 (0:00:00.024) 0:00:49.096 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf" ], "mounts": [], "packages": [ "xfsprogs", "lvm2", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:54:10 +0000 (0:00:00.040) 0:00:49.137 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:54:10 +0000 (0:00:00.042) 0:00:49.180 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:54:10 +0000 (0:00:00.037) 0:00:49.217 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:54:10 +0000 (0:00:00.034) 0:00:49.252 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:54:10 +0000 (0:00:00.024) 0:00:49.276 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:54:10 +0000 (0:00:00.038) 0:00:49.315 ********* skipping: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:54:10 +0000 (0:00:00.023) 0:00:49.339 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:54:10 +0000 (0:00:00.388) 0:00:49.728 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:54:10 +0000 (0:00:00.025) 0:00:49.753 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:67 Thursday 21 July 2022 19:54:11 +0000 (0:00:01.034) 0:00:50.788 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:54:11 +0000 (0:00:00.077) 0:00:50.865 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:54:11 +0000 (0:00:00.052) 0:00:50.918 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:54:11 +0000 (0:00:00.038) 0:00:50.956 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "28e9e1a8-acfc-4db3-85ed-8f27310da286" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "eUmonl-bLuD-1jmj-OI0y-FLFq-8kuQ-dRUDya" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-53-08-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": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/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": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/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": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/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/tmpmnqeja9w/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:54:12 +0000 (0:00:00.398) 0:00:51.355 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002848", "end": "2022-07-21 15:54:12.189045", "rc": 0, "start": "2022-07-21 15:54:12.186197" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / 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/tmpmnqeja9w/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:54:12 +0000 (0:00:00.386) 0:00:51.741 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003501", "end": "2022-07-21 15:54:12.563826", "failed_when_result": false, "rc": 1, "start": "2022-07-21 15:54:12.560325" } 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/tmpmnqeja9w/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:54:13 +0000 (0:00:00.376) 0:00:52.117 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml for /cache/rhel-8-y.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:54:13 +0000 (0:00:00.060) 0:00:52.178 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:54:13 +0000 (0:00:00.038) 0:00:52.216 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml for /cache/rhel-8-y.qcow2.snap => (item=members) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8-y.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:54:13 +0000 (0:00:00.047) 0:00:52.263 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:54:13 +0000 (0:00:00.056) 0:00:52.319 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:54:13 +0000 (0:00:00.381) 0:00:52.701 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:54:13 +0000 (0:00:00.049) 0:00:52.750 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:54:13 +0000 (0:00:00.050) 0:00:52.800 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:54:13 +0000 (0:00:00.047) 0:00:52.848 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:54:13 +0000 (0:00:00.043) 0:00:52.891 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:54:13 +0000 (0:00:00.059) 0:00:52.951 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:54:13 +0000 (0:00:00.025) 0:00:52.976 ********* ok: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:54:13 +0000 (0:00:00.083) 0:00:53.060 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml for /cache/rhel-8-y.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.082) 0:00:53.142 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.027) 0:00:53.170 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.023) 0:00:53.194 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.024) 0:00:53.218 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.022) 0:00:53.241 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.022) 0:00:53.264 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.023) 0:00:53.287 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.024) 0:00:53.311 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.034) 0:00:53.345 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.044) 0:00:53.390 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.043) 0:00:53.433 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.026) 0:00:53.459 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.025) 0:00:53.485 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.026) 0:00:53.511 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.047) 0:00:53.558 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.044) 0:00:53.603 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.024) 0:00:53.628 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.025) 0:00:53.653 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.024) 0:00:53.677 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.026) 0:00:53.704 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8-y.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.048) 0:00:53.753 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.050) 0:00:53.803 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.026) 0:00:53.830 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8-y.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.043) 0:00:53.873 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.049) 0:00:53.923 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.050) 0:00:53.973 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.034) 0:00:54.008 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.038) 0:00:54.047 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:54:14 +0000 (0:00:00.036) 0:00:54.083 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.034) 0:00:54.118 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.034) 0:00:54.152 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.051) 0:00:54.203 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.044) 0:00:54.247 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.053) 0:00:54.301 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.024) 0:00:54.325 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.023) 0:00:54.349 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.023) 0:00:54.372 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.028) 0:00:54.400 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.025) 0:00:54.426 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.026) 0:00:54.452 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.037) 0:00:54.489 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.039) 0:00:54.529 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.044) 0:00:54.573 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.051) 0:00:54.624 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.080) 0:00:54.705 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.039) 0:00:54.745 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.056) 0:00:54.801 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.023) 0:00:54.825 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.053) 0:00:54.878 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.041) 0:00:54.919 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.026) 0:00:54.946 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.025) 0:00:54.972 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.030) 0:00:55.002 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.041) 0:00:55.043 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:54:15 +0000 (0:00:00.067) 0:00:55.110 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:54:16 +0000 (0:00:00.054) 0:00:55.165 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:54:16 +0000 (0:00:00.052) 0:00:55.218 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:54:16 +0000 (0:00:00.040) 0:00:55.258 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:54:16 +0000 (0:00:00.039) 0:00:55.298 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:54:16 +0000 (0:00:00.045) 0:00:55.343 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:54:16 +0000 (0:00:00.042) 0:00:55.386 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1658433217.0029159, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658433217.0029159, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 54387, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658433217.0029159, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:54:16 +0000 (0:00:00.387) 0:00:55.773 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:54:16 +0000 (0:00:00.042) 0:00:55.816 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:54:16 +0000 (0:00:00.040) 0:00:55.856 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:54:16 +0000 (0:00:00.079) 0:00:55.935 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:54:16 +0000 (0:00:00.023) 0:00:55.959 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:54:16 +0000 (0:00:00.112) 0:00:56.072 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:54:16 +0000 (0:00:00.023) 0:00:56.096 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:54:18 +0000 (0:00:01.353) 0:00:57.449 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.025) 0:00:57.475 ********* skipping: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.023) 0:00:57.498 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.054) 0:00:57.553 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.025) 0:00:57.578 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.025) 0:00:57.604 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.025) 0:00:57.629 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.023) 0:00:57.653 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.026) 0:00:57.680 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.050) 0:00:57.730 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.047) 0:00:57.778 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.036) 0:00:57.815 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.037) 0:00:57.853 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.038) 0:00:57.891 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.038) 0:00:57.929 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.038) 0:00:57.968 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.035) 0:00:58.003 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.035) 0:00:58.039 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.038) 0:00:58.077 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:54:18 +0000 (0:00:00.037) 0:00:58.115 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:54:19 +0000 (0:00:00.036) 0:00:58.151 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:54:19 +0000 (0:00:00.036) 0:00:58.188 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:54:19 +0000 (0:00:00.414) 0:00:58.603 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:54:19 +0000 (0:00:00.393) 0:00:58.996 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:54:19 +0000 (0:00:00.085) 0:00:59.082 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:54:20 +0000 (0:00:00.096) 0:00:59.178 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:54:20 +0000 (0:00:00.037) 0:00:59.215 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:54:20 +0000 (0:00:00.036) 0:00:59.252 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:54:20 +0000 (0:00:00.035) 0:00:59.287 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:54:20 +0000 (0:00:00.040) 0:00:59.327 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:54:20 +0000 (0:00:00.035) 0:00:59.363 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:54:20 +0000 (0:00:00.036) 0:00:59.399 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:54:20 +0000 (0:00:00.039) 0:00:59.439 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:54:20 +0000 (0:00:00.057) 0:00:59.497 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.034733", "end": "2022-07-21 15:54:20.364558", "rc": 0, "start": "2022-07-21 15:54:20.329825" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-a----- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:54:20 +0000 (0:00:00.418) 0:00:59.916 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:54:20 +0000 (0:00:00.050) 0:00:59.966 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:54:20 +0000 (0:00:00.049) 0:01:00.016 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:54:20 +0000 (0:00:00.040) 0:01:00.057 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:54:20 +0000 (0:00:00.037) 0:01:00.094 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:54:21 +0000 (0:00:00.040) 0:01:00.135 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:54:21 +0000 (0:00:00.039) 0:01:00.174 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:54:21 +0000 (0:00:00.037) 0:01:00.212 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:54:21 +0000 (0:00:00.024) 0:01:00.236 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:69 Thursday 21 July 2022 19:54:21 +0000 (0:00:00.044) 0:01:00.281 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:54:21 +0000 (0:00:00.070) 0:01:00.352 ********* included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:54:21 +0000 (0:00:00.037) 0:01:00.389 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:54:21 +0000 (0:00:00.529) 0:01:00.919 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:54:21 +0000 (0:00:00.065) 0:01:00.985 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:54:21 +0000 (0:00:00.039) 0:01:01.024 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:54:21 +0000 (0:00:00.036) 0:01:01.060 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:54:22 +0000 (0:00:00.056) 0:01:01.117 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:54:22 +0000 (0:00:00.068) 0:01:01.185 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:54:22 +0000 (0:00:00.031) 0:01:01.216 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:54:22 +0000 (0:00:00.042) 0:01:01.259 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:54:22 +0000 (0:00:00.039) 0:01:01.298 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:54:22 +0000 (0:00:00.031) 0:01:01.329 ********* skipping: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:54:22 +0000 (0:00:00.028) 0:01:01.358 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:54:22 +0000 (0:00:00.028) 0:01:01.386 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:54:22 +0000 (0:00:00.027) 0:01:01.414 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:54:22 +0000 (0:00:00.057) 0:01:01.472 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:54:22 +0000 (0:00:00.021) 0:01:01.493 ********* changed: [/cache/rhel-8-y.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/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": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:54:24 +0000 (0:00:02.176) 0:01:03.670 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:54:24 +0000 (0:00:00.038) 0:01:03.708 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:54:24 +0000 (0:00:00.022) 0:01:03.731 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/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": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:54:24 +0000 (0:00:00.042) 0:01:03.773 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:54:24 +0000 (0:00:00.040) 0:01:03.813 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:54:24 +0000 (0:00:00.042) 0:01:03.856 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:54:24 +0000 (0:00:00.036) 0:01:03.892 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:54:24 +0000 (0:00:00.025) 0:01:03.918 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:54:24 +0000 (0:00:00.038) 0:01:03.956 ********* skipping: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:54:24 +0000 (0:00:00.028) 0:01:03.985 ********* ok: [/cache/rhel-8-y.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/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:54:25 +0000 (0:00:00.394) 0:01:04.379 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:54:25 +0000 (0:00:00.024) 0:01:04.404 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:82 Thursday 21 July 2022 19:54:26 +0000 (0:00:01.100) 0:01:05.504 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml for /cache/rhel-8-y.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:54:26 +0000 (0:00:00.048) 0:01:05.553 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:54:26 +0000 (0:00:00.082) 0:01:05.635 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:54:26 +0000 (0:00:00.097) 0:01:05.732 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-19-53-08-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": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "58dca2db-4ccd-4171-a017-dd53ad8c1c54" }, "/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": "4d1ed9a1-5608-4ff8-ad89-21d95caa66fa" }, "/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": "a7abcc97-edc5-476c-8ccd-694b4621fd28" }, "/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/tmpmnqeja9w/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:54:27 +0000 (0:00:00.393) 0:01:06.126 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004303", "end": "2022-07-21 15:54:27.957550", "rc": 0, "start": "2022-07-21 15:54:26.953247" } STDOUT: UUID=58dca2db-4ccd-4171-a017-dd53ad8c1c54 / 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/tmpmnqeja9w/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:54:28 +0000 (0:00:01.393) 0:01:07.519 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002728", "end": "2022-07-21 15:54:28.347978", "failed_when_result": false, "rc": 1, "start": "2022-07-21 15:54:28.345250" } 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/tmpmnqeja9w/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:54:28 +0000 (0:00:00.382) 0:01:07.901 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml for /cache/rhel-8-y.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:54:28 +0000 (0:00:00.066) 0:01:07.968 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:54:28 +0000 (0:00:00.036) 0:01:08.004 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml for /cache/rhel-8-y.qcow2.snap => (item=members) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8-y.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:54:28 +0000 (0:00:00.049) 0:01:08.054 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:54:28 +0000 (0:00:00.053) 0:01:08.107 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.022) 0:01:08.130 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.052) 0:01:08.183 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.051) 0:01:08.235 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.053) 0:01:08.288 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.048) 0:01:08.337 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.054) 0:01:08.392 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.025) 0:01:08.417 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.023) 0:01:08.441 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml for /cache/rhel-8-y.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.043) 0:01:08.484 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.023) 0:01:08.507 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.026) 0:01:08.533 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.023) 0:01:08.557 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.024) 0:01:08.582 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.024) 0:01:08.606 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.024) 0:01:08.631 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.067) 0:01:08.698 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.036) 0:01:08.735 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.046) 0:01:08.782 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.046) 0:01:08.828 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.027) 0:01:08.856 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.029) 0:01:08.886 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.029) 0:01:08.916 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.044) 0:01:08.960 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.043) 0:01:09.004 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.023) 0:01:09.027 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.024) 0:01:09.052 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.024) 0:01:09.076 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:54:29 +0000 (0:00:00.023) 0:01:09.100 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8-y.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.048) 0:01:09.148 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.052) 0:01:09.200 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.023) 0:01:09.223 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.022) 0:01:09.246 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.036) 0:01:09.283 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8-y.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.050) 0:01:09.333 ********* included: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.056) 0:01:09.390 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.027) 0:01:09.418 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.029) 0:01:09.447 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.029) 0:01:09.476 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.028) 0:01:09.505 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.029) 0:01:09.534 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.024) 0:01:09.559 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.023) 0:01:09.582 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.038) 0:01:09.621 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.035) 0:01:09.657 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml for /cache/rhel-8-y.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '', 'name': 'test1', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.045) 0:01:09.702 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.054) 0:01:09.756 ********* included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8-y.qcow2.snap => (item=mount) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8-y.qcow2.snap => (item=fstab) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8-y.qcow2.snap => (item=fs) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml for /cache/rhel-8-y.qcow2.snap => (item=device) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8-y.qcow2.snap => (item=encryption) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml for /cache/rhel-8-y.qcow2.snap => (item=md) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml for /cache/rhel-8-y.qcow2.snap => (item=size) included: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8-y.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.123) 0:01:09.879 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.043) 0:01:09.923 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.058) 0:01:09.981 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.025) 0:01:10.007 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.048) 0:01:10.055 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:54:30 +0000 (0:00:00.035) 0:01:10.091 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.026) 0:01:10.117 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.026) 0:01:10.143 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.025) 0:01:10.169 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.037) 0:01:10.206 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.062) 0:01:10.268 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.024) 0:01:10.293 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.050) 0:01:10.343 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.034) 0:01:10.378 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.036) 0:01:10.415 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.023) 0:01:10.438 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.024) 0:01:10.463 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.373) 0:01:10.836 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.040) 0:01:10.877 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.025) 0:01:10.902 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.037) 0:01:10.940 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.025) 0:01:10.966 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.025) 0:01:10.991 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:54:31 +0000 (0:00:00.035) 0:01:11.027 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:54:33 +0000 (0:00:01.398) 0:01:12.425 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:54:33 +0000 (0:00:00.026) 0:01:12.452 ********* skipping: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:54:33 +0000 (0:00:00.025) 0:01:12.478 ********* skipping: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:54:33 +0000 (0:00:00.025) 0:01:12.503 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:54:33 +0000 (0:00:00.027) 0:01:12.531 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:54:33 +0000 (0:00:00.025) 0:01:12.556 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:54:33 +0000 (0:00:00.023) 0:01:12.580 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:54:33 +0000 (0:00:00.022) 0:01:12.603 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:54:33 +0000 (0:00:00.023) 0:01:12.627 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:54:33 +0000 (0:00:00.083) 0:01:12.710 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:54:33 +0000 (0:00:00.093) 0:01:12.804 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:54:33 +0000 (0:00:00.097) 0:01:12.902 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:54:33 +0000 (0:00:00.036) 0:01:12.938 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:54:33 +0000 (0:00:00.035) 0:01:12.974 ********* ok: [/cache/rhel-8-y.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/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:54:33 +0000 (0:00:00.037) 0:01:13.012 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:54:33 +0000 (0:00:00.035) 0:01:13.047 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:54:33 +0000 (0:00:00.034) 0:01:13.081 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.038) 0:01:13.120 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.038) 0:01:13.158 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.035) 0:01:13.193 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.035) 0:01:13.229 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.035) 0:01:13.265 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.025) 0:01:13.290 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.037) 0:01:13.327 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.038) 0:01:13.366 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.044) 0:01:13.410 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.059) 0:01:13.469 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.039) 0:01:13.509 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.038) 0:01:13.548 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.038) 0:01:13.587 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.042) 0:01:13.629 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.038) 0:01:13.668 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.038) 0:01:13.706 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.025) 0:01:13.732 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.026) 0:01:13.758 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.024) 0:01:13.783 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.025) 0:01:13.808 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.026) 0:01:13.835 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.027) 0:01:13.862 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.026) 0:01:13.889 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmnqeja9w/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.026) 0:01:13.915 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.039) 0:01:13.955 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.025) 0:01:13.980 ********* ok: [/cache/rhel-8-y.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-8-y.qcow2.snap : ok=381 changed=4 unreachable=0 failed=0 skipped=322 rescued=0 ignored=0 Thursday 21 July 2022 19:54:34 +0000 (0:00:00.048) 0:01:14.028 ********* =============================================================================== fedora.linux_system_roles.storage : get service facts ------------------- 2.92s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.18s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.10s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : make sure blivet is available ------- 1.82s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.66s /tmp/tmpp_vyhrdp/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.63s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : make sure required packages are installed --- 1.40s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 1.40s /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 ----------- Read the /etc/fstab file for volume existence --------------------------- 1.39s /tmp/tmpmnqeja9w/tests/storage/verify-role-results.yml:19 --------------------- Ensure cryptsetup is present -------------------------------------------- 1.36s /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.36s /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.35s /tmp/tmpmnqeja9w/tests/storage/test-verify-volume-encryption.yml:10 ----------- Gathering Facts --------------------------------------------------------- 1.32s /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount_scsi_generated.yml:3 -------- fedora.linux_system_roles.storage : Update facts ------------------------ 1.10s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 1.03s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 1.01s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 1.00s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.99s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmpmnqeja9w/tests/storage/tests_remove_mount.yml:2 ----------------------- fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.90s /tmp/tmpp_vyhrdp/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132